Skip to main content
Menu
Advisories

pypdf: Possible long runtimes for large xref table header limits

GHSA-GMH7-3G9R-MJH5Published Updated GitHub

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 versions

References