| Name | CVE-2026-57204 |
| Description | 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1141339 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| pypdf (PTS) | bookworm | 3.4.1-1+deb12u1 | vulnerable |
| trixie | 5.4.0-1 | vulnerable | |
| forky, sid | 6.9.2-2 | vulnerable | |
| pypdf2 (PTS) | bullseye | 1.26.0-4+deb11u1 | vulnerable |
| bookworm | 2.12.1-3+deb12u1 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| pypdf | source | (unstable) | (unfixed) | 1141339 | ||
| pypdf2 | source | (unstable) | (unfixed) |
[trixie] - pypdf <no-dsa> (Minor issue)
[bookworm] - pypdf <postponed> (Minor issue)
[bookworm] - pypdf2 <postponed> (Minor issue)
[bullseye] - pypdf2 <postponed> (Minor issue)
https://github.com/py-pdf/pypdf/security/advisories/GHSA-jm82-fx9c-mx94
https://github.com/py-pdf/pypdf/pull/3871
Fixed by: https://github.com/py-pdf/pypdf/commit/bbd083d1196d276d9c542418f77ac49e06de3ff1 (6.13.3)