pi-heif
Affected
- introduced
0, fixed1.3.0(ecosystem)
Fixed versions
1.3.0
Fix
- Fixed version
1.3.0pip install --upgrade pi-heif==1.3.0
Advisory
Also known as: CVE-2026-28231, GHSA-5gjj-6r7v-ph3x, PYSEC-2026-2258
The record has no summary.
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.
Critical Basis: CVSS v3 score 9.1, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
0, fixed 1.3.0 (ecosystem)1.3.0
1.3.0pip install --upgrade pi-heif==1.3.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0