Out-of-bounds Read in Bigcat88 Pillow-Heif
CVE-2026-28231
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 (process crash). No special configuration is required — this triggers under default settings. Version 1.3.0 fixes the issue.
Vulnerability class: Buffer Overflow
EPSS: 0.006 (46.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H.
Affected products
- Bigcat88 Pillow-heif
- Bigcat88 Pillow_heif — versions < 1.3.0
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Mitigation, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
- security-advisories@github.com (Product, x_refsource_MISC, Release Notes)
Frequently asked questions
- What is CVE-2026-28231?
- CVE-2026-28231 is a critical-severity vulnerability in Bigcat88 Pillow-Heif, classified under Out-of-bounds Read. CVSS score: 9.1/10. Published 2026-02-27.
- How severe is CVE-2026-28231?
- Critical severity. CVSS v3 base score is 9.1 out of 10.