GHSA-gmh7-3g9r-mjh5
pypdf: Possible long runtimes for large xref table header limits
Packages
Details
As written in the advisory (Markdown source, shown as plain text).
### 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](https://github.com/py-pdf/pypdf/releases/tag/6.21.2).
### Workarounds
If you cannot upgrade yet, consider applying the changes from PR [#4239](https://github.com/py-pdf/pypdf/pull/4239).
References
External links from the advisory. They lead to third-party sites.