CVE-2026-59935

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductPypdf
PublishedJul 8, 2026
First seenJul 8, 2026
Weakness typeCWE-835CWE-835

How to fix

Update
  • pypdf_project pypdf6.14.2 or later
  • pypdf6.14.2 or later
  • py-pdf pypdf6.14.2 or later

Affected products

ProductAffected versionsFixed in
pypdf_project pypdfv < 6.14.26.14.2
pypdfPyPIv < 6.14.26.14.2
py-pdf pypdfv < 6.14.26.14.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.