~ / search / GHSA-m2v9-299j-rv96

GHSA-m2v9-299j-rv96

pypdf: Possible infinite loop when processing outlines/bookmarks in writer

Source: GitHub Advisory Database (reviewed) Moderate CVE-2026-54531

Packages

EcosystemPackageAffectedFixed in
PyPI pypdf < 6.13.0 6.13.0

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 an infinite loop. This requires merging a file with outlines into a writer. ### Patches This has been fixed in [pypdf==6.13.0](https://github.com/py-pdf/pypdf/releases/tag/6.13.0). ### Workarounds If you cannot upgrade yet, consider applying the changes from PR [#3830](https://github.com/py-pdf/pypdf/pull/3830).

References

External links from the advisory. They lead to third-party sites.