ADVISORIES

Vulnerability

CVE-2026-27628

pypdf is a free and open-source pure-python PDF library. Prior to 6.7.2, an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires reading the file. This has been fixed in pypdf 6.7.2. As a workaround, one may apply the patch manually.

7 advisories report this vulnerability, across 6 ecosystems.

Advisories in PyPI

  • GHSA-2rw7-x74f-jg35

    pypdf has a possible infinite loop when loading circular /Prev entries in cross-reference streams

    Low CVE-2026-27628 PyPI Updated 13 July 2026
  • PYSEC-2026-3005

    pypdf has a possible infinite loop when loading circular /Prev entries in cross-reference streams

    CVE-2026-27628 PyPI Updated 13 July 2026

References