CVE-2026-28231: pillow_heif is a Python library for working with HEIF images and plugin for Pillow
CVE-2026-28231 is a critical-severity flaw (CVSS 9.1) affecting pillow-heif. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 configu
Why this priority
- Critical severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-28231?
pillow-heif: upgrade to 1.3.0. Exact commands for each OS are on this page.
Is CVE-2026-28231 being exploited?
CVE-2026-28231 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-28231 affect?
CVE-2026-28231 affects pillow-heif. Severity is critical (CVSS 9.1). 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
How urgent is CVE-2026-28231?
Priority 55/100. Critical severity; Public exploit reference; Remotely exploitable, no login, no user action