CVE-2026-28231Bigcat88 Pillow-heif
Medium 5.5 No auth needed
Follow: this CVE · Bigcat88 · Bigcat88 Pillow-heif We alert you by email or Slack (account required).
- Priority
- 48
- CVSS 4.0
- 5.5
- EPSS
- —
- Auth required
- No
- Published
- Feb 27, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Pillow-heif.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pi-heif |
< 1.3.0 |
1.3.0 |
pip install "pi-heif>=1.3.0" |
| PyPI | pi-heif |
< 1.3.0 |
1.3.0 |
pip install "pi-heif>=1.3.0" |
| PyPI | pillow-heif |
< 1.3.0 |
1.3.0 |
pip install "pillow-heif>=1.3.0" |
| PyPI | pillow-heif |
< 1.3.0 |
1.3.0 |
pip install "pillow-heif>=1.3.0" |
Per OSV / GitHub Advisories (GHSA-5gjj-6r7v-ph3x, PYSEC-2026-2248, PYSEC-2026-2258). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| bigcat88 | pillow-heif | < 1.3.0 |
Official advisories
- python311-pillow-heif-1.3.0-1.1 on GA media · SUSE · openSUSE-SU-2026:10285-1 · Mar 4, 2026 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Product Release Notes
- github.com Exploit Mitigation Vendor Advisory