CVE-2026-84383
libheif: libheif: Heap buffer overflow in `scale_nearest_neighbor()` via duplicate Alpha planes from nested `iden`/`auxl` items
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut Red Hat.
Beschreibung
libheif is a HEIF and AVIF file format decoder and encoder. From 1.22.0 until 1.23.2, a crafted HEIF, HEIC, or AVIF item graph using nested iden and auxl references can make HeifPixelImage::transfer_channel_from_image_as() append duplicate Alpha planes with different bit depths to m_storage. HeifPixelImage::scale_nearest_neighbor() in libheif/image/pixelimage.cc allocates the destination Alpha plane using the first plane's 8-bit depth, then iterates a later 10-bit or 12-bit Alpha component and writes uint16_t samples into the same 8-bit allocation. The output geometry controls the overflow extent and the encoded sample values control the data written, allowing a remote file processed by heif_decode_image() to cause a heap out-of-bounds write. This issue is fixed in version 1.23.2.
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| debian 11 | libheif | kein Fix angegeben |
| debian 14 | libheif | 1.23.2-1 |
| minimos | libheif | 1.23.2-r0 |
| rapidfort alpine 3.20 | libheif | 1.23.4-r0 |
| rapidfort alpine 3.21 | libheif | 1.23.4-r0 |
| rapidfort alpine 3.22 | libheif | 1.23.4-r0 |
| rapidfort alpine 3.23 | libheif | 1.23.4-r0 |
| rapidfort alpine 3.24 | libheif | 1.23.4-r0 |
| rapidfort debian 12 | libheif, rf-libheif | 0:1.23.2-1 |
| rapidfort debian 13 | libheif, rf-libheif | 0:1.23.2-1 |
| rapidfort fedora 43 | libheif, libheif-devel, libheif-tools | 0:1.23.5-3.fc43 und 1 weitere |
| rapidfort Oracle Linux 10 | libheif, libheif-devel, libheif-tools | 1.23.5-3.el10_2 |
Alle 21 Einträge aus 13 Quellen zeigen
| Quelle | Paket | Behoben in |
|---|---|---|
| debian 11 | libheif | kein Fix angegeben |
| debian 14 | libheif | 1.23.2-1 |
| minimos | libheif | 1.23.2-r0 |
| rapidfort alpine 3.20 | libheif | 1.23.4-r0 |
| rapidfort alpine 3.21 | libheif | 1.23.4-r0 |
| rapidfort alpine 3.22 | libheif | 1.23.4-r0 |
| rapidfort alpine 3.23 | libheif | 1.23.4-r0 |
| rapidfort alpine 3.24 | libheif | 1.23.4-r0 |
| rapidfort debian 12 | libheif | 0:1.23.2-1 |
| rapidfort debian 12 | rf-libheif | 0:1.23.2-1 |
| rapidfort debian 13 | libheif | 0:1.23.2-1 |
| rapidfort debian 13 | rf-libheif | 0:1.23.2-1 |
| rapidfort fedora 43 | libheif | 0:1.23.5-3.fc43 |
| rapidfort fedora 43 | libheif-devel | 1.23.5-3.fc43 |
| rapidfort fedora 43 | libheif-tools | 1.23.5-3.fc43 |
| rapidfort Oracle Linux 10 | libheif | 1.23.5-3.el10_2 |
| rapidfort Oracle Linux 10 | libheif-devel | 1.23.5-3.el10_2 |
| rapidfort Oracle Linux 10 | libheif-tools | 1.23.5-3.el10_2 |
| rapidfort Oracle Linux 9 | libheif | 1.23.5-1.el9 |
| rapidfort Oracle Linux 9 | libheif-devel | 1.23.5-1.el9 |
| rapidfort Oracle Linux 9 | libheif-tools | 1.23.5-1.el9 |
Referenzen
- https://access.redhat.com/security/cve/CVE-2026-84383
- https://github.com/strukturag/libheif/commit/f4fb8bde4704ebb46e46ff9fb94407c9774153b2
- https://github.com/strukturag/libheif/releases/tag/v1.23.2
- https://github.com/strukturag/libheif/security/advisories/GHSA-g89c-p67h-r497
- https://nvd.nist.gov/vuln/detail/CVE-2026-84383
- https://www.cve.org/CVERecord?id=CVE-2026-84383