Skip to main content
← All vulnerabilities
CVE-2026-42310GHSA-R73J-PQJ5-W3X7BIT-PILLOW-2026-42310PYSEC-2026-2874

Pillow: PDF Parsing Trailer Infinite Loop (DoS)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 12.2.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • python-pillow Pillow

    From 4.2.0 · fixed in 12.2.0

  • pillowPyPI

    From 4.2.0 · fixed in 12.2.0

References 4

GitHub · python-pillow/Pillow