CVE-2026-42308

Publication date 9 May 2026

Last updated 13 November 2026


Ubuntu priority

Cvss 3 Severity Score

5.5 · Medium

Score breakdown

Description

Pillow is a Python imaging library. Prior to version 12.2.0, if a font advances for each glyph by an exceeding large amount, when Pillow keeps track of the current position, it may lead to an integer overflow. This issue has been patched in version 12.2.0.

Status

Package Ubuntu Release Status
pillow 26.10 stonking
Not affected
26.04 LTS resolute
Fixed in 12.1.1-2ubuntu1.2
25.10 questing
Fixed in 11.3.0-1ubuntu1.3
24.04 LTS noble
Fixed in 10.2.0-1ubuntu1.2
22.04 LTS jammy
Fixed in 9.0.1-1ubuntu0.4
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
25.10 questing 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

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
pillow

Severity score breakdown

CVSS version:

Base score 5.1 · Medium

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

Base score 5.5 · Medium

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


Access our resources on patching vulnerabilities