CVE-2026-112402

High 7.5 P3 · Plan (32/100)
Other identifiers: GHSA-7MWM-GHPF-9VRM

Pillow: Double free in ImagingScaleAffine on calloc failure via Image.transform

Confirmed facts from the sources

CVSS
7.5 (High) · CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scored by nvd@nist.gov
Exploitation confirmed
Not in the CISA KEV catalog
Exploitation estimated (EPSS)
0.59 % · percentile 42.5 % (as of 29.11.2026)
Probability of exploitation in the next 30 days – an estimate by FIRST, not confirmation.
Public exploit
The sources reference a public exploit.
Fix
Fix available
Monitored technologies
Oracle Linux and OKE

Description (source)

Pillow is a Python imaging library. Prior to 13.0.0, Pillow can double free image memory when ImagingScaleAffine encounters a selective allocation failure. The affected fast path handles Transform.EXTENT or pure scale-and-translate Transform.AFFINE operations with the default NEAREST resampling. The output image allocation must succeed while the additional per-column lookup allocation fails, after which the error path deletes image storage that later cleanup releases again. An attacker who can drive such a large Image.transform() operation under memory pressure may trigger the failure. This can crash the process and may corrupt memory. This issue is fixed in version 13.0.0.

Affected products and versions

Vendor / productAffected versionsFixed inSource
python-pillow Pillow= < 13.0.0—nvd
python pillow< 13.0.0—nvd
pip: Pillow<= 12.3.013.0.0github
rpm: python3-pillow-devel< 5.1.1-33.el8_105.1.1-33.el8_10oracle-linux
rpm: python3-pillow-doc< 5.1.1-33.el8_105.1.1-33.el8_10oracle-linux
rpm: python3-pillow-tk< 5.1.1-33.el8_105.1.1-33.el8_10oracle-linux

Versions as published. “Fixed in” only where a source names the version explicitly.

Recommended mitigation

Fixed versions: Pillow 13.0.0, python3-pillow-devel 5.1.1-33.el8_10, python3-pillow-doc 5.1.1-33.el8_10, python3-pillow-tk 5.1.1-33.el8_10

Vendor patches and guidance

In general: check your versions, update to a fixed version, limit exposure until then and follow the vendor guidance.

AI interpretation

No AI interpretation yet – it is created for urgent advisories of monitored technologies. The facts above apply regardless.

Why this priority?: P3 · Plan (32/100)

  • Estimated exploitation probability 0.59 % (EPSS, percentile 42.5 %) – an estimate, not confirmation (+0)
  • The sources reference a public exploit (+10)
  • Technical severity: CVSS 7.5 (HIGH) – on its own not a reason for top priority (+12)
  • Concerns 1 monitored technolog(y/ies) (CPE, package or vendor) (+10)
  • Fix available – plan the update (+0)

Priority is a general assessment from CVSS, KEV, EPSS, exploits, relevance and fix availability. Whether a specific environment is affected depends on its versions, configuration and exposure.

Original advisories and links