Use of Uninitialized Resource Affecting pillow package, versions [,13.0.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.38% (32nd 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-PYTHON-PILLOW-21430990
  • published22 Oct 2026
  • disclosed21 Oct 2026
  • creditAarni Koskela

Introduced: 21 Oct 2026

NewCVE-2026-114501  (opens in a new tab)
CWE-908  (opens in a new tab)

How to fix?

Upgrade pillow to version 13.0.0 or higher.

Overview

Affected versions of this package are vulnerable to Use of Uninitialized Resource via the Arrow array export functions (export_single_channel_array and export_fixed_pixel_array in src/libImaging/Arrow.c) when exporting non-contiguous images. When image rows are not stored contiguously in memory - such as with multi-block, aligned arena, or buffer-mapped images with a stride or bottom-up rows - the export logic incorrectly calculates the buffer length and selects the wrong backing buffer pointer, exposing memory contents beyond the intended image data to a caller receiving the Arrow array.

Note: This is only exploitable when the consuming application exports an Arrow array from an image that is non-contiguous in memory (e.g. created from a buffer with a non-standard stride or stored in multiple blocks).

CVSS Base Scores

version 4.0
version 3.1