CVE-2026-28231: pillow_heif - Integer Overflow
- Cve: CVE-2026-28231
- Name: pillow_heif - Integer Overflow
- 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.
- Impact: Attackers can cause information disclosure or denial of service by triggering heap out-of-bounds read with large image dimensions.
- Remediation: Upgrade to version 1.3.0 or later.
- Vulnerability type: integer_overflow
- Vulnerability impact: information_disclosure, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- Epss score: 0.00693
- Epss percentile: 0.5384
- Assignee: [email protected]
- Published at: 2026-02-27T20:21:40Z
- Age in days: 269
- Modified at: 2026-06-17T10:28:22Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-28231
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-125 | Out-of-bounds Read |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/bigcat88/pillow_heif/security/advisories/GHSA-5gjj-6r7v-ph3x | nvd | 2026-02-27 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/bigcat88/pillow_heif/commit/8305a15d3780c533b762578cbe987d27a2c59c7a | Patch |
| https://github.com/bigcat88/pillow_heif/security/advisories/GHSA-5gjj-6r7v-ph3x | Exploit, Mitigation, Vendor Advisory |
| https://github.com/bigcat88/pillow_heif/releases/tag/v1.3.0 | Product, Release Notes |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| bigcat88:pillow-heif | < 1.3.0 | no | nvd | /v1/products/bigcat88/pillow-heif |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| bigcat88/pillow_heif | commit, fix, package, releases, security_advisory | yes | /v1/repositories/bigcat88/pillow_heif |
Index
- Repositories: 33
- Repositories high signal: 20
- Packages: 2
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-02-27
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts