VulnerabilityAnalyzed
CVE-2026-31826
Prior to 6.8.0, an attacker who uses this vulnerability can craft a PDF which leads to large memory usage.
MEDIUM 6.8EPSS 0.17%
Does this matter?
Lower severity and a low EPSS score (0.17%). Track it; it rarely justifies an emergency change on its own.
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 4.0
- 6.8 MEDIUMCVSS: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/M
- EPSS
- 0.17% probability · 7th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-770
- Affected
- pypdf project/pypdf
- Source
- security-advisories@github.com
References
- https://github.com/py-pdf/pypdf/pull/3675Issue Tracking, Patch
- https://github.com/py-pdf/pypdf/releases/tag/6.8.0Product, Release Notes
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-hqmh-ppp3-xvm7Patch, Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.