← Back to CVEs
CVE-2026-31826
MEDIUM5.5
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.
CVE Details
CVSS v3.1 Score5.5
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Attack VectorLOCAL
ComplexityLOW
Privileges RequiredNONE
User InteractionREQUIRED
Published3/10/2026
Last Modified3/17/2026
Sourcenvd
Honeypot Sightings0
Affected Products
pypdf_project:pypdf
Weaknesses (CWE)
CWE-770
References
https://github.com/py-pdf/pypdf/pull/3675(security-advisories@github.com)
https://github.com/py-pdf/pypdf/releases/tag/6.8.0(security-advisories@github.com)
https://github.com/py-pdf/pypdf/security/advisories/GHSA-hqmh-ppp3-xvm7(security-advisories@github.com)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.