CVE-2025-66019
published medium CVSS 4.0 · 6.6pypdf manipulated LZWDecode streams can exhaust RAM
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| py-pdf | — | pypdf< 6.4.0 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pypdfaarch64 | Advisory build | 6.4.0-1.1 | OPENSUSE-SU-2025:15776-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pypdfppc64le | Advisory build | 6.4.0-1.1 | OPENSUSE-SU-2025:15776-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pypdfs390x | Advisory build | 6.4.0-1.1 | OPENSUSE-SU-2025:15776-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pypdfx86_64 | Advisory build | 6.4.0-1.1 | OPENSUSE-SU-2025:15776-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-pypdfaarch64 | Advisory build | 6.4.0-1.1 | OPENSUSE-SU-2025:15776-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-pypdfppc64le | Advisory build | 6.4.0-1.1 | OPENSUSE-SU-2025:15776-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-pypdfs390x | Advisory build | 6.4.0-1.1 | OPENSUSE-SU-2025:15776-1 |
Show 5 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-pypdfx86_64 | Advisory build | 6.4.0-1.1 | OPENSUSE-SU-2025:15776-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pypdfaarch64 | Advisory build | 6.4.0-1.1 | OPENSUSE-SU-2025:15776-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pypdfppc64le | Advisory build | 6.4.0-1.1 | OPENSUSE-SU-2025:15776-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pypdfs390x | Advisory build | 6.4.0-1.1 | OPENSUSE-SU-2025:15776-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pypdfx86_64 | Advisory build | 6.4.0-1.1 | OPENSUSE-SU-2025:15776-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.6 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| py-pdf | pypdf | < 6.4.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-400 CWE-400: Uncontrolled Resource Consumption
- CWE-409 CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)
References
4Provider assertions
3GitHub_M · cna
pypdf manipulated LZWDecode streams can exhaust RAM
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b9cf4a31e28c42bbb6b848fcf25e7c2f6c752f04eea818dc50bd036901fd85bd
- Ingested
- 23 Sep 2026, 08:56:20 UTC
- Source record
- Official CVE record