Advisory

UBUNTU-CVE-2026-112898

Also known as: CVE-2026-112898

Summary

The record has no summary.

Details

Pillow is a Python imaging library. From 9.1.0 until 13.0.0, Pillow can disclose uninitialized stack memory when Image.quantize() uses an empty palette. ImagingPaletteCacheUpdate() leaves a local cache array uninitialized when the palette has zero entries, and the conversion path emits those bytes as output pixel indices. An attacker who controls the palette image can obtain stack contents from a returned PNG or GIF. This can disclose addresses and stack-canary data without an out-of-bounds access, memory corruption, or process crash. This issue is fixed in version 13.0.0.

Severity

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

Dates

Published
2026-10-19 22:17 UTC
Modified
2026-11-13 11:22 UTC

Affected packages and fixes

pillow

Debian packages (deb) · Ubuntu 24.04

Affected

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

Fixed versions

10.2.0-1ubuntu1.5

Fix

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

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