An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires an incomplete file which ends inside the xref table.
This has been fixed in pypdf==6.20.0.
If you cannot upgrade yet, consider applying the changes from PR #4170.
This has been reported through both the secure channel and as a public issue at #4169.
{
"cwe_ids": [
"CWE-835"
],
"github_reviewed": true,
"github_reviewed_at": "2026-10-21T16:54:44Z",
"nvd_published_at": null,
"severity": "MODERATE"
}