Pillowに細工したTIFFで任意のメモリ内容が漏えいする脆弱性
Summary
2026年10月21日に公表された脆弱性です。細工したTIFFファイルを読み込ませて再保存すると、Pillowのプロセスメモリの内容が出力のTIFFに含まれたり、プロセスが異常終了したりするおそれがあります。影響するのは13.0.0より前のPillowで、13.0.0で修正されています。修正版へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
2026年10月21日に公表された脆弱性です。細工したTIFFファイルを読み込ませて再保存すると、Pillowのプロセスメモリの内容が出力のTIFFに含まれたり、プロセスが異常終了したりするおそれがあります。影響するのは13.0.0より前のPillowで、13.0.0で修正されています。修正版へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| pipPillow |
< 13.0.0→ 13.0.0 |
13.0.0 |
| PyPIpillow |
< 13.0.0→ 13.0.0 |
13.0.0 |
| python-pillowPillow | — | Not listed |
| Bitnamipillow |
< 13.0.0→ 13.0.0 |
13.0.0 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-112902 pillow Fix available
- Ubuntu UBUNTU-CVE-2026-112902 pillow-python2, pillow No fixed version in this record
Original description The description as published by the source.
Pillow is a Python imaging library. In versions through 12.3.0, the libtiff TIFF encoder can pass arguments to TIFFSetField() that do not match libtiff’s definition of the corresponding tag. When an application saves attacker-controlled image metadata through this encoder, crafted tag values can cause invalid memory reads, copying process memory into the encoded output or crashing the process. Applications that return the encoded output to an attacker can disclose that memory. The issue is reachable when re-saving compressed TIFF images and through certain conversions that preserve EXIF metadata into compressed TIFF output. This vulnerability is fixed in version 13.0.0.
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- patch github.com
- web github.com
- web github.com
- web github.com