CVE-2026-71852
published medium CVSS 4.0 · 4.8pypdf: Possible long runtimes/large memory usage for large CID font width ranges
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| py-pdf | — | pypdf< 6.15.0 | Affected | Not stated | GitHub_M |
Description
pypdf is a free and open-source pure-python PDF library. Prior to 6.15.0, a crafted PDF can cause long runtimes and large memory consumption when pypdf/_font.py function Font._collect_cid_character_widths expands unusually large CID font /W width ranges or excessive width entries during text extraction. This issue is fixed in 6.15.0.
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
- 4.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| py-pdf | pypdf | < 6.15.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-834 CWE-834: Excessive Iteration
References
4Provider assertions
2GitHub_M · cna
pypdf: Possible long runtimes/large memory usage for large CID font width ranges
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 032daa29bddfe6fe51bb9418cf2d6d5d5e8499c329592ca6287ab7f38e7772ec
- Ingested
- 23 Sep 2026, 09:29:33 UTC
- Source record
- Official CVE record