CVE-2026-71852
lowpriority · track · 13EPSS 0.001 · 2 %ileEUUSEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 1.1–4.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-fwg2-594c-jp42pypdf: Possible long runtimes/large memory usage for large CID font width ranges2026-08-07ghsa · osvUS
### Impact An attacker who uses this vulnerability can craft a PDF which leads to long runtimes and large memory consumption. This requires parsing the font width entries of a font with unusually large values, for example during text extraction. ### Patches This has been fixed in [pypdf==6.15.0](https://github.com/py-pdf/pypdf/releases/tag/6.15.0). ### Workarounds If you cannot upgrade yet, consider applying the changes from PR [#3946](https://github.com/py-pdf/pypdf/pull/3946).
- PYSEC-2026-3656pypdf: Possible long runtimes/large memory usage for large CID font width ranges2026-08-10vendor · osvUS
### Impact An attacker who uses this vulnerability can craft a PDF which leads to long runtimes and large memory consumption. This requires parsing the font width entries of a font with unusually large values, for example during text extraction. ### Patches This has been fixed in [pypdf==6.15.0](https://github.com/py-pdf/pypdf/releases/tag/6.15.0). ### Workarounds If you cannot upgrade yet, consider applying the changes from PR [#3946](https://github.com/py-pdf/pypdf/pull/3946).
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (12)
External citations — patches, advisories, analysis.
- https://github.com/py-pdf/pypdf/commit/51cb6acf9e8a35b77e90b4d87d28fe3e1416d7d7cnnvd
- https://github.com/py-pdf/pypdf/pull/3946cnnvd
- https://github.com/py-pdf/pypdf/releases/tag/6.15.0cnnvd
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-fwg2-594c-jp42cnnvd
- https://github.com/py-pdf/pypdf/commit/51cb6acf9e8a35b77e90b4d87d28fe3e1416d7d7enisa_euvd
- https://github.com/py-pdf/pypdf/pull/3946enisa_euvd
- https://github.com/py-pdf/pypdf/releases/tag/6.15.0enisa_euvd
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-fwg2-594c-jp42enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan