CVE catalog

CVE-2026-32814

libheif is a HEIF and AVIF file format decoder and encoder. In versions 1.21.2 and prior, when decoding a HEIF grid image with strict_decoding=false (the default), a corrupted tile silently fails to d

[CVE catalog]

Severity
Medium · CVSS 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.31% · Oct 27, 2026

libheif is a HEIF and AVIF file format decoder and encoder. In versions 1.21.2 and prior, when decoding a HEIF grid image with strict_decoding=false (the default), a corrupted tile silently fails to decode and the library returns heif_error_Ok with no indication of failure, leading to an uninitialized heap memory information leak. The canvas is allocated via create_clone_image_at_new_size() → plane.alloc() → new (std::nothrow) uint8_t[allocation_size] which does not zero the memory; only the alpha plane is explicitly initialized via fill_plane(), so the Y, Cb, and Cr planes contain whatever was previously at that heap address. The failed tile's region of the canvas is never written. It retains uninitialized heap data that is delivered to the caller as decoded pixel values (4,096 bytes per Y/Cb/Cr plane = 12,288+ bytes total). Any application using libheif to decode grid-based HEIF/AVIF files with default settings is vulnerable: a crafted .heic or .avif file causes 4,096+ bytes of heap memory to appear as pixel values in the decoded image, and the calling application receives heif_error_Ok, so it has no indication the output contains heap garbage. In server-side image processing, an uploaded crafted HEIF decoded and re-encoded (e.g., as PNG/JPEG for thumbnails, CDN, social media) can leak cross-user data such as auth tokens, database results, and other users' image data. 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+deb13u1not affected
Debianlibheiftrixie-security1.23.6-2~deb13u1not affected
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
Ubuntulibheifpro1.11.0-1vulnerable
Ubuntulibheifpro1.12.0-2build1vulnerable
Ubuntulibheifpro1.12.0-2ubuntu0.1~esm1vulnerable
Ubuntulibheifpro1.12.0-2ubuntu0.1~esm2vulnerable
Ubuntulibheifpro1.12.0-2ubuntu0.1~esm3fixed
Ubuntulibheif24.041.16.2-2ubuntu1vulnerable
Ubuntulibheif24.041.17.1-1ubuntu2vulnerable
Ubuntulibheif24.041.17.1-1ubuntu3vulnerable
Ubuntulibheif24.041.17.4-1ubuntu1vulnerable
Ubuntulibheif24.041.17.6-1ubuntu1vulnerable
Ubuntulibheif24.041.17.6-1ubuntu2vulnerable
Ubuntulibheif24.041.17.6-1ubuntu3vulnerable
Ubuntulibheif24.041.17.6-1ubuntu4vulnerable
Ubuntulibheif24.041.17.6-1ubuntu4.1vulnerable
Ubuntulibheif24.041.17.6-1ubuntu4.2vulnerable
Ubuntulibheif24.041.17.6-1ubuntu4.3vulnerable
Ubuntulibheif24.041.17.6-1ubuntu4.4fixed
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]
DebianlibheifsourcetrixieNot affectedunimportantNot 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
Ubuntulibheifdebpro1.12.0-2ubuntu0.1~esm3Not reportedUBUNTU-CVE-2026-32814Not reported
Ubuntulibheifdeb24.041.17.6-1ubuntu4.4Not reportedUBUNTU-CVE-2026-32814Not reported
Ubuntulibheifdeb25.101.20.2-1ubuntu0.4Not reportedUBUNTU-CVE-2026-32814Not reported
Ubuntulibheifdeb26.041.21.2-3ubuntu0.1Not reportedUBUNTU-CVE-2026-32814Not 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

Observed:

References