Back to search
CVE-2026-31826
Published: Mar 10, 2026
Modified: Mar 11, 2026
PUBLISHED
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.
| Vendor | Product | Versions |
|---|---|---|
py-pdf | pypdf | affected < 6.8.0 |
Weaknesses (CWE)
References
https://github.com/py-pdf/pypdf/security/advisories/GHSA-hqmh-ppp3-xvm7
x_refsource_CONFIRM
https://github.com/py-pdf/pypdf/pull/3675
x_refsource_MISC
https://github.com/py-pdf/pypdf/releases/tag/6.8.0
x_refsource_MISC
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now