SecurityContext

CVE-2026-112397: Pillow - Denial of Service

  • Cve: CVE-2026-112397
  • Name: Pillow - Denial of Service
  • Description: Pillow is a Python imaging library. Prior to 13.0.0, Pillow's ImageMorph.MorphOp.apply() can access memory before a row buffer for a zero-width image. PPM and PGM input can create an image with width zero, and the native morphology routine indexes outrow[width - 1] without rejecting that geometry. An attacker can supply such an image to an application that applies a morphology operation. This can crash the process. This issue is fixed in version 13.0.0.
  • Impact: Attackers can crash the application process causing denial of service.
  • Remediation: Update to version 13.0.0 or later.
  • Vulnerability type: out_of_bounds_rw
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00532
  • Epss percentile: 0.45814
  • Assignee: [email protected]
  • Published at: 2026-10-19T22:17:06Z
  • Age in days: 36
  • Modified at: 2026-10-27T21:00:11Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-112397
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-787Out-of-bounds Write

Public exploits

UrlSourceAdded date
https://github.com/python-pillow/Pillow/security/advisories/GHSA-58r4-6rv3-gfh8nvd2026-10-19

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/python-pillow/Pillow/commit/18f7c0dfee93063c51db6ed0ca8c4da2999dcb64Patch
https://github.com/python-pillow/Pillow/security/advisories/GHSA-58r4-6rv3-gfh8Exploit, Vendor Advisory
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, releases, security_advisoryyes/v1/repositories/python-pillow/Pillow

Index

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

Exploitation

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