CVE-2026-59936: pypdf: Possible infinite loop for not terminated inline images
Vulnerability summary
CVE-2026-59936 is a high (CVSS 8.7) Uncontrolled Resource Consumption vulnerability in py-pdf pypdf. EPSS estimates a 0.34% chance of exploitation in the next 30 days, higher than 29.4% of scored vulnerabilities.
Severe, CVSS 8.7 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2 · Related 3Timeline
- 08-07-2026PublishedVulnerability first disclosed.
- 09-07-2026Last modifiedVulnerability information updated.
Description
pypdf is a free and open-source pure-python PDF library. Prior to 6.14.1, an attacker can craft a PDF with a page content stream containing a not terminated inline image, causing an infinite loop during inline image end marker detection such as when extracting page text. This issue is fixed in version 6.14.1.
CVSS metrics
9 scores · 7 sources · 2 versions- OSV · PypiEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · UbuntuEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · WolfiEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- NVDNIST8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.34%
Chance of exploitation in the next 30 days
Percentile
29%
Versus all other CVEs
30-day change
Decrease -0.28 pp
From 0.62% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard2 products
- litellm< 1.93.0-r3
- open-webui< 0.11.0-r6
Debian2 products
- pypdfAll versions (No fix recorded) | < 6.19.0-1
- pypdf2All versions (No fix recorded)
Ubuntu2 products
- pypdfAll versions (No fix recorded)
- pypdf2All versions (No fix recorded)
Py-pdf1 product
- pypdf< 6.14.1
Pypdf_project1 product
- pypdf< 6.14.1
PyPI1 product
- pypdf< 6.14.1
Wolfi1 product
- open-webui< 0.11.0-r6
7 vendors · 10 products
References
12 links- github.com/py-pdf/pypdf/security/advisories/GHSA-5xf7-4p34-54qrX Refsource CONFIRMWEBREPORTAdvisoryPatchVendor Advisory
- github.com/py-pdf/pypdfPACKAGE
- pypi.org/project/pypdfPACKAGE