CVE-2026-119204
HIGH 7.1CVSS 4.0pypdf has possible large memory usage when parsing page tree
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.
- Published
- 29 Oct 2026
- Last modified
- 4 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-400
- Also known as
- GHSA-cggf-277g-3q54
- Sources
- NVDJSONOSV GHSA-cggf-277g-3q54JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 7.1 | CVSS:4.0/AV:N/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/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | py-pdf | pypdfcpe:2.3:a:py-pdf:pypdf:*:*:*:*:*:*:*:* |
< 6.21.4 | 6.21.4 |
| OSV | PyPI | pypdf | < 6.21.4 | 6.21.4 |
References
- https://github.com/py-pdf/pypdf/commit/ea4ac663133f1b3de1d7a8f2e6fa239802fde79e · Patch, WEB
- https://github.com/py-pdf/pypdf/pull/4290 · Patch, WEB
- https://github.com/py-pdf/pypdf/releases/tag/6.21.4 · Release Notes, WEB
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-cggf-277g-3q54 · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-119204 · ADVISORY
- https://github.com/py-pdf/pypdf · PACKAGE
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 29 Oct 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 30 Oct 2026)