CVE-2026-28231

Description

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.

Severity
CRITICAL
CVSS v3
9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H · source nvd
CVSS v4
5.5
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P · source cna
Exploit chance (EPSS)
0.703%
chance of exploitation in the next 30 days
higher than 53.9% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationpoc
Automatableyes
Technical impactpartial
Scored2026-03-03

Timeline

  1. 2026-02-27Published by the CNA20:13 UTC
  2. 2026-03-03CISA SSVC decision recorded4 days after publication
  3. 2026-07-20GitHub advisory published (GHSA-5gjj-6r7v-ph3x)143 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-5gjj-6r7v-ph3x, affected packages:

PackageVulnerable versionsFixed in
PyPI pi-heifbefore 1.3.01.3.0
PyPI pillow-heifbefore 1.3.01.3.0

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
bigcat88 pillow-heifbefore 1.3.0fixed in 1.3.01.3.0

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources