CVE-2026-112396
Vulnérabilité moyenne dans Pillow (python-pillow)
CVSS 5.9 · Moyenne
python-pillow•Pillow•Versions : >= 11.3.0, < 13.0.0
Description
Pillow is a Python imaging library. From 11.3.0 until 13.0.0, Pillow has a heap use-after-free when libtiff rejects a tag while encoding TIFF data to an in-memory buffer. When an application saves attacker-influenced TIFF tags to BytesIO, libtiff can reject a tag during encoding in ImagingLibTiffEncode; the error path then frees the output buffer without closing or clearing the TIFF handle, and later cleanup flushes through the write callback into freed memory, which can crash the process and may enable code execution. This issue is fixed in version 13.0.0.
Gravité et risque d'exploitation
CVE-2026-112396 obtient un score CVSS de 5.9/10, soit une gravité moyenne.
Que faire ?
- Vérifiez si Pillow (versions >= 11.3.0, < 13.0.0) est présent sur votre parc.
- Appliquez le correctif ou la version corrigée indiqués dans les références de l'éditeur.
- À défaut de correctif, limitez l'exposition (filtrage réseau, désactivation du composant).
- Automatisez la détection : les agents CVE Heimdall (gratuits, open source) corrèlent l'inventaire de vos serveurs avec la base CVE.
