CVE-2026-54531: py-pdf pypdf Infinite Loop
CVSS: 6.9v4.0MediumAnalyzed
AliasesGHSA-m2v9-299j-rv96PYSEC-2026-3022UBUNTU-CVE-2026-54531DEBIAN-CVE-2026-54531CGA-58jm-vv47-f6wxCGA-c79v-q979-5pf4
Published 22-06-2026Last modified 23-06-2026
Vulnerability summary
CVE-2026-54531 is a medium (CVSS 6.9) Infinite Loop vulnerability in py-pdf pypdf. EPSS estimates a 0.17% chance of exploitation in the next 30 days, higher than 6.4% of scored vulnerabilities.
CVSS score
6.9/10
010
Medium · v4.0 (CVE.org)EPSS score
0.17%
0%100%
Low · 0.00 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 1Timeline
- 22-06-2026PublishedVulnerability first disclosed.
- 23-06-2026Last modifiedVulnerability information updated.
Description
pypdf is a free and open-source pure-python PDF library. Prior to 6.13.0, an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires merging a file with outlines into a writer. This vulnerability is fixed in 6.13.0.
CVSS metrics
9 scores · 7 sources · 2 versionsMedium 6.9Preferred score · CVE.org (CNA)
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NSourcesAll 6 agree
- 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
Medium 5.5Preferred score · OSV · Ubuntu (Ecosystem advisory) · calculated from vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HSourcesAll 3 agree
- 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.17%
Chance of exploitation in the next 30 days
Percentile
6%
Versus all other CVEs
30-day change
0.00 pp
From 0.17% on 19-09-2026
19-09-202619-10-2026
EPSS score0.17%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu3 products
- pypdfAll versions (No fix recorded)
- pypdf2All versions (No fix recorded)
- python-pypdfAll versions (No fix recorded)
Debian2 products
- pypdfAll versions (No fix recorded) | < 6.19.0-1
- pypdf2All versions (No fix recorded)
Chainguard1 product
- open-webui< 0.9.6-r5
Py-pdf1 product
- pypdf< 6.13.0
Pypdf_project1 product
- pypdf< 6.13.0
PyPI1 product
- pypdf< 6.13.0
Wolfi1 product
- open-webui< 0.9.6-r5
7 vendors · 10 products
References
11 links- github.com/py-pdf/pypdf/security/advisories/GHSA-m2v9-299j-rv96X Refsource CONFIRMWEBREPORTAdvisoryPatchVendor Advisory
- github.com/py-pdf/pypdfPACKAGE
- pypi.org/project/pypdfPACKAGE