All reports
High

UBUNTU-CVE-2026-112402

Affected versions

Affected versions
<9.0.1-1ubuntu0.7
Fixed version
9.0.1-1ubuntu0.7
Affected versions
<10.2.0-1ubuntu1.5
Fixed version
10.2.0-1ubuntu1.5
Affected versions
<12.1.1-2ubuntu1.6
Fixed version
12.1.1-2ubuntu1.6
Affected versions
<12.3.0-1ubuntu2.1
Fixed version
12.3.0-1ubuntu2.1
Affected versions
<2.3.0-1ubuntu3.4+esm6
Fixed version
2.3.0-1ubuntu3.4+esm6
Affected versions
<3.1.2-0ubuntu1.6+esm4
Fixed version
3.1.2-0ubuntu1.6+esm4
Affected versions
<5.1.0-1ubuntu0.8+esm3
Fixed version
5.1.0-1ubuntu0.8+esm3
Affected versions
*
Fixed version
Not reported
Affected versions
<7.0.0-4ubuntu0.9+esm2
Fixed version
7.0.0-4ubuntu0.9+esm2

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.

Links