---
title: "CVE-2026-59198"
canonical_url: "https://pkgseek.com/security/CVE-2026-59198"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2026-59198

Pillow is a Python imaging library. From 5.2.0 until 12.3.0, Pillow's TGA RLE encoder reads past its packed row buffer when saving a mode 1 image with TGA RLE compression, allowing adjacent process heap bytes to be copied into the generated TGA file. This issue is fixed in version 12.3.0.

CVE-2026-59198 is rated HIGH (7.5), with 9 indexed affected package builds across 3 distributions.

- **Severity / Score**: HIGH (7.5)
- **Affected builds**: 9
- **Affected distros**: 3
- **Distros with fixed_in**: Alibaba Cloud Linux

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Alibaba Cloud Linux | 4 | python3-pillow | 10.3.0-3.alnx4 | 12.3.0-1.alnx4 |
| Alibaba Cloud Linux | 4 | python3-pillow-tk | 10.3.0-3.alnx4 | 12.3.0-1.alnx4 |
| Debian | trixie | python3-pil | 11.1.0-5+deb13u4 | — |
| Debian | trixie | python3-pil.imagetk | 11.1.0-5+deb13u4 | — |
| Debian | trixie | python-pil-doc | 11.1.0-5+deb13u4 | — |
| Ubuntu | jammy | python3-pil | 9.0.1-1build1 | — |
| Ubuntu | jammy | python-pil-doc | 9.0.1-1build1 | — |
| Ubuntu | noble | python3-pil | 10.2.0-1build1 | — |
| Ubuntu | noble | python-pil-doc | 10.2.0-1build1 | — |
