SecurityContext

CVE-2026-96637: Pillow - Denial of Service

  • Cve: CVE-2026-96637
  • Name: Pillow - Denial of Service
  • Description: Pillow is a Python imaging library. Prior to 13.0.0, SpiderImageFile.seek() in src/PIL/SpiderImagePlugin.py reparses a later SPIDER stack frame and replaces self._size without rerunning Image._decompression_bomb_check(). A tiny file can use a safe first frame to pass Image.open() and then declare very large dimensions in a later mode F frame. Loading that frame allocates approximately four bytes per attacker-declared pixel and can consume multiple gigabytes of memory. This issue is fixed in version 13.0.0.
  • Impact: Attackers can cause excessive memory consumption leading to denial of service by loading crafted images.
  • 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.00373
  • Epss percentile: 0.31674
  • Assignee: [email protected]
  • Published at: 2026-10-21T21:20:31Z
  • Age in days: 34
  • Modified at: 2026-10-27T14:24:56Z
  • Patch available: yes
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-96637
  • 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-400Uncontrolled Resource Consumption

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/python-pillow/Pillow/commit/7cb0e02389d8aac2a60896a490f572db0b07b841Patch
https://github.com/python-pillow/Pillow/security/advisories/GHSA-g842-9rc4-69pwVendor Advisory
https://github.com/python-pillow/Pillow/pull/10076Issue 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