Advisory

UBUNTU-CVE-2026-54058

Also known as: CVE-2026-54058

Summary

The record has no summary.

Details

Pillow is a Python imaging library. Prior to 12.3.0, when Pillow loads an uncompressed McIdas AREA image from a filename through the mmap raw codec path, attacker-controlled header words can set a row stride smaller than the natural row width, causing pixel access such as Image.tobytes(), getpixel, convert, or save to read beyond the mapped region and disclose adjacent process memory or fault. This issue is fixed in version 12.3.0.

Severity

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

Dates

Published
2026-07-14 17:17 UTC
Modified
2026-11-12 23:47 UTC

Affected packages and fixes

pillow

Debian packages (deb) · Ubuntu 22.04

Affected

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

Fixed versions

9.0.1-1ubuntu0.6

Fix

  • Fixed version 9.0.1-1ubuntu0.6
    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.4 (ecosystem)

Fixed versions

10.2.0-1ubuntu1.4

Fix

  • Fixed version 10.2.0-1ubuntu1.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 26.04

Affected

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

Fixed versions

12.1.1-2ubuntu1.4

Fix

  • Fixed version 12.1.1-2ubuntu1.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.

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