CVE-2026-82398: py-pdf pypdf Inefficient Algorithmic Complexity
Vulnerability summary
CVE-2026-82398 is a medium (CVSS 6.9) Inefficient Algorithmic Complexity vulnerability in py-pdf pypdf. EPSS estimates a 0.52% chance of exploitation in the next 30 days, higher than 43.2% of scored vulnerabilities.
Timeline
- 31-08-2026PublishedVulnerability first disclosed.
- 01-09-2026Last modifiedVulnerability information updated.
Description
pypdf is a free and open-source pure-python PDF library. Prior to 6.15.0, an attacker can craft a PDF that causes long runtimes when the pypdf/_utils.py function read_until_whitespace reads a stream containing a long run of bytes without whitespace. The function repeatedly performs immutable bytes concatenation in a one-byte loop, causing quadratic processing cost for the long non-whitespace input. This issue is fixed in version 6.15.0.
CVSS metrics
7 scores · 5 sources · 2 versions- OSV · PypiEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- OSV · UbuntuEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- NVDNIST6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/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.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
0.52%
Chance of exploitation in the next 30 days
Percentile
43%
Versus all other CVEs
30-day change
+0.22 pp
From 0.30% 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.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.15.0
Pypdf_project1 product
- pypdf< 6.15.0
PyPI1 product
- pypdf< 6.15.0
5 vendors · 7 products
References
11 links- github.com/py-pdf/pypdf/security/advisories/GHSA-fc8x-2rww-xw9mX Refsource CONFIRMWEBREPORTPatchVendor Advisory
- github.com/py-pdf/pypdf/commit/4959848e057e37c218dccad7465259210923faaaX Refsource MISCWEBREPORTPatch
- github.com/py-pdf/pypdfPACKAGE
- pypi.org/project/pypdfPACKAGE