Unrated severityNVD Advisory· Published Jun 22, 2026
pypdf: Possible infinite loop when processing threads/articles in writer
CVE-2026-54651
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
1Patches
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
3- github.com/py-pdf/pypdf/pull/3839mitrex_refsource_MISC
- github.com/py-pdf/pypdf/releases/tag/6.13.1mitrex_refsource_MISC
- github.com/py-pdf/pypdf/security/advisories/GHSA-g9xf-7f8q-9mcjmitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.