#1141339 pypdf: CVE-2026-57204

Package:
src:pypdf
Source:
src:pypdf
Submitter:
Salvatore Bonaccorso
Date:
2026-07-03 05:59:02 UTC
Severity:
normal
Tags:
#1141339#5
Date:
2026-07-03 05:57:01 UTC
From:
To:
Hi,

The following vulnerability was published for pypdf.

CVE-2026-57204[0]:
| pypdf is a free and open-source pure-python PDF library. Prior to
| 6.13.3, a maliciously crafted PDF can cause DoS. An attacker who
| uses this vulnerability can craft a PDF which leads to large memory
| usage, as MAX_DECLARED_STREAM_LENGTH is sometimes ignored. This
| requires parsing a content stream without a /Length value. This
| issue has been fixed in version 6.13.3.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-57204
https://www.cve.org/CVERecord?id=CVE-2026-57204
[1] https://github.com/py-pdf/pypdf/pull/3871
[2] https://github.com/py-pdf/pypdf/security/advisories/GHSA-jm82-fx9c-mx94
[3] https://github.com/py-pdf/pypdf/commit/bbd083d1196d276d9c542418f77ac49e06de3ff1

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore