Advisory

UBUNTU-CVE-2026-112391

Also known as: CVE-2026-112391

Summary

The record has no summary.

Details

Pillow is a Python imaging library. From 5.1.0 until 13.0.0, Pillow's PdfParser.get_value() can recurse without a limit while reading nested PDF objects. The parser follows attacker-controlled arrays and dictionaries when an existing PDF is opened for append. An attacker can provide a deeply nested PDF to an application that saves an image with PDF append enabled. This can raise an uncaught RecursionError or terminate the worker, causing denial of service. This issue is fixed in version 13.0.0.

Severity

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

Dates

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

Affected packages and fixes

pillow

Debian packages (deb) · Ubuntu 22.04

Affected

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

Fixed versions

9.0.1-1ubuntu0.7

Fix

  • Fixed version 9.0.1-1ubuntu0.7
    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.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