Home › Vulnerabilities

Pillow Flaw CVE-2026-112393: Update Now

Published October 28, 2026 · Last updated October 28, 2026

CVE Critical Patch

The short version: CVE-2026-112393 is a critical-severity security flaw in Pillow. The National Vulnerability Database (NVD) published it on October 19, 2026, and the score it lists is 9.8 out of 10. When FraudMeNot checked on October 28, 2026, CISA had not added CVE-2026-112393 to its Known Exploited Vulnerabilities catalog, so there was no public U.S. government confirmation of attacks yet. A fix is available, which is why this page focuses on who should update and how.

What the official record says about CVE-2026-112393

The record was filed by github.com. In its own words: "Pillow is a Python imaging library. From 2.0.0 until 13.0.0, Pillow has a heap buffer overflow and stale-heap disclosure in _tiffWriteProc when saving compressed TIFF data through libtiff to a target without a usable fileno(), such as BytesIO. The callback sizes its allocation from the prior buffer size instead of the current write position, allowing an attacker-controlled out-of-line TIFF tag or retained ICC profile to be copied beyond the allocation after libtiff seeks forward. This overflow can crash the process and may allow code execution. Independently, unwritten alignment gaps in compressed TIFF output larger than 64 KiB can disclose stale heap bytes without a crafted tag. File paths and targets with real file descriptors are unaffected. This issue is fixed in version 13.0.0."

Why Pillow admins should care

Severity scores use the Common Vulnerability Scoring System (CVSS). the address listed on nist.gov rated CVE-2026-112393 9.8 (Critical) under CVSS 3.1. Reading that rating in everyday terms: it can be reached over a network, including the internet; an attacker does not need an account; no one has to click or open anything. If it is abused, the rated damage to keeping data private is high, to keeping data unaltered is high, and to keeping Pillow running is high. Scoring string: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Scores can differ between the vendor and NVD because each judges the worst realistic case differently. For this flaw, the address listed on github.com gives it 9.2 (Critical, CVSS 4.0).

Affected Pillow releases

According to the record, these releases are vulnerable:

  • version >= 2.0.0, < 13.0.0

The type of bug behind CVE-2026-112393

NVD classifies it using MITRE's Common Weakness Enumeration:

  • CWE-122, Heap-based Buffer Overflow. MITRE describes this class of bug as follows: "A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc()."

Vendor remediation for CVE-2026-112393

The vendor advisory remediation for operators of Pillow, quoted for this page, is: "Upgrade Pillow to 13.0.0 or later (pip install --upgrade pillow), then rebuild and redeploy any app, container image, or package that bundles an older Pillow."

What to do about it

  • Update now: Upgrade Pillow to 13.0.0 or later (pip install --upgrade pillow), then rebuild and redeploy any app, container image, or package that bundles an older Pillow.
  • Who should act: IT teams, managed service providers, and developers who run or ship Pillow. Check every place it runs, including servers, build systems, containers, and older machines nobody watches closely.
  • Read the official advisory from Pillow (linked under Sources) for exact fixed builds and any temporary workaround if you cannot patch today.
  • After patching, confirm the new version is actually running and review logs from October 19, 2026 onward for anything unusual.
  • Home users: you do not need to buy or download anything because of CVE-2026-112393. A caller, text, or pop-up claiming your computer is "infected" with this CVE and asking for money or remote access is a scam.

CVE-2026-112393 record details from CISA and NVD

  • Attack complexity for CVE-2026-112393: low
  • CVE-2026-112393 CVSS scope: unchanged
  • NVD sub-scores for CVE-2026-112393: exploitability 3.9, impact 5.9.
  • Who mapped the weakness type: the address listed on github.com (Secondary)
  • NVD product identifiers (CPE): cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*
  • References in the NVD record: 4 (3 tagged Patch, 2 tagged Exploit, 2 tagged Vendor Advisory).
  • CISA SSVC decision points for CVE-2026-112393 (from NVD): exploitation=poc; automatable=no; technicalImpact=total (role: CISA Coordinator, SSVC 2.0.3).

Dates to know

  • October 19, 2026: NVD publishes CVE-2026-112393.
  • October 28, 2026: FraudMeNot checks the CISA KEV catalog; CVE-2026-112393 is not listed.
  • October 26, 2026: most recent NVD update (record status: Analyzed).

Official references

Links listed in the NVD record (labels in brackets come from NVD):

Sources

General education only, not security advice. Facts checked against the sources above on the date shown.