SecurityContext

CVE-2026-96639: Pillow - Buffer Overflow

  • Cve: CVE-2026-96639
  • Name: Pillow - Buffer Overflow
  • Description: Pillow is a Python imaging library. From 11.0.0 until 13.0.0, multi-frame loaders can retain an ImagingCore allocation created for a narrow frame mode while a later frame of the same dimensions changes the logical mode and decoder tiles to wider RGB or CMYK data. ImageFile.load_prepare() reuses the stale native storage because _im is non-null without verifying that its mode and size still match. Crafted PSD, MPO, DCX, or MIC frame transitions can then write wider pixels into the narrow allocation, causing native out-of-bounds writes and crashes. The MPO path can also cause a native over-read and, in demonstrated runtime-specific profiles, command execution. This issue is fixed in version 13.0.0.
  • Impact: Attackers can cause crashes, out-of-bounds memory writes, and potentially execute arbitrary code remotely.
  • Remediation: Update to version 13.0.0 or later.
  • Vulnerability type: out_of_bounds_rw
  • Vulnerability impact: remote_code_execution, denial_of_service, out_of_bounds_rw
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00659
  • Epss percentile: 0.52264
  • Assignee: [email protected]
  • Published at: 2026-10-21T21:20:32Z
  • Age in days: 34
  • Modified at: 2026-10-29T11:17:39Z
  • Patch available: yes
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-96639
  • 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-125Out-of-bounds Read

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/python-pillow/Pillow/commit/78d97d994579aef81aafe123773d525f40f2522aPatch
https://github.com/python-pillow/Pillow/security/advisories/GHSA-v9pv-5gc8-w2m6Vendor Advisory
https://github.com/python-pillow/Pillow/pull/10105Issue Tracking
https://github.com/python-pillow/Pillow/releases/tag/13.0.0Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
python:pillow>= 11.0.0, < 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: 1958
  • Repositories high signal: 1241
  • 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