CVE-2025-62707: py-pdf pypdf Excessive Iteration
CVSS: 7.5v3.1HighAnalyzed
AliasesGHSA-vr63-x8vc-m265PYSEC-2026-1833UBUNTU-CVE-2025-62707DEBIAN-CVE-2025-62707CGA-jfq4-mjjm-8r74CGA-x5p4-m6q3-p23fCGA-xcw7-pqxw-6wj4CGA-xppv-jvxp-fvrmopenSUSE-SU-2025:15664-1CGA-rgpw-5mf5-gcgw
Published 22-10-2025Last modified 23-10-2025
Vulnerability summary
CVE-2025-62707 is a high (CVSS 7.5) Excessive Iteration vulnerability in py-pdf pypdf. EPSS estimates a 0.44% chance of exploitation in the next 30 days, higher than 37.3% of scored vulnerabilities.
CVSS score
7.5/10
010
High · v3.1 (NVD)EPSS score
0.44%
0%100%
Low · +0.03 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 0 · Related 3Timeline
- 22-10-2025PublishedVulnerability first disclosed.
- 23-10-2025Last modifiedVulnerability information updated.
Description
pypdf is a free and open-source pure-python PDF library. Prior to version 6.1.3, an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires parsing the content stream of a page which has an inline image using the DCTDecode filter. This has been fixed in pypdf version 6.1.3.
CVSS metrics
9 scores · 7 sources · 2 versionsMedium 6.6Preferred score · CVE.org (CNA)
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/E:USources6 sources · 6.6–8.7
- 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/E:UDiffers
- 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/E:UDiffers
- 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/E:UDiffers
- 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/E:UDiffers
- NVDNIST6.6MediumCVSS: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:U/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
High 7.5Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HSourcesAll 3 agree
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.44%
Chance of exploitation in the next 30 days
Percentile
37%
Versus all other CVEs
30-day change
+0.03 pp
From 0.41% on 20-09-2026
20-09-202620-10-2026
EPSS score0.44%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard3 products
- nemo< 2.5.2-r0
- open-webui< 0.6.34-r1
- open-webui-compat< 0.6.34-r1
Wolfi2 products
- open-webui< 0.6.34-r1
- open-webui-compat< 0.6.34-r1
Debian1 product
- pypdfAll versions (No fix recorded) | < 6.9.0-1
Opensuse1 product
- python-pypdf&distro=openSUSE Tumbleweed< 6.1.3-1.1
Py-pdf1 product
- pypdf< 6.1.3
Pypdf_project1 product
- pypdf< 6.1.3
PyPI1 product
- pypdf< 6.1.3
Ubuntu1 product
- pypdfAll versions (No fix recorded)
8 vendors · 11 products
References
13 links- github.com/py-pdf/pypdf/security/advisories/GHSA-vr63-x8vc-m265X Refsource CONFIRMWEBREPORTAdvisoryThird Party Advisory
- github.com/py-pdf/pypdf/commit/f2864d6dd9bac7cecd3f4f54308b25ebbfa178f8X Refsource MISCWEBREPORTFIXPatch
- github.com/py-pdf/pypdfPACKAGE
- pypi.org/project/pypdfPACKAGE