CVE-2026-102997: pypdf is a free and open-source pure-python PDF library
CVE-2026-102997 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 6.18.1, a crafted PDF containing a partially malformed /FlateDecode stream with padded data can force pypdf/filters.py to use inefficient byte-by-byte decompression while the earlier recovery counter fails to advance for bytes that successfully decode, causing long runtimes and application unavailability. This is a residual issue after the malformed FlateDecode recovery fix. This i
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-10-05 · 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-102997?
pypdf: upgrade to 6.18.1. Exact commands for each OS are on this page.
Is CVE-2026-102997 being exploited?
CVE-2026-102997 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-102997 affect?
CVE-2026-102997 affects pypdf. Severity is high (CVSS 7.5). pypdf is a free and open-source pure-python PDF library. Prior to 6.18.1, a crafted PDF containing a partially malformed /FlateDecode stream with padded data can force pypdf/filters.py to use inefficient byte-by-byte decompression while the
How urgent is CVE-2026-102997?
Priority 38/100. High severity; Remotely exploitable, no login, no user action
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