CVE-2026-112398
Kritisch 9,8 PoC auf GitHubPillow: Heap buffer overflow in FlashPix (FPX) JPEG decoding leads to code execution
- CVSS
- 9,8 (v3.1)
- Angriffswahrscheinlichkeit (EPSS)
- 0,70 % (höher als 54,3 % aller Lücken)
- Veröffentlicht
- 19.10.2026
- Zuletzt geändert
- 27.10.2026
Öffentlicher Angriffscode
Ein Proof of Concept auf GitHub, darunter mcpmark-eval-liuhezi/security-advisory-research. Ungeprüft: solche Repositories enthalten manchmal selbst Schadcode.
Beschreibung
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.
Betroffene Pakete
| Paket | Betroffen | Behoben in |
|---|---|---|
| AlmaLinux:8 python3-pillow | alle Versionen vor 5.1.1-36.el8_10 | 5.1.1-36.el8_10 |
| AlmaLinux:8 python3-pillow-devel | alle Versionen vor 5.1.1-36.el8_10 | 5.1.1-36.el8_10 |
| AlmaLinux:8 python3-pillow-doc | alle Versionen vor 5.1.1-36.el8_10 | 5.1.1-36.el8_10 |
| AlmaLinux:8 python3-pillow-tk | alle Versionen vor 5.1.1-36.el8_10 | 5.1.1-36.el8_10 |
| Debian:12 pillow | alle Versionen, noch kein Fix | noch kein Fix |
| Debian:13 pillow | alle Versionen, noch kein Fix | noch kein Fix |
| PyPI pillow | alle Versionen vor 13.0.0 | 13.0.0 |
| Rocky Linux:8 python-pillow | alle Versionen vor 0:5.1.1-36.el8_10 | 0:5.1.1-36.el8_10 |
| Ubuntu:22.04:LTS pillow | alle Versionen vor 9.0.1-1ubuntu0.7 | 9.0.1-1ubuntu0.7 |
| Ubuntu:24.04:LTS pillow | alle Versionen vor 10.2.0-1ubuntu1.5 | 10.2.0-1ubuntu1.5 |
Quellen
Weitere Kennungen
GHSA-5x8w-8jj5-q52h · BIT-pillow-2026-112398 · PYSEC-2026-4330 · UBUNTU-CVE-2026-112398 · DEBIAN-CVE-2026-112398 · CWE-122 · CWE-787
Sind Ihre Projekte betroffen?
Prüfen Sie ein Lockfile kostenlos oder lassen Sie Ihre Repositories laufend überwachen.