Advisory

UBUNTU-CVE-2026-42310

Also known as: CVE-2026-42310

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 5.5, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2026-05-09 06:16 UTC
Modified
2026-11-13 11:27 UTC

Affected packages and fixes

pillow

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 9.0.1-1ubuntu0.4 (ecosystem)

Fixed versions

9.0.1-1ubuntu0.4

Fix

  • Fixed version 9.0.1-1ubuntu0.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

pillow

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 10.2.0-1ubuntu1.2 (ecosystem)

Fixed versions

10.2.0-1ubuntu1.2

Fix

  • Fixed version 10.2.0-1ubuntu1.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

pillow

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 11.3.0-1ubuntu1.3 (ecosystem)

Fixed versions

11.3.0-1ubuntu1.3

Fix

  • Fixed version 11.3.0-1ubuntu1.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

pillow

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 12.1.1-2ubuntu1.2 (ecosystem)

Fixed versions

12.1.1-2ubuntu1.2

Fix

  • Fixed version 12.1.1-2ubuntu1.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences