CVE-2026-112402

Publication date 19 October 2026

Last updated 12 November 2026


Ubuntu priority

Cvss 3 Severity Score

7.5 · High

Score breakdown

Description

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.

Status

Package Ubuntu Release Status
pillow 26.10 stonking
Fixed in 12.3.0-1ubuntu2
26.04 LTS resolute
Fixed in 12.1.1-2ubuntu1.5
24.04 LTS noble
Fixed in 10.2.0-1ubuntu1.5
22.04 LTS jammy
Fixed in 9.0.1-1ubuntu0.7
20.04 LTS focal
Fixed in 7.0.0-4ubuntu0.9+esm2
18.04 LTS bionic
Fixed in 5.1.0-1ubuntu0.8+esm3
16.04 LTS xenial
Fixed in 3.1.2-0ubuntu1.6+esm4
14.04 LTS trusty
Fixed in 2.3.0-1ubuntu3.4+esm6
pillow-python2 26.10 stonking Not in release
26.04 LTS resolute Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
20.04 LTS focal
Needs evaluation

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Severity score breakdown

CVSS version:

Base score 8.7 · High

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Base score 7.5 · High

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References

Related Ubuntu Security Notices (USN)

    • USN-9064-1
    • Pillow vulnerabilities
    • 12 November 2026

Other references


Access our resources on patching vulnerabilities