Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
pypdf versions before 6.0.0 are vulnerable to RAM exhaustion. An attacker who supplies a crafted PDF can exhaust memory just by having it read, through a malicious cross-reference stream that uses a series of FlateDecode filters, and other content streams are affected when explicitly accessed. Upgrade to pypdf 6.0.0 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 6.6 | Medium | 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0054, the 46th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 13 Aug 2025, 23:15 UTC Confirmed by NVD
- 31 Oct 2026, 14:34 UTC First seen by agentprime
- 31 Oct 2026, 14:34 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-7hfw-26vp-jp8m
- OSV: GHSA-7hfw-26vp-jp8m
- github.com/py-pdf/pypdf/security/advisories/GHSA-7hfw-26vp-jp8m
- nvd.nist.gov/vuln/detail/CVE-2025-55197
- github.com/py-pdf/pypdf/issues/3429
- github.com/py-pdf/pypdf/pull/3430
- github.com/py-pdf/pypdf
- github.com/py-pdf/pypdf/blob/0dd57738bbdcdb63f0fb43d8a6b3d222b6946595/pypdf/filters.py#L72-L143
- github.com/py-pdf/pypdf/releases/tag/6.0.0