CVE-2026-57204: pypdf is a free and open-source pure-python PDF library
CVE-2026-57204 is a medium-severity flaw (CVSS 6.5) affecting pypdf. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.5 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.4% (top 70%) |
| CISA exploited list | No |
| Weakness | CWE-400 |
| Published | 2026-06-30 |
| Last modified | 2026-10-25 |
Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-57204?
pypdf: upgrade to 6.13.3. Exact commands for each OS are on this page.
Is CVE-2026-57204 being exploited?
CVE-2026-57204 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-57204 affect?
CVE-2026-57204 affects pypdf. Severity is medium (CVSS 6.5). 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 s
How urgent is CVE-2026-57204?
Priority 30/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2026-49461 MEDIUM 5.5 UPGRADE pypdf is a free and open-source pure-python PDF library
- CVE-2026-54530 MEDIUM 5.5 UPGRADE pypdf is a free and open-source pure-python PDF library
- CVE-2026-54531 MEDIUM 5.5 UPGRADE pypdf is a free and open-source pure-python PDF library
- CVE-2026-54651 MEDIUM 5.5 UPGRADE pypdf is a free and open-source pure-python PDF library
- CVE-2026-49460 LOW 3.3 UPGRADE pypdf is a free and open-source pure-python PDF library