ADVISORIES

Vulnerability

CVE-2026-54651

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.

5 advisories report this vulnerability, across 4 ecosystems.

Advisories in PyPI

  • GHSA-g9xf-7f8q-9mcj

    pypdf: Possible infinite loop when processing threads/articles in writer

    Moderate CVE-2026-54651 PyPI Updated 13 July 2026
  • PYSEC-2026-3018

    pypdf: Possible infinite loop when processing threads/articles in writer

    CVE-2026-54651 PyPI Updated 13 July 2026

References