Prior to 6.15.0, a crafted PDF can cause long runtimes and large memory consumption when pypdf/_font.py function
Affects pypdfSource GCVE Database
Not known to be exploited · CVSS 4.8 Medium · fixed in 6.15.0 : update pypdf when convenient.
Data as of 24 Nov 2026, 21:01 UTC
- Patch
- Available – fixed in 6.15.0
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 7 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10pypdfpkg:deb/ubuntu/pypdf?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSpypdfpkg:deb/ubuntu/pypdf?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSpypdfpkg:deb/ubuntu/pypdf?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to pypdf version 6.15.0 or later, where this issue is fixed. No other mitigation is required as the vulnerability is addressed by the official patch.
Description
A vulnerability in pypdf versions prior to 6.15.0 allows a crafted PDF to cause excessive runtimes and large memory consumption during text extraction. This occurs when the Font._collect_cid_character_widths function processes unusually large CID font width ranges or excessive width entries. The issue has been fixed in version 6.15.0.
References
- ubuntu.com/security/CVE-2026-71852 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-71852 (opens in a new tab)
- github.com/py-pdf/pypdf/commit/51cb6acf9e8a35b77e90b4d87d28fe3e1416d7d7 (opens in a new tab)
- github.com/py-pdf/pypdf/pull/3946 (opens in a new tab)
- github.com/py-pdf/pypdf/releases/tag/6.15.0 (opens in a new tab)
- github.com/py-pdf/pypdf/security/advisories/GHSA-fwg2-594c-jp42 (opens in a new tab)