GHSA-gmh7-3g9r-mjh5High

pypdf: Possible long runtimes for large xref table header limits

Published
October 23, 2026
Last Modified
October 23, 2026

🔗 CVE IDs covered (1)

📋 Description

Impact

An attacker who uses this vulnerability can craft a PDF which leads to long runtimes. This requires opening a file with large/wrong upper limits in the xref table.

Patches

This has been fixed in pypdf==6.21.2.

Workarounds

If you cannot upgrade yet, consider applying the changes from PR #4239.

🎯 Affected products1

  • pip/pypdf:< 6.21.2

🔗 References (5)