pypdf is a free and open-source pure-python PDF library. Prior to 6.13.1, an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires merging a file with threads/articles into a writer. This vulnerability is fixed in 6.13.1.
References
| Link | Resource |
|---|---|
| https://github.com/py-pdf/pypdf/pull/3839 | Issue Tracking |
| https://github.com/py-pdf/pypdf/releases/tag/6.13.1 | Patch |
| https://github.com/py-pdf/pypdf/security/advisories/GHSA-g9xf-7f8q-9mcj | Mitigation Patch Vendor Advisory |
Configurations
History
No history.
Information
Published : 2026-06-22 21:16
Updated : 2026-06-24 16:41
NVD link : CVE-2026-54651
Mitre link : CVE-2026-54651
CVE.ORG link : CVE-2026-54651
JSON object : View
Products Affected
pypdf_project
- pypdf
CWE
CWE-835
Loop with Unreachable Exit Condition ('Infinite Loop')
