pypdf is a free and open-source pure-python PDF library. Prior to 6.21.3, pypdf can consume excessive time and memory when an application accesses the page count of a crafted encrypted PDF whose page tree declares a forged /Count value. Even after successful decryption, page-count retrieval trusts the unvalidated declared count instead of walking the page tree, allowing the attacker-controlled value to drive excessive work and memory use. This issue is fixed in version 6.21.3.
References
| Link | Resource |
|---|---|
| https://github.com/py-pdf/pypdf/commit/82b91951dc74496bb3efe6465434f041bb6a5e6b | Patch |
| https://github.com/py-pdf/pypdf/pull/4270 | Patch |
| https://github.com/py-pdf/pypdf/releases/tag/6.21.3 | Release Notes |
| https://github.com/py-pdf/pypdf/security/advisories/GHSA-62m5-6wh8-28x7 | Patch Vendor Advisory |
Configurations
History
02 Nov 2026, 16:06
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/py-pdf/pypdf/commit/82b91951dc74496bb3efe6465434f041bb6a5e6b - Patch | |
| References | () https://github.com/py-pdf/pypdf/pull/4270 - Patch | |
| References | () https://github.com/py-pdf/pypdf/releases/tag/6.21.3 - Release Notes | |
| References | () https://github.com/py-pdf/pypdf/security/advisories/GHSA-62m5-6wh8-28x7 - Patch, Vendor Advisory | |
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.5 |
| CPE | cpe:2.3:a:py-pdf:pypdf:*:*:*:*:*:*:*:* | |
| First Time |
Py-pdf
Py-pdf 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-119208
Mitre link : CVE-2026-119208
CVE.ORG link : CVE-2026-119208
JSON object : View
Products Affected
py-pdf
- pypdf
CWE
CWE-400
Uncontrolled Resource Consumption
