1. Accueil
  2. Vulnérabilités
  3. CVE-2026-112396

CVE-2026-112396

Pillow: Heap use-after-free when encoding TIFF to an in-memory buffer

Publiée le 19 oct. 2026 · modifiée le 26 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 45/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

python-pillow (1 ligne(s))
python-pillow
ProduitVersionsCorrigé dansSource
Pillow Versions non précisées — CNA (éditeur ou attributeur)
Pypi (2 ligne(s))
Pypi
ProduitVersionsCorrigé dansSource
pillow de 11.3.0 (inclus) à 13.0.0 (exclu) 13.0.0 GitHub Advisory
pillow de 11.3.0 (inclus) à 13.0.0 (exclu) 13.0.0 OSV
Python (1 ligne(s))
Python
ProduitVersionsCorrigé dansSource
Pillow de 11.3.0 (inclus) à 13.0.0 (exclu) — NVD

Correctif

Mise à jour — PyPI/pillow 13.0.0source officielle

Source : GitHub Advisory

Mise à jour — PyPI/pillow 13.0.0source officielle

Source : OSV

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)
  2. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1486)
  3. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1527)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-416 · Corruption mémoire

Comment sont obtenues et calculées ces données