{"id":"CVE-2026-32740","aliases":["CVE-2026-32740"],"related":[],"kind":"vulnerability","state":"published","title":"libheif: Heap-Buffer-Overflow Write in Grid Tile Chroma Compositing","summary":"libheif is a HEIF and AVIF file format decoder and encoder. Versions 1.21.2 and prior contain a heap-buffer-overflow (write) vulnerability in the grid tile compositing, allowing an attacker to write 64 bytes of fully attacker-controlled data past the end of a chroma plane heap allocation by crafting a HEIF/AVIF file with a 1×4 grid of odd-height tiles. The overflow is triggered during normal image decoding with default build configuration. The written bytes are chroma (Cb/Cr) pixel values from the attacking tile, giving the attacker full control over the overflow content. This issue has been fixed in version 1.22.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"libheif is a HEIF and AVIF file format decoder and encoder. Versions 1.21.2 and prior contain a heap-buffer-overflow (write) vulnerability in the grid tile compositing, allowing an attacker to write 64 bytes of fully attacker-controlled data past the end of a chroma plane heap allocation by crafting a HEIF/AVIF file with a 1×4 grid of odd-height tiles. The overflow is triggered during normal image decoding with default build configuration. The written bytes are chroma (Cb/Cr) pixel values from the attacking tile, giving the attacker full control over the overflow content. This issue has been fixed in version 1.22.0.","source":"cvelist"},{"lang":"es","text":"libheif es un decodificador y codificador de formato de archivo HEIF y AVIF. Las versiones 1.21.2 y anteriores contienen una vulnerabilidad de desbordamiento de búfer de montón (escritura) en la composición de mosaicos de cuadrícula, permitiendo a un atacante escribir 64 bytes de datos totalmente controlados por el atacante más allá del final de una asignación de montón del plano de croma al crear un archivo HEIF/AVIF con una cuadrícula de 1×4 de mosaicos de altura impar. El desbordamiento se activa durante la decodificación normal de la imagen con la configuración de compilación predeterminada. Los bytes escritos son valores de píxeles de croma (Cb/Cr) del mosaico atacante, dando al atacante control total sobre el contenido del desbordamiento. Este problema ha sido solucionado en la versión 1.22.0.","source":"nvd"}],"published":"2026-05-19T19:22:07.743Z","modified":"2026-07-24T09:10:00.153Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"version":"< 1.22.0","status":"affected"}],"vendor":"strukturag","product":"libheif","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"glycin-loaders","cpe":"cpe:/o:redhat:enterprise_linux:10","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.22.0"}],"vendor":"struktur","product":"libheif","cpe":"cpe:2.3:a:struktur:libheif:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/strukturag/libheif/security/advisories/GHSA-frfr-f3vg-2g6j","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/strukturag/libheif/releases/tag/v1.22.0","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-32740","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2479969","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32740.json","tags":["x-sadp-csaf-vex"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-05-21T03:55:32.284Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-32740","url":"https://www.cve.org/CVERecord?id=CVE-2026-32740","licence":"CVE Terms of Use","modified":"2026-07-15T01:07:45.388Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-32740","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32740","licence":"Public domain","modified":"2026-07-24T09:10:00.153Z"}],"updatedAt":"2026-11-25T22:59:21.996Z","epss":{"score":0.00684,"percentile":0.5385,"date":"2026-12-01T12:00:22.000Z"}}