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.
References
| Link | Resource |
|---|---|
| https://github.com/py-pdf/pypdf/pull/3675 | Issue Tracking Patch |
| https://github.com/py-pdf/pypdf/releases/tag/6.8.0 | Product Release Notes |
| https://github.com/py-pdf/pypdf/security/advisories/GHSA-hqmh-ppp3-xvm7 | Patch Vendor Advisory |
Configurations
History
02 Nov 2026, 16:06
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Py-pdf
Py-pdf pypdf |
|
| CPE | cpe:2.3:a:py-pdf:pypdf:*:*:*:*:*:*:*:* |
17 Mar 2026, 20:52
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Pypdf Project pypdf
Pypdf Project |
|
| CPE | cpe:2.3:a:pypdf_project:pypdf:*:*:*:*:*:*:*:* | |
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.5 |
| References | () https://github.com/py-pdf/pypdf/pull/3675 - Issue Tracking, Patch | |
| References | () https://github.com/py-pdf/pypdf/releases/tag/6.8.0 - Product, Release Notes | |
| References | () https://github.com/py-pdf/pypdf/security/advisories/GHSA-hqmh-ppp3-xvm7 - Patch, Vendor Advisory |
11 Mar 2026, 13:52
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
10 Mar 2026, 22:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-03-10 22:16
Updated : 2026-11-02 16:06
NVD link : CVE-2026-31826
Mitre link : CVE-2026-31826
CVE.ORG link : CVE-2026-31826
JSON object : View
Products Affected
py-pdf
- pypdf
CWE
CWE-770
Allocation of Resources Without Limits or Throttling
