SecurityContext

CVE-2026-42310: Pillow - Denial of Service

  • Cve: CVE-2026-42310
  • Name: Pillow - Denial of Service
  • Description: 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.
  • Impact: Attackers can cause the application to hang and consume 100% CPU, leading to denial of service.
  • Remediation: Upgrade to version 12.2.0 or later.
  • Vulnerability type: denial_of_service
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00171
  • Epss percentile: 0.06552
  • Assignee: [email protected]
  • Published at: 2026-05-09T06:16:10Z
  • Age in days: 199
  • Modified at: 2026-07-24T21:10:00Z
  • Patch available: yes
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-42310
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-835Loop with Unreachable Exit Condition

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/python-pillow/Pillow/commit/3bf614e4b8615d0ce1d5039efaf6db447fe7c468Patch
https://github.com/python-pillow/Pillow/pull/9519Issue Tracking, Patch
https://github.com/python-pillow/Pillow/security/advisories/GHSA-r73j-pqj5-w3x7Patch, Vendor Advisory
https://github.com/python-pillow/Pillow/releases/tag/12.2.0Product, Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
python:pillow>= 4.2.0, < 12.2.0nonvd/v1/products/python/pillow

Projects

RepositoryLink kindsIndexedUrl
python-pillow/Pillowcommit, fix, package, pull, releases, security_advisoryyes/v1/repositories/python-pillow/Pillow

Index

  • Repositories: 2286
  • Repositories high signal: 1259
  • Packages: 1

Exploitation

  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts