CVE-2026-31826
MEDIUM EPSS 6.9%
Published Mar 10, 20263mo ago · Modified Mar 17, 20263mo ago
6.8 CVSS 4.0
Published Mar 10, 2026 3mo ago
Last Modified Mar 17, 2026 3mo ago
Description
pypdf is a free and open-source pure-python PDF library. Prior to 6.8.0, an attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing a content stream with a rather large /Length value, regardless of the actual data length inside the stream. This vulnerability is fixed in 6.8.0.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/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 Attack Vector Local
Attack Complexity Low
Privileges Required None
User Interaction P
Scope X
Threat Intelligence
EPSS Exploit Probability
6.9% percentile
Exploit & Patch Status
No Known Exploit
Patch Available
Weaknesses 1
CWE-770
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| pypdf_project | pypdf | * | <6.8.0 |
References 3
- github.com https://github.com/py-pdf/pypdf/pull/3675
- github.com https://github.com/py-pdf/pypdf/releases/tag/6.8.0
- github.com https://github.com/py-pdf/pypdf/security/advisories/GHSA-hqmh-ppp3-xvm7
Remediation
- github.com https://github.com/py-pdf/pypdf/pull/3675
- github.com https://github.com/py-pdf/pypdf/security/advisories/GHSA-hqmh-ppp3-xvm7