pypdf is a free and open-source pure-python PDF library. Prior to 6.13.0, 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. This vulnerability is fixed in 6.13.0.
References
| Link | Resource |
|---|---|
| https://github.com/py-pdf/pypdf/pull/3830 | Issue Tracking Patch |
| https://github.com/py-pdf/pypdf/releases/tag/6.13.0 | Patch Release Notes |
| https://github.com/py-pdf/pypdf/security/advisories/GHSA-m2v9-299j-rv96 | Patch Vendor Advisory |
Configurations
History
No history.
Information
Published : 2026-06-22 21:16
Updated : 2026-06-25 16:46
NVD link : CVE-2026-54531
Mitre link : CVE-2026-54531
CVE.ORG link : CVE-2026-54531
JSON object : View
Products Affected
pypdf_project
- pypdf
CWE
CWE-835
Loop with Unreachable Exit Condition ('Infinite Loop')
