Out-of-bounds Read Affecting pillow-heif package, versions [,1.3.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.63% (46th 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-PILLOWHEIF-15426536
  • published5 Mar 2026
  • disclosed28 Feb 2026
  • creditkaizawa97

Introduced: 28 Feb 2026

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

How to fix?

Upgrade pillow-heif to version 1.3.0 or higher.

Overview

pillow-heif is a Python interface for libheif library

Affected versions of this package are vulnerable to Out-of-bounds Read via the _CtxWriteImage_add_plane() function. An attacker can cause information disclosure or process crashes by supplying large image dimensions that bypass buffer bounds checks.

CVSS Base Scores

version 4.0
version 3.1