Skip to main content
CVE-2026-71870VulnerabilityPublished Updated

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

0
Compare
Authoritative record:CVE-2026-71870· Medium 4.8

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

CVSS 4.0 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Ubuntu 26.10pypdfpkg:deb/ubuntu/pypdf?arch=source&distro=stonkingOther threatsAffected
  • =6.9.2-1
  • =6.9.2-2
Fixed in–
Ubuntu 26.04 LTSpypdfpkg:deb/ubuntu/pypdf?arch=source&distro=resoluteOther threatsAffected
  • =5.4.0-1
  • =6.9.2-1
Fixed in–
Ubuntu 24.04 LTSpypdfpkg:deb/ubuntu/pypdf?arch=source&distro=nobleOther threatsAffected
  • 3.4.1-1 – 4.0.2-1
5 affected builds
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

Community reviews

Loading reviews…