CVE-2026-28231: Vulnerability in Bigcat88 Pillow-heif

Critical. pillow_heif is a Python library for working with HEIF images and plugin for Pillow. Prior to version 1.3.0, an integer overflow in the encode path buffer validation of _pillow_heif.c allows an attacker to bypass bounds checks by providing large image dimensions, resulting in a heap out-of-bounds read. This can lead to information disclosure (server heap memory leaking into encoded images) or denial of service...

PyPI, CWE-125, CWE-190

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-5gjj-6r7v-ph3x
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Weakness
CWE-125, CWE-190
Published
27 Feb 2026
Last change
20 Jul 2026
Ecosystem
PyPI

Affected products

Affected versions and the first fixed release

  • Bigcat88 Pillow-heif Before 1.3.0. Fixed in 1.3.0

Affected packages

Vulnerable version ranges and fixed releases

  • pi-heif PyPI, Affected before 1.3.0. Fixed in 1.3.0
  • pillow-heif PyPI, Affected before 1.3.0. Fixed in 1.3.0

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related