An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires opening an incomplete file without a trailer.
This has been fixed in pypdf==6.21.4.
If you cannot upgrade yet, consider applying the changes from PR #4289.
{
"cwe_ids": [
"CWE-835"
],
"github_reviewed": true,
"github_reviewed_at": "2026-10-30T23:13:16Z",
"nvd_published_at": "2026-10-29T21:17:19Z",
"severity": "HIGH"
}