CVE-2025-62708
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.1.3 | Affected | Not stated | GitHub_M |
Description
pypdf is a free and open-source pure-python PDF library. Prior to version 6.1.3, an attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing the content stream of a page using the LZWDecode filter. This has been fixed in pypdf version 6.1.3.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for 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.1.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-409 CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)
References
4Provider assertions
2GitHub_M · cna
pypdf manipulated LZWDecode streams can exhaust RAM
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3c53c223f742d7f6001b63050fa104ab5f7c5f26f613f0ea6ecd4892798eb0d0
- Ingested
- 23 Sep 2026, 08:55:41 UTC
- Source record
- Official CVE record