ADVISORIES

Vulnerability

CVE-2026-42310

Pillow is a Python imaging library. From version 4.2.0 to before version 12.2.0, an attacker can supply a malicious PDF that causes the process to hang indefinitely, consuming 100% CPU and making the application unresponsive. This issue has been patched in version 12.2.0.

19 advisories report this vulnerability, across 7 ecosystems.

Advisories in PyPI

  • GHSA-r73j-pqj5-w3x7

    Pillow has a PDF Parsing Trailer Infinite Loop (DoS)

    Moderate CVE-2026-42310 PyPI Updated 10 September 2026
  • PYSEC-2026-2874

    Pillow has a PDF Parsing Trailer Infinite Loop (DoS)

    CVE-2026-42310 PyPI Updated 13 July 2026

References