Summary
Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2026-49271: 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. CVE-2026-47178: A critical heap-based buffer overflow vulnerability exists in libheif v1.21.2 (and likely earlier versions) within the handling of uncompressed HEIF images (ISO/IEC 23001-17, unci item type). When processing a tiled image with chroma subsampling (e.g., 4:2:0 or 4:2:2), the library fails to scale spatial offsets for the chroma planes. This leads to out-of-bounds memory writes when decoding any tile other than the top-left one, potentially resulting in remote code execution (RCE). (from https://project-zero.issues.chromium.org/issues/507396184)
Fixed packages 8
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2023 | heif-pixbuf-loader | 0:1.19.8-1.amzn2023.0.6 |
| Amazon Linux · 2023 | heif-pixbuf-loader-debuginfo | 0:1.19.8-1.amzn2023.0.6 |
| Amazon Linux · 2023 | libheif | 0:1.19.8-1.amzn2023.0.6 |
| Amazon Linux · 2023 | libheif-debuginfo | 0:1.19.8-1.amzn2023.0.6 |
| Amazon Linux · 2023 | libheif-debugsource | 0:1.19.8-1.amzn2023.0.6 |
| Amazon Linux · 2023 | libheif-devel | 0:1.19.8-1.amzn2023.0.6 |
| Amazon Linux · 2023 | libheif-tools | 0:1.19.8-1.amzn2023.0.6 |
| Amazon Linux · 2023 | libheif-tools-debuginfo | 0:1.19.8-1.amzn2023.0.6 |
Vulnerabilities 2
-
Medium 6.5
libheif: Wrapped icef compressed-unit range check causes out-of-bounds read in uncompressed HEIF decoder
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 r…
-
Medium 6.1
libheif has Heap Out Of Bounds Write in unci subsystem
libheif is a HEIF and AVIF file format decoder and encoder. In versions 1.19.0 through 1.21.2, a crafted HEIF file (uncompressed `unci` codec, tiled, component-interleaved, 4:2:0) triggers a heap out-of-bounds write in libheif's uncompressed tile decoder. The…