Out-of-bounds Read Affecting pillow package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.33% (25th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-PILLOW-17986623
  • published24 Aug 2026
  • disclosed14 Jul 2026

Introduced: 14 Jul 2026

CVE-2026-59198  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:20.04 pillow.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pillow package and not the pillow package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1