CVE-2026-27025: py-pdf pypdf Excessive Iteration
Vulnerability summary
CVE-2026-27025 is a medium (CVSS 6.9) Excessive Iteration vulnerability in py-pdf pypdf. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 9.9% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2 · Related 3Timeline
- 20-02-2026PublishedVulnerability first disclosed.
- 24-02-2026Last modifiedVulnerability information updated.
Description
pypdf is a free and open-source pure-python PDF library. Prior to 6.7.1, an attacker who uses this vulnerability can craft a PDF which leads to long runtimes and large memory consumption. This requires parsing the /ToUnicode entry of a font with unusually large values, for example during text extraction. This vulnerability is fixed in 6.7.1.
CVSS metrics
9 scores · 7 sources · 2 versions- OSV · PypiEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · UbuntuEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · WolfiEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- NVDNIST6.9MediumCVSS:4.0/AV:L/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 · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
10%
Versus all other CVEs
30-day change
+0.03 pp
From 0.17% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian2 products
- pypdfAll versions (No fix recorded) | < 6.9.0-1
- pypdf2All versions (No fix recorded)
Ubuntu2 products
- pypdfAll versions (No fix recorded)
- pypdf2All versions (No fix recorded)
Chainguard1 product
- open-webui< 0.8.3-r1
Py-pdf1 product
- pypdf< 6.7.1
Pypdf_project1 product
- pypdf< 6.7.1
PyPI1 product
- pypdf< 6.7.1
Wolfi1 product
- open-webui< 0.8.3-r1
7 vendors · 9 products
References
12 links- github.com/py-pdf/pypdf/security/advisories/GHSA-wgvp-vg3v-2xq3X Refsource CONFIRMWEBREPORTAdvisoryPatchVendor Advisory
- github.com/py-pdf/pypdf/commit/77d7b8d7cfbe8dd179858dfa42666f73fc6e57a2X Refsource MISCWEBREPORTFIXPatch
- github.com/py-pdf/pypdfPACKAGE
- pypi.org/project/pypdfPACKAGE