8.7Hoch

CVE-2026-112894Pillow: Quadratic-time DoS in PDF save_all (PdfParser.next_object_id)

python-pillow Pillow Veröffentlicht: (vor 29 Tagen)

Beschreibung

Pillow is a Python imaging library. From 5.1.0 until 13.0.0, Pillow takes quadratic time to reserve PDF object identifiers when saving many frames with save_all enabled. PdfParser.next_object_id() repeatedly rebuilds and scans all previously reserved identifiers for every object. An attacker can supply a multi-frame image, including a small APNG with a large declared frame count, to an application that converts it to a multipage PDF. This can consume excessive CPU and deny service. This issue is fixed in version 13.0.0.

Schwachstellentyp (CWE): CWE-407

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
python pillow 5.1.0 – < 13.0.0
python-pillow Pillow >= 5.1.0, < 13.0.0

Ubuntu-Korrekturen

  • USN-9064-1 Pillow vulnerabilities Ubuntu 26.10, 26.04, 24.04, 22.04, 20.04, 18.04, 16.04, 14.04 · 12.11.2026 · pillow

Referenzen und Patches

CPE-Treffer (NVD) (1)

  • cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* ≥ 5.1.0 < 13.0.0