| Product | libheif A third-party product. The advisory mentions Chroma, but this is not a vulnerability in it: it is not counted in its CVEs. |
| Severity | high (CVSS 7.5) |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Published (NVD) | 2026-10-31 |
| Affected versions | libheif: >= 1.18.0, < 1.23.3 read from the advisory text: no structured source gives these versions yet |
| Fixed in | 1.23.3 |
| Weakness | CWE-122 |
| CISA KEV | not listed |
NVD description
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.
What to do
- Upgrade libheif to
1.23.3or later. - Do not expose the component's API or UI to the internet without authentication in front of it.
Sources
- NVD: CVE-2026-120208
- https://github.com/strukturag/libheif/blob/v1.23.2/libheif/codecs/uncompressed/unc_decoder_mixed_interleave.cc#L95
- https://github.com/strukturag/libheif/commit/9d3cd91d7b1c8c68deef6d06057ab956bcb0dfb9
- https://github.com/strukturag/libheif/releases/tag/v1.23.3
- https://github.com/strukturag/libheif/security/advisories/GHSA-x8r2-mggj-j6wr
- https://www.vulncheck.com/advisories/libheif-1.18.0-before-1.23.3-heap-buffer-overflow-via-unci-mixed-interleave-decoder