Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
The pypdf package before 6.4.0 can be made to use up to 1 GB of memory per stream when parsing a page's content stream that uses the LZWDecode filter. An attacker can do this by supplying a crafted PDF, which can exhaust RAM. Upgrade pypdf to 6.4.0 or later. The source gives a workaround that involves changing a default limit in code, but it is not described in detail here.
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.0039, the 33rd percentile, on 6 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:34 UTC First seen by agentprime
- 31 Oct 2026, 14:34 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-m449-cwjh-6pw7
- OSV: GHSA-m449-cwjh-6pw7
- github.com/py-pdf/pypdf/security/advisories/GHSA-jfx9-29x2-rv3j
- github.com/py-pdf/pypdf/security/advisories/GHSA-m449-cwjh-6pw7
- nvd.nist.gov/vuln/detail/CVE-2025-66019
- github.com/py-pdf/pypdf/commit/96186725e5e6f237129a58a97cd19204a9ce40b2
- aydinnyunus.github.io/2025/12/20/cve-2025-66019-pypdf-lzw-dos
- github.com/py-pdf/pypdf
- github.com/py-pdf/pypdf/releases/tag/6.4.0