CVE-2026-112403

Publication date 19 October 2026

Last updated 12 November 2026


Ubuntu priority

Cvss 3 Severity Score

9.8 · Critical

Score breakdown

Description

Pillow is a Python imaging library. Prior to 13.0.0, Pillow's JPEG decoder can write a full-width scanline into a buffer sized for a requested draft scale. ImagingJpegDecode does not verify libjpeg's actual output width and component count after scaling is requested, and an 8-bit lossless SOF3 JPEG decoded by a build linked to libjpeg-turbo 3.x can ignore the requested downscaling geometry. An attacker can supply such a JPEG to an application that uses draft() or thumbnail() to request downscaling. This can corrupt heap memory, crash the process, or potentially allow code execution. Older libjpeg-turbo 2.x and IJG builds reject the SOF3 input. 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
Not affected
20.04 LTS focal
Not affected
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 9.2 · Critical

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

Base score 9.8 · Critical

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

References

Related Ubuntu Security Notices (USN)

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

Other references


Access our resources on patching vulnerabilities