CVE catalog

CVE-2026-32738

libheif is a HEIF and AVIF file format decoder and encoder. In versions 1.21.2 and below, a crafted 792-byte HEIF sequence file with samples_per_chunk=0 in the stsc box causes an unsigned integer unde

[CVE catalog]

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

libheif is a HEIF and AVIF file format decoder and encoder. In versions 1.21.2 and below, a crafted 792-byte HEIF sequence file with samples_per_chunk=0 in the stsc box causes an unsigned integer underflow in the Chunk constructor (m_last_sample = 0 + 0 - 1 = UINT32_MAX), mapping all samples to an empty chunk and resulting in a denial of service. When any sample is accessed, the library reads from index 0 of an empty std::vector, causing a guaranteed SEGV (null-page read). The file parses successfully without producing an error; the crash occurs on the first frame access. 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
CpelibheifNot reported1.22.0fixed
Alpinelibheif3.231.23.0-r0fixed
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
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
Opensuselibheiftumbleweed1.22.2-1.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
CpelibheifcpeNot reported1.22.0Not reportedNot reportedNot reported
Alpinelibheifapk3.231.23.0-r0Not reportedALPINE-CVE-2026-32738Not reported
Ubuntulibheifdebpro1.12.0-2ubuntu0.1~esm3Not reportedUSN-8454-1Not reported
Ubuntulibheifdeb24.041.17.6-1ubuntu4.4Not reportedUSN-8454-1Not reported
Ubuntulibheifdeb25.101.20.2-1ubuntu0.4Not reportedUSN-8454-1Not reported
Ubuntulibheifdeb26.041.21.2-3ubuntu0.1Not reportedUSN-8454-1Not reported
Ubuntulibheifdeb25.101.20.2-1ubuntu0.4Not reportedUBUNTU-CVE-2026-32738Not reported
Ubuntulibheifdeb26.041.21.2-3ubuntu0.1Not reportedUBUNTU-CVE-2026-32738Not reported
Opensuselibheifrpmtumbleweed1.22.2-1.1Not reportedOPENSUSE-SU-2026:10878-1Not 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

[openSUSE Tumbleweed]

  • Source package: [libheif]

    Details (1)
    • 1.23.1-2.1 · x86_64 · tumbleweed

      Unknown · Fixed: 1.22.2-1.1

      Version impact unknown

      nvd · libheif · opensuse · tumbleweed

  • [libheif1]Unknown

    Source package: [libheif]

    Details (1)
    • 1.23.1-2.1 · x86_64 · tumbleweed

      Unknown · Fixed: 1.22.2-1.1

      Version impact unknown

      nvd · libheif · opensuse · tumbleweed

Next results

Observed:

References