pypdf is a free and open-source pure-python PDF library. Prior to 6.21.4, pypdf can consume excessive memory while parsing a crafted PDF page tree containing many shared resources. Page-tree flattening copies page dictionary and inherited resource entries without a document-wide entry budget, allowing the crafted resource structure to cause disproportionate allocations. This issue is fixed in version 6.21.4.
References
| Link | Resource |
|---|---|
| https://github.com/py-pdf/pypdf/commit/ea4ac663133f1b3de1d7a8f2e6fa239802fde79e | Patch |
| https://github.com/py-pdf/pypdf/pull/4290 | Patch |
| https://github.com/py-pdf/pypdf/releases/tag/6.21.4 | Release Notes |
| https://github.com/py-pdf/pypdf/security/advisories/GHSA-cggf-277g-3q54 | 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:*:*:*:*:*:*:*:* |
02 Nov 2026, 15:50
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.5 |
| CPE | cpe:2.3:a:pypdf_project:pypdf:*:*:*:*:*:*:*:* | |
| References | () https://github.com/py-pdf/pypdf/commit/ea4ac663133f1b3de1d7a8f2e6fa239802fde79e - Patch | |
| References | () https://github.com/py-pdf/pypdf/pull/4290 - Patch | |
| References | () https://github.com/py-pdf/pypdf/releases/tag/6.21.4 - Release Notes | |
| References | () https://github.com/py-pdf/pypdf/security/advisories/GHSA-cggf-277g-3q54 - Patch, Vendor Advisory | |
| First Time |
Pypdf Project
Pypdf Project pypdf |
29 Oct 2026, 21:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-29 21:17
Updated : 2026-11-04 02:17
NVD link : CVE-2026-119204
Mitre link : CVE-2026-119204
CVE.ORG link : CVE-2026-119204
JSON object : View
Products Affected
py-pdf
- pypdf
CWE
CWE-400
Uncontrolled Resource Consumption
