GHSA-763m-79hh-57f2
pypdf: Possible long runtimes/large memory usage when extracting XForm objects
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 and large memory consumption. This requires extracting the text of a page with lots of XForm objects, where some of them might be re-used.
### Patches
This has been fixed in [pypdf==6.16.1](https://github.com/py-pdf/pypdf/releases/tag/6.16.1).
### Workarounds
If you cannot upgrade yet, consider applying the changes from PR [#3966](https://github.com/py-pdf/pypdf/pull/3966).
References
External links from the advisory. They lead to third-party sites.