Skip to main content
VulnerabilityPublished

CVE-2026-59935: py-pdf pypdf · Infinite Loop

Affects py-pdf pypdfSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.7 High : upgrade to 6.14.2 soon.

Data as of 20 Nov 2026, 17:35 UTC

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 4.08.7
EPSS
0.6% chance of exploitation in 30 days – higher than 50% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 6.14.2
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Jul 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 20 Nov 2026.

What to do

Upgrade py-pdf pypdf to 6.14.2.

Affected software

ProductAffectedFixed in
py-pdfpypdfAffected
  • <6.14.2
Fixed in
  • 6.14.2
PyPIpypdfpkg:pypi/pypdfOther threatsAffected
  • <6.14.2
Fixed in
  • 6.14.2

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.14.2 or later, where this infinite loop vulnerability has been fixed. Patch status is confirmed by the vendor advisory indicating the fix in 6.14.2. No other mitigations are specified.

Description

pypdf is a free and open-source pure-python PDF library. Prior to 6.14.2, an attacker can craft a PDF with a page content stream containing a not terminated inline image that uses the ASCII85 or ASCIIHex filters, causing an infinite loop during parsing such as when extracting page text. This issue is fixed in version 6.14.2.

References

Community reviews

Loading reviews…