CVE-2026-42310

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. From version 4.2.0 to before version 12.2.0, an attacker can supply a malicious PDF that causes the process to hang indefinitely, consuming 100% CPU and making the application unresponsive. 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
Not affected
14.04 LTS trusty
Not affected
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