Prior to 6.15.0, a crafted PDF can cause large memory consumption when pypdf/_cmap.py function parse_bfrange parses
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 pypdf to version 6.15.0 or later where this issue is fixed. No other mitigation is required as the fix addresses the root cause.
Description
A vulnerability in pypdf versions prior to 6.15.0 allows a crafted PDF to cause excessive memory consumption during text extraction. The issue occurs in the parse_bfrange function of pypdf/_cmap.py when parsing unusually large tokens in a font /ToUnicode CMap. This flaw has been fixed in version 6.15.0.
References
- ubuntu.com/security/CVE-2026-71870 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-71870 (opens in a new tab)
- github.com/py-pdf/pypdf/commit/afba8080e19d29a3c256a742b340995e695b35aa (opens in a new tab)
- github.com/py-pdf/pypdf/pull/3944 (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-fp3f-mc75-235c (opens in a new tab)