CVE Catalog

CVE-2026-59198

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.31%

23th percentile - higher than 23% of all known CVEs

Summary

In Pillow library versions 5.2.0 through 12.3.0, a vulnerability exists in the TGA RLE encoder. When saving a mode 1 image with RLE compression, the encoder reads past its packed row buffer, causing adjacent process heap bytes to be copied into the generated TGA file. The issue is fixed in version 12.3.0.

Risk Assessment

This vulnerability may lead to leakage of sensitive data from process memory into TGA files, potentially exposing the organization to disclosure of confidential information.

Recommendation

Immediately upgrade Pillow to version 12.3.0 or later, which contains the fix for this vulnerability.

Other vulnerabilities in Pillow

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS