CVE catalog

CVE-2026-32740

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 6

[CVE catalog]

Severity
High · CVSS 8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.68% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibheifsid1.23.6-2fixed
Debianlibheifforky1.23.6-2fixed
Debianlibheiftrixie1.19.8-1+deb13u1fixed
Debianlibheiftrixie-security1.23.6-2~deb13u1fixed
Debianlibheifbookworm1.15.1-1+deb12u1vulnerable
Debianlibheifbookworm-security1.15.1-1+deb12u1vulnerable
CpelibheifNot reported1.17.6-1ubuntu4.4fixed
Cpeheif-gdk-pixbufNot reported1.17.6-1ubuntu4.4fixed
Cpeheif-thumbnailerNot reported1.17.6-1ubuntu4.4fixed
Cpelibheif-devNot reported1.17.6-1ubuntu4.4fixed
Cpelibheif-examplesNot reported1.17.6-1ubuntu4.4fixed
Cpelibheif-plugin-aomdecNot reported1.17.6-1ubuntu4.4fixed
Cpelibheif-plugin-aomencNot reported1.17.6-1ubuntu4.4fixed
Cpelibheif-plugin-dav1dNot reported1.17.6-1ubuntu4.4fixed
Cpelibheif-plugin-ffmpegdecNot reported1.17.6-1ubuntu4.4fixed
Cpelibheif-plugin-j2kdecNot reported1.17.6-1ubuntu4.4fixed
Cpelibheif-plugin-j2kencNot reported1.17.6-1ubuntu4.4fixed
Cpelibheif-plugin-jpegdecNot reported1.17.6-1ubuntu4.4fixed
Cpelibheif-plugin-jpegencNot reported1.17.6-1ubuntu4.4fixed
Cpelibheif-plugin-libde265Not reported1.17.6-1ubuntu4.4fixed
Cpelibheif-plugin-rav1eNot reported1.17.6-1ubuntu4.4fixed
Cpelibheif-plugin-svtencNot reported1.17.6-1ubuntu4.4fixed
Cpelibheif-plugin-x265Not reported1.17.6-1ubuntu4.4fixed
Cpelibheif1Not reported1.17.6-1ubuntu4.4fixed
CpelibheifNot reportedNot reportedvulnerable
CpelibheifNot reported1.22.0fixed
Alpinelibheif3.231.23.0-r0fixed
Ubuntulibheif25.101.19.7-1vulnerable
Ubuntulibheif25.101.19.8-1vulnerable
Ubuntulibheif25.101.20.2-1vulnerable
Ubuntulibheif25.101.20.2-1ubuntu0.1vulnerable
Ubuntulibheif25.101.20.2-1ubuntu0.3vulnerable
Ubuntulibheif25.101.20.2-1ubuntu0.4fixed
Ubuntulibheif26.041.20.2-1vulnerable
Ubuntulibheif26.041.20.2-2vulnerable
Ubuntulibheif26.041.20.2-2build1vulnerable
Ubuntulibheif26.041.20.2-2build2vulnerable
Ubuntulibheif26.041.20.2-2ubuntu1vulnerable
Ubuntulibheif26.041.21.2-1vulnerable
Ubuntulibheif26.041.21.2-3vulnerable
Ubuntulibheif26.041.21.2-3ubuntu0.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibheifsourcesid1.23.1-1not yet assignedNot reported[1137524]
Debianlibheifsourceforky1.23.1-1not yet assignedNot reported[1137524]
Debianlibheifsourcetrixie1.19.8-1+deb13u1not yet assignedNot reported[1137524]
Debianlibheifsourcebookworm(unfixed)not yet assignedNot reported[1137524]
CpelibheifcpeNot reported1.17.6-1ubuntu4.4Not reportedNot reportedNot reported
Cpeheif-gdk-pixbufcpeNot reported1.17.6-1ubuntu4.4Not reportedNot reportedNot reported
Cpeheif-thumbnailercpeNot reported1.17.6-1ubuntu4.4Not reportedNot reportedNot reported
Cpelibheif-devcpeNot reported1.17.6-1ubuntu4.4Not reportedNot reportedNot reported
Cpelibheif-examplescpeNot reported1.17.6-1ubuntu4.4Not reportedNot reportedNot reported
Cpelibheif-plugin-aomdeccpeNot reported1.17.6-1ubuntu4.4Not reportedNot reportedNot reported
Cpelibheif-plugin-aomenccpeNot reported1.17.6-1ubuntu4.4Not reportedNot reportedNot reported
Cpelibheif-plugin-dav1dcpeNot reported1.17.6-1ubuntu4.4Not reportedNot reportedNot reported
Cpelibheif-plugin-ffmpegdeccpeNot reported1.17.6-1ubuntu4.4Not reportedNot reportedNot reported
Cpelibheif-plugin-j2kdeccpeNot reported1.17.6-1ubuntu4.4Not reportedNot reportedNot reported
Cpelibheif-plugin-j2kenccpeNot reported1.17.6-1ubuntu4.4Not reportedNot reportedNot reported
Cpelibheif-plugin-jpegdeccpeNot reported1.17.6-1ubuntu4.4Not reportedNot reportedNot reported
Cpelibheif-plugin-jpegenccpeNot reported1.17.6-1ubuntu4.4Not reportedNot reportedNot reported
Cpelibheif-plugin-libde265cpeNot reported1.17.6-1ubuntu4.4Not reportedNot reportedNot reported
Cpelibheif-plugin-rav1ecpeNot reported1.17.6-1ubuntu4.4Not reportedNot reportedNot reported
Cpelibheif-plugin-svtenccpeNot reported1.17.6-1ubuntu4.4Not reportedNot reportedNot reported
Cpelibheif-plugin-x265cpeNot reported1.17.6-1ubuntu4.4Not reportedNot reportedNot reported
Cpelibheif1cpeNot reported1.17.6-1ubuntu4.4Not reportedNot reportedNot reported
CpelibheifcpeNot reported1.22.0Not reportedNot reportedNot reported
Alpinelibheifapk3.231.23.0-r0Not reportedALPINE-CVE-2026-32740Not reported
Ubuntulibheifdeb25.101.20.2-1ubuntu0.4Not reportedUBUNTU-CVE-2026-32740Not reported
Ubuntulibheifdeb26.041.21.2-3ubuntu0.1Not reportedUBUNTU-CVE-2026-32740Not reported

[Debian bug #1137524]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [heif-gdk-pixbuf]Affected

    Source package: [libheif]

    Details (6)
    • 1.15.1-1+deb12u1 · amd64 · bookworm

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.15.1-1+deb12u1 · arm64 · bookworm

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.15.1-1+deb12u1 · amd64 · bookworm-security

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.15.1-1+deb12u1 · arm64 · bookworm-security

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • Source package: [libheif]

    Details (6)
    • 1.15.1-1+deb12u1 · amd64 · bookworm

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.15.1-1+deb12u1 · arm64 · bookworm

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.15.1-1+deb12u1 · amd64 · bookworm-security

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.15.1-1+deb12u1 · arm64 · bookworm-security

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • [libheif1]Affected

    Source package: [libheif]

    Details (6)
    • 1.15.1-1+deb12u1 · amd64 · bookworm

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.15.1-1+deb12u1 · arm64 · bookworm

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.15.1-1+deb12u1 · amd64 · bookworm-security

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.15.1-1+deb12u1 · arm64 · bookworm-security

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • [libheif-dev]Affected

    Source package: [libheif]

    Details (6)
    • 1.15.1-1+deb12u1 · amd64 · bookworm

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.15.1-1+deb12u1 · arm64 · bookworm

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.15.1-1+deb12u1 · amd64 · bookworm-security

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.15.1-1+deb12u1 · arm64 · bookworm-security

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • Source package: [libheif]

    Details (6)
    • 1.15.1-1+deb12u1 · amd64 · bookworm

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.15.1-1+deb12u1 · arm64 · bookworm

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.15.1-1+deb12u1 · amd64 · bookworm-security

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.15.1-1+deb12u1 · arm64 · bookworm-security

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • Source package: [libheif]

    Details (2)
    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • Source package: [libheif]

    Details (2)
    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • Source package: [libheif]

    Details (2)
    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • Source package: [libheif]

    Details (2)
    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • Source package: [libheif]

    Details (2)
    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • Source package: [libheif]

    Details (2)
    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • Source package: [libheif]

    Details (2)
    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • Source package: [libheif]

    Details (2)
    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • Source package: [libheif]

    Details (2)
    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • Source package: [libheif]

    Details (2)
    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • Source package: [libheif]

    Details (2)
    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • Source package: [libheif]

    Details (2)
    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • Source package: [libheif]

    Details (2)
    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

[Debian 13 (Trixie)]

  • [heif-gdk-pixbuf]Affected

    Source package: [libheif]

    Details (6)
    • 1.19.8-1 · amd64 · trixie

      Affected · Fixed: 1.19.8-1+deb13u1

      nvd · libheif · debian · 13

    • 1.19.8-1 · arm64 · trixie

      Affected · Fixed: 1.19.8-1+deb13u1

      nvd · libheif · debian · 13

    • 1.19.8-1+deb13u1 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 1.19.8-1+deb13u1

      nvd · libheif · debian · 13

    • 1.19.8-1+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 1.19.8-1+deb13u1

      nvd · libheif · debian · 13

    • 1.23.4-1~deb13u1 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 1.19.8-1+deb13u1

      nvd · libheif · debian · 13

    • 1.23.6-2~deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 1.19.8-1+deb13u1

      nvd · libheif · debian · 13

  • Source package: [libheif]

    Details (6)
    • 1.19.8-1 · amd64 · trixie

      Affected · Fixed: 1.19.8-1+deb13u1

      nvd · libheif · debian · 13

    • 1.19.8-1 · arm64 · trixie

      Affected · Fixed: 1.19.8-1+deb13u1

      nvd · libheif · debian · 13

    • 1.19.8-1+deb13u1 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 1.19.8-1+deb13u1

      nvd · libheif · debian · 13

    • 1.19.8-1+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 1.19.8-1+deb13u1

      nvd · libheif · debian · 13

    • 1.23.4-1~deb13u1 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 1.19.8-1+deb13u1

      nvd · libheif · debian · 13

    • 1.23.6-2~deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 1.19.8-1+deb13u1

      nvd · libheif · debian · 13

Next results

Observed:

References