Advisory

UBUNTU-CVE-2026-96639

Also known as: CVE-2026-96639

Summary

The record has no summary.

Details

Pillow is a Python imaging library. From 11.0.0 until 13.0.0, multi-frame loaders can retain an ImagingCore allocation created for a narrow frame mode while a later frame of the same dimensions changes the logical mode and decoder tiles to wider RGB or CMYK data. ImageFile.load_prepare() reuses the stale native storage because _im is non-null without verifying that its mode and size still match. Crafted PSD, MPO, DCX, or MIC frame transitions can then write wider pixels into the narrow allocation, causing native out-of-bounds writes and crashes. The MPO path can also cause a native over-read and, in demonstrated runtime-specific profiles, command execution. This issue is fixed in version 13.0.0.

Severity

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

Dates

Published
2026-10-21 21:20 UTC
Modified
2026-11-13 11:22 UTC

Affected packages and fixes

pillow

Debian packages (deb) · Ubuntu 26.10

Affected

  • introduced 0, fixed 12.3.0-1ubuntu2 (ecosystem)

Fixed versions

12.3.0-1ubuntu2

Fix

  • Fixed version 12.3.0-1ubuntu2
    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.5 (ecosystem)

Fixed versions

12.1.1-2ubuntu1.5

Fix

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