Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.9
CVE-2026-120208: libheif image library can be tricked to run code
CVE-2026-120208 · published 29 days ago
Summary
Versions of the libheif library from 1.18.0 up to 1.23.2 can be fooled by a specially crafted HEIF picture. The file can cause the program that processes images to write outside its memory area, which could let an attacker run their own code. Upgrade libheif to version 1.23.3 or later to fix the problem.
What to do
- Update debian libheif to version 1.23.4-1~deb13u1.
- Update debian libheif to version 1.23.3-1.
- Update libheif to version 1.15.1-1+deb12u1.aikido.17.
- Update rootio-libheif to version 1.15.1-1+deb12u1.aikido.17.
- Update strukturag libheif to version 1.23.3 or later.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| – | strukturag | libheif | < 1.23.3 |
| Debian:12 | debian | libheif | All versions |
| Debian:13 | debian | libheif |
< 1.23.4-1~deb13u1 Fix: upgrade to 1.23.4-1~deb13u1
|
| Debian:14 | debian | libheif |
< 1.23.3-1 Fix: upgrade to 1.23.3-1
|
| Root:Debian:12 | – | libheif |
< 1.15.1-1+deb12u1.aikido.17 Fix: upgrade to 1.15.1-1+deb12u1.aikido.17
|
| Root:Debian:12 | – | rootio-libheif |
< 1.15.1-1+deb12u1.aikido.17 Fix: upgrade to 1.15.1-1+deb12u1.aikido.17
|
| Ubuntu:Pro:18.04:LTS | canonical | libheif | All versions |
Original advisory text
libheif 1.18.0 before 1.23.3 Heap Buffer Overflow via unci Mixed-Interleave Decoder
libheif 1.18.0 before 1.23.3 contains a heap-based buffer overflow vulnerability in unc_decoder_mixed_interleave::processTile() that allows attackers to write out of bounds by supplying chroma components with unequal bit depths. Attackers can craft a HEIF file declaring, for example, 16-bit Cb and 8-bit Cr to trigger file-controlled heap writes past the Cr plane, potentially achieving code execution in image-processing pipelines.
References
- https://security-tracker.debian.org/tracker/CVE-2026-120208 Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-1202... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-120208 Vendor Advisory
- https://github.com/strukturag/libheif Product
- https://github.com/strukturag/libheif/blob/v1.23.2/libheif/codecs/uncompressed/u... Third Party Advisory
- https://ubuntu.com/security/CVE-2026-120208 Third Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2026-120208 Third Party Advisory
- https://github.com/strukturag/libheif/security/advisories/GHSA-x8r2-mggj-j6wr Third Party Advisory
- https://github.com/strukturag/libheif/commit/9d3cd91d7b1c8c68deef6d06057ab956bcb... Third Party Advisory
- https://github.com/strukturag/libheif/releases/tag/v1.23.3 Third Party Advisory
- https://www.vulncheck.com/advisories/libheif-1.18.0-before-1.23.3-heap-buffer-ov... Third Party Advisory
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker full control
Severity
9.9
Critical
Type
CWE-122Heap-based Buffer Overflow
Timeline
Published31 Oct 2026
Updated26 Nov 2026
First seen31 Oct 2026
Sources
CVE-2026-120208 · NVD
CVE-2026-120208 · MITRE
DEBIAN-CVE-2026-120208 · OSV
CVE-2026-120208 · OSV
GHSA-x8r2-mggj-j6wr · GHSA
UBUNTU-CVE-2026-120208 · OSV
Track software like this
Free during beta