CVE-2026-49271Struktur Libheif
Medium 6.5 No auth needed
Follow: this CVE · Struktur · Struktur Libheif We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- —
- Auth required
- No
- Published
- Jun 19, 2026
- Updated
- Oct 25, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-125
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
What happens
libheif is a HEIF and AVIF file format decoder and encoder. Prior to version 1.22.1, the uncompressed HEIF decoder validates explicit icef compressed-unit offsets using unit_offset + unit_size. Because the addition can wrap, a crafted HEIF file can pass the range check and then construct a vector from iterators outside the compressed item buffer, producing an out-of-bounds heap read and crash. Version 1.22.1 patches the issue.
What to do
- Apply the vendor's security update for Libheif.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| struktur | libheif | < 1.22.1 |
Official advisories
- Security update for libheif · SUSE · SUSE-SU-2026:2622-1 · Jun 24, 2026 High
- Security update for libheif · SUSE · openSUSE-SU-2026:20974-1 · Jun 17, 2026 High
- Security update for libheif · SUSE · SUSE-SU-2026:22153-1 · Jun 17, 2026 High
Also: SUSE (+1)
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 Mitigation Vendor Advisory