SecurityContext

CVE-2026-96642: Pillow - Denial of Service

  • Cve: CVE-2026-96642
  • Name: Pillow - Denial of Service
  • Description: Pillow is a Python imaging library. Prior to 13.0.0, the TarIO initializer in src/PIL/TarIO.py accepts a negative octal member size and computes a backward seek that returns to the same 512-byte header. When the requested member name does not match, the parser repeatedly reads that header, consumes a full CPU core, and never returns. TarIO is reached only when an application directly uses PIL.TarIO.TarIO rather than the default Image.open() path. This issue is fixed in version 13.0.0.
  • Impact: Attackers can cause a denial of service by consuming a full CPU core indefinitely.
  • Remediation: Update to version 13.0.0 or later.
  • Vulnerability type: denial_of_service
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Epss score: 0.00395
  • Epss percentile: 0.34462
  • Assignee: [email protected]
  • Published at: 2026-10-21T21:20:32Z
  • Age in days: 34
  • Modified at: 2026-10-30T17:17:32Z
  • Patch available: yes
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-96642
  • Nvd status: modified
  • 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/19b695fdcc5eddc37374e2b1645fc4185edaf71dPatch
https://github.com/python-pillow/Pillow/security/advisories/GHSA-3j72-p6qg-6xp7Vendor Advisory
https://github.com/python-pillow/Pillow/pull/10012Issue Tracking
https://github.com/python-pillow/Pillow/releases/tag/13.0.0Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
python:pillow< 13.0.0nonvd/v1/products/python/pillow

Projects

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

Index

  • Repositories: 3363
  • Repositories high signal: 2013
  • Packages: 1

Exploitation

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