CVE-2026-112398
Pillow is a Python imaging library. Prior to 13.0.0, Pillow's FlashPix ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by GHSA, Bitnami.
Description
Pillow is a Python imaging library. Prior to 13.0.0, Pillow's FlashPix JPEG-tile decoder can write decoded scanlines beyond the allocated tile buffer. FlashPix (FPX) JPEG decoding selects raw mode LA with two bytes per pixel, while an unrecognized JPEG mode can be decoded as JCS_UNKNOWN with four components, causing ImagingJpegDecode to write four-component scanlines into the two-byte tile buffer. An attacker can supply a crafted OLE2 FlashPix file to an application with the optional olefile dependency installed that opens or thumbnails untrusted input. This can corrupt heap memory and may allow arbitrary code execution. This issue is fixed in version 13.0.0.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | pillow | 13.0.0 |
| pip::GitHub Security Advisory pip | pillow | 13.0.0 |
| chainguard | nemo-skills | 0.7.0_git20260911-r5 |
| debian 11 | pillow | no fix listed |
| debian 12 | pillow | no fix listed |
| debian 13 | pillow | no fix listed |
| debian 14 | pillow | no fix listed |
| echo | pillow | no fix listed |
| echo pip::Echo OSV | pillow | 12.3.0+echo.1 |
| rapidfort amazon linux 2023 | python-pillow | no fix listed |
| rapidfort debian 12 | pillow | 0:13.0.0-1 |
| rapidfort debian 13 | pillow | 0:13.0.0-1 |
Show all 14 entries from 13 sources
| Source | Package | Fixed in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | pillow | 13.0.0 |
| pip::GitHub Security Advisory pip | pillow | 13.0.0 |
| chainguard | nemo-skills | 0.7.0_git20260911-r5 |
| debian 11 | pillow | no fix listed |
| debian 12 | pillow | no fix listed |
| debian 13 | pillow | no fix listed |
| debian 14 | pillow | no fix listed |
| echo | pillow | no fix listed |
| echo pip::Echo OSV | pillow | 12.3.0+echo.1 |
| rapidfort amazon linux 2023 | python-pillow | no fix listed |
| rapidfort debian 12 | pillow | 0:13.0.0-1 |
| rapidfort debian 13 | pillow | 0:13.0.0-1 |
| seal pip::Seal Security Database | pillow | 10.0.1+sp999, 7.2.0+sp999, 9.3.0+sp999, 9.5.0+sp999 |
| seal pip::Seal Security Database | seal-pillow | 10.0.1+sp999, 7.2.0+sp999, 9.3.0+sp999, 9.5.0+sp999 |
References
- https://advisory.echohq.com/cve/CVE-2026-112398
- https://github.com/python-pillow/Pillow
- https://github.com/python-pillow/Pillow/commit/242a059aedc1935097d9aa1dc3f099750467ba75
- https://github.com/python-pillow/Pillow/releases/tag/13.0.0
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-5x8w-8jj5-q52h
- https://nvd.nist.gov/vuln/detail/CVE-2026-112398