VDB
CVE-2026-31826
CVE-2026-31826
PUBLISHED
CVSS 5.5 MEDIUM
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.
EPSS 0.00% · 0.3th percentile
Risk Scores
CVSS v3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS Score
0.00%
0.3th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| py-pdf | pypdf | < 6.8.0, *, * |
| PyPI | pypdf | 0, 0, 0 |
| pypdf_project | pypdf | 0, 0, 0 |
Timeline
- Mar 10, 2026 CVE Published
- Mar 11, 2026 EPSS Score
- Mar 11, 2026 CVE Updated
- Mar 12, 2026 EPSS Score
- Mar 13, 2026 EPSS Score
- Mar 14, 2026 EPSS Score
- Mar 15, 2026 EPSS Score
- Mar 16, 2026 EPSS Score
- Mar 17, 2026 EPSS Score
- Mar 17, 2026 Coalition ESS Score
- Mar 17, 2026 Security Advisory
- Mar 18, 2026 EPSS Score
References
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-hqmh-ppp3-xvm7 url
- https://github.com/py-pdf/pypdf/pull/3675 url
- https://github.com/py-pdf/pypdf/releases/tag/6.8.0 url
- https://nvd.nist.gov/vuln/detail/CVE-2026-31826 advisory
- https://github.com/py-pdf/pypdf/commit/3c550b3196adeba1506a26e57c09c09fac75e9aa url
- https://github.com/py-pdf/pypdf package