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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-835"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119203.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:py-pdf:pypdf:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "6.21.4"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "06593f993789a4b573dd955730c1a7051128bb2a"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "6.21.4",
"range": [
{
"fixed": "b2c3fa2ee689f582a0de256a45e30bd96c68f807"
}
],
"source": "REFERENCES_TAG"
}
]
}