CVE-2025-66019 json
pypdf manipulated LZWDecode streams can exhaust RAM
published 2025-11-24 11 mo ago modified 2026-10-19 20 d ago also EUVD-2025-199017 , GHSA-m449-cwjh-6pw7 , PYSEC-2026-1832
- cvss
- 6.6
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 33%
- public exploits
- 0
- none known
Summary
pypdf is a free and open-source pure-python PDF library. Prior to version 6.4.0, an attacker who uses this vulnerability can craft a PDF which leads to a memory usage of up to 1 GB per stream. This requires parsing the content stream of a page using the LZWDecode filter. This issue has been patched in version 6.4.0.
Patch / fix
- pypi pypdf 6.4.0
- py-pdf pypdf 6.4.0
- pypdf2_project pypdf2 6.4.0
- pypdf_project pypdf 6.4.0
- python-pypdf openSUSE Tumbleweed 6.4.0-1.1
opensuse advisories openSUSE-SU-2025:15776-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-66019 updated cvss 5.3
pypdf: pypdf manipulated LZWDecode streams can exhaust RAM
-
Red Hat OpenShift Lightspeed openshift-lightspeed/lightspeed-ocp-rag-rhel9, openshift-lightspeed/lightspeed-service-api-rhel9, openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9 Red Hat Ansible Automation Platform 2 ansible-automation-platform/ee-minimal-rhel8, ansible-automation-platform/ee-minimal-rhel9, ansible-automation-platform-24/de-minimal-rhel8, ansible-automation-platform-24/de-minimal-rhel9, ansible-automation-platform-24/ee-minimal-rhel8, ansible-automation-platform-24/ee-minimal-rhel9, +23 more Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-cuda-rhel9, rhelai3/disk-image-cuda-rhel9 Red Hat OpenShift AI (RHOAI) rhoai/odh-llama-stack-core-rhel9affected: workaround, no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 11 mo ago
Exploit prediction
0.39% chance of exploitation in the next 30 days, higher than 33% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.6 | 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 | 4.0 | 6.6 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | pypdf | <6.4.0 |
6.4.0 |
Affected products
- py-pdf pypdf
Classification
References
-
github.com
/py-pdf/pypdf/commit/96186725e5e6f237129a58a97cd19204a9ce40b2
web
-
github.com
/py-pdf/pypdf/security/advisories/GHSA-m449-cwjh-6pw7
web
-
github.com
/py-pdf/pypdf/releases/tag/6.4.0
web
- aydinnyunus.github.io /2025/12/20/cve-2025-66019-pypdf-lzw-dos/
-
github.com
/py-pdf/pypdf/security/advisories/GHSA-jfx9-29x2-rv3j
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-66019
advisory
-
aydinnyunus.github.io
/2025/12/20/cve-2025-66019-pypdf-lzw-dos
web
-
github.com
/py-pdf/pypdf
package
-
pypi.org
/project/pypdf
package
-
github.com
/advisories/GHSA-m449-cwjh-6pw7
advisory
Sources
- CVE List CVE-2025-66019
- GitHub Advisory GHSA-m449-cwjh-6pw7
- NVD CVE-2025-66019
- OSV PYSEC-2026-1832
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.