CVE-2025-55197: pypdf is a free and open-source pure-python PDF library
CVE-2025-55197 is a high-severity flaw (CVSS 7.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 version 6.0.0, an attacker can craft a PDF which leads to the RAM being exhausted. This requires just reading the file if a series of FlateDecode filters is used on a malicious cross-reference stream. Other content streams are affected on explicit access. This issue has been fixed in 6.0.0. If an update is not possible, a workaround involves including the fixed code from pypdf.filt
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-11-02 · 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-2025-55197?
pypdf: upgrade to 6.0.0. Exact commands for each OS are on this page.
Is CVE-2025-55197 being exploited?
CVE-2025-55197 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-2025-55197 affect?
CVE-2025-55197 affects pypdf. Severity is high (CVSS 7.5). pypdf is a free and open-source pure-python PDF library. Prior to version 6.0.0, an attacker can craft a PDF which leads to the RAM being exhausted. This requires just reading the file if a series of FlateDecode filters is used on a malicio
How urgent is CVE-2025-55197?
Priority 42/100. High severity; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-59937 HIGH 7.5 UPGRADE pypdf is a free and open-source pure-python PDF library
- CVE-2026-59935 HIGH 7.5 UPGRADE pypdf is a free and open-source pure-python PDF library
- CVE-2026-59936 HIGH 7.5 UPGRADE pypdf is a free and open-source pure-python PDF library
- CVE-2026-33699 HIGH 7.5 UPGRADE pypdf is a free and open-source pure-python PDF library
- CVE-2025-62707 HIGH 7.5 UPGRADE pypdf is a free and open-source pure-python PDF library