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

CVE-2026-112393

Pillow: Heap buffer overflow in _tiffWriteProc when saving TIFF to BytesIO

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

Moyen 63/100

Résumé

Pillow is a Python imaging library. From 2.0.0 until 13.0.0, Pillow has a heap buffer overflow and stale-heap disclosure in _tiffWriteProc when saving compressed TIFF data through libtiff to a target without a usable fileno(), such as BytesIO. The callback sizes its allocation from the prior buffer size instead of the current write position, allowing an attacker-controlled out-of-line TIFF tag or retained ICC profile to be copied beyond the allocation after libtiff seeks forward. This overflow can crash the process and may allow code execution. Independently, unwritten alignment gaps in compressed TIFF output larger than 64 KiB can disclose stale heap bytes without a crafted tag. File paths and targets with real file descriptors are unaffected. 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 (1 ligne(s))
Pypi
ProduitVersionsCorrigé dansSource
pillow de 2.0.0 (inclus) à 13.0.0 (exclu) 13.0.0 GitHub Advisory
Python (1 ligne(s))
Python
ProduitVersionsCorrigé dansSource
Pillow de 2.0.0 (inclus) à 13.0.0 (exclu) — NVD

Correctif

Mise à jour — PyPI/pillow 13.0.0source officielle

Source : GitHub Advisory

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Exploit signalé par les sources

Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.

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:H/I:H/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-122 · Corruption mémoire

Comment sont obtenues et calculées ces données