ADVISORIES

Vulnerability

CVE-2026-41313

pypdf is a free and open-source pure-python PDF library. An attacker who uses a vulnerability present in versions prior to 6.10.2 can craft a PDF which leads to long runtimes. This requires loading a PDF with a large trailer `/Size` value in incremental mode. This has been fixed in pypdf 6.10.2. As a workaround, one may apply the changes from the patch manually.

8 advisories report this vulnerability, across 5 ecosystems.

Advisories in PyPI

  • GHSA-4pxv-j86v-mhcw

    pypdf: Possible long runtimes for wrong size values in incremental mode

    Moderate CVE-2026-41313 PyPI Updated 10 September 2026
  • PYSEC-2026-3007

    pypdf: Possible long runtimes for wrong size values in incremental mode

    CVE-2026-41313 PyPI Updated 13 July 2026

References