PYSEC-2026-2248

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/pi-heif/PYSEC-2026-2248.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2026-2248
Aliases
Published
2026-02-27T20:21:40.697Z
Modified
2026-07-13T07:26:30.359630077Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

PyPI / pi-heif

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.3.0

Affected versions

0.*
0.7.0
0.7.1
0.7.2
0.8.0
0.9.0
0.9.1
0.9.2
0.9.3
0.10.0
0.10.1
0.11.0
0.11.1
0.12.0
0.13.0
0.13.1
0.14.0
0.15.0
0.16.0
0.17.0
0.18.0
0.20.0
0.21.0
0.22.0
1.*
1.0.0
1.1.0
1.1.1
1.2.0
1.2.1

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/pi-heif/PYSEC-2026-2248.yaml"