{"id":"CVE-2026-54651","aliases":["GHSA-g9xf-7f8q-9mcj","PYSEC-2026-3018"],"url":"https://o3.security/vulnerability/CVE-2026-54651","summary":"pypdf: Possible infinite loop when processing threads/articles in writer","details":"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.","published":"2026-06-22T20:28:28.412Z","modified":"2026-08-12T03:51:14.971852145Z","cvss":null,"epss":{"score":0.00158,"percentile":0.05294,"asOf":"2026-09-08"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"pypdf","fixedVersion":"6.13.1"}],"fix":{"url":"https://github.com/py-pdf/pypdf/pull/3839","label":"py-pdf/pypdf#3839"},"references":[{"type":"WEB","url":"https://github.com/py-pdf/pypdf/releases/tag/6.13.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54651.json"},{"type":"ADVISORY","url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-g9xf-7f8q-9mcj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54651"},{"type":"FIX","url":"https://github.com/py-pdf/pypdf/pull/3839"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:14.971852145Z"}}