pypdf is a free and open-source pure-python PDF library. Prior to 6.21.4, pypdf can enter an infinite loop while opening a crafted incomplete PDF whose standard cross-reference table reaches the end of the file without a trailer. The trailer search can repeatedly rewind to the same stream position instead of terminating when parsing makes no progress, blocking the processing thread. This issue is fixed in version 6.21.4.
References
| Link | Resource |
|---|---|
| https://github.com/py-pdf/pypdf/commit/06593f993789a4b573dd955730c1a7051128bb2a | Patch |
| https://github.com/py-pdf/pypdf/pull/4289 | Patch |
| https://github.com/py-pdf/pypdf/releases/tag/6.21.4 | Release Notes |
| https://github.com/py-pdf/pypdf/security/advisories/GHSA-5849-834g-hvw5 | Patch Vendor Advisory |
Configurations
History
02 Nov 2026, 16:06
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:py-pdf:pypdf:*:*:*:*:*:*:*:* | |
| First Time |
Py-pdf
Py-pdf pypdf |
02 Nov 2026, 15:49
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.5 |
| CPE | cpe:2.3:a:pypdf_project:pypdf:*:*:*:*:*:*:*:* | |
| First Time |
Pypdf Project
Pypdf Project pypdf |
|
| References | () https://github.com/py-pdf/pypdf/commit/06593f993789a4b573dd955730c1a7051128bb2a - Patch | |
| References | () https://github.com/py-pdf/pypdf/pull/4289 - 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-5849-834g-hvw5 - Patch, Vendor Advisory |
29 Oct 2026, 21:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-29 21:17
Updated : 2026-11-02 16:06
NVD link : CVE-2026-119203
Mitre link : CVE-2026-119203
CVE.ORG link : CVE-2026-119203
JSON object : View
Products Affected
py-pdf
- pypdf
CWE
CWE-835
Loop with Unreachable Exit Condition ('Infinite Loop')
