CVE catalog

CVE-2026-62291

libheif is a HEIF and AVIF file format decoder and encoder. In 1.23.0 and earlier, a crafted image sequence with a 2x2 primary plane and a 256x256 auxiliary alpha plane can cause attacker-controlled h

[CVE catalog]

Severity
High · CVSS 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.19% · Oct 25, 2026

libheif is a HEIF and AVIF file format decoder and encoder. In 1.23.0 and earlier, a crafted image sequence with a 2x2 primary plane and a 256x256 auxiliary alpha plane can cause attacker-controlled heap corruption during a normal decode and re-encode workflow. Track_Visual::decode_next_image_sample() calls transfer_channel_from_image_as() without checking that the auxiliary alpha dimensions match the main frame. The resulting inconsistent image reaches heif_track_decode_next_image() and then heif_context_encode_image(). In unc_encoder::encode(), unc_encoder_component_interleave::encode_tile() sizes its buffer with compute_tile_data_size_bytes() using the primary dimensions but copies each component using its actual plane dimensions. The oversized alpha plane is therefore copied beyond the allocation, causing an out-of-bounds write; the inverse size mismatch can also produce an out-of-bounds read. This issue is fixed in version 1.23.1.

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+deb12u1not affected
Debianlibheifbookworm-security1.15.1-1+deb12u1not affected
Ubuntulibheifnoble1.17.6-1ubuntu4.8fixed
Ubuntuheif-gdk-pixbufnoble1.17.6-1ubuntu4.8fixed
Ubuntuheif-thumbnailernoble1.17.6-1ubuntu4.8fixed
Ubuntulibheif-devnoble1.17.6-1ubuntu4.8fixed
Ubuntulibheif-examplesnoble1.17.6-1ubuntu4.8fixed
Ubuntulibheif-plugin-aomdecnoble1.17.6-1ubuntu4.8fixed
Ubuntulibheif-plugin-aomencnoble1.17.6-1ubuntu4.8fixed
Ubuntulibheif-plugin-dav1dnoble1.17.6-1ubuntu4.8fixed
Ubuntulibheif-plugin-ffmpegdecnoble1.17.6-1ubuntu4.8fixed
Ubuntulibheif-plugin-j2kdecnoble1.17.6-1ubuntu4.8fixed
Ubuntulibheif-plugin-j2kencnoble1.17.6-1ubuntu4.8fixed
Ubuntulibheif-plugin-jpegdecnoble1.17.6-1ubuntu4.8fixed
Ubuntulibheif-plugin-jpegencnoble1.17.6-1ubuntu4.8fixed
Ubuntulibheif-plugin-libde265noble1.17.6-1ubuntu4.8fixed
Ubuntulibheif-plugin-rav1enoble1.17.6-1ubuntu4.8fixed
Ubuntulibheif-plugin-svtencnoble1.17.6-1ubuntu4.8fixed
Ubuntulibheif-plugin-x265noble1.17.6-1ubuntu4.8fixed
Ubuntulibheif1noble1.17.6-1ubuntu4.8fixed
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.1vulnerable
Ubuntulibheif26.041.21.2-3ubuntu0.2vulnerable
Ubuntulibheif26.041.21.2-3ubuntu0.3vulnerable
Ubuntulibheif26.041.21.2-3ubuntu0.4vulnerable
Ubuntulibheif26.041.21.2-3ubuntu0.5fixed
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.4vulnerable
Ubuntulibheif24.041.17.6-1ubuntu4.5vulnerable
Ubuntulibheif24.041.17.6-1ubuntu4.6vulnerable
Ubuntulibheif24.041.17.6-1ubuntu4.7vulnerable
Ubuntulibheif24.041.17.6-1ubuntu4.8fixed
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.1vulnerable
Ubuntulibheif26.041.21.2-3ubuntu0.2vulnerable
Ubuntulibheif26.041.21.2-3ubuntu0.3vulnerable
Ubuntulibheif26.041.21.2-3ubuntu0.4vulnerable
Ubuntulibheif26.041.21.2-3ubuntu0.5fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibheifsourcesid1.23.1-1not yet assignedNot reportedNot reported
Debianlibheifsourceforky1.23.1-1not yet assignedNot reportedNot reported
DebianlibheifsourcetrixieNot affectedunimportantNot reportedNot reported
DebianlibheifsourcebookwormNot affectedunimportantNot reportedNot reported
Ubuntulibheifdebnoble1.17.6-1ubuntu4.8Not reportedNot reportedNot reported
Ubuntuheif-gdk-pixbufdebnoble1.17.6-1ubuntu4.8Not reportedNot reportedNot reported
Ubuntuheif-thumbnailerdebnoble1.17.6-1ubuntu4.8Not reportedNot reportedNot reported
Ubuntulibheif-devdebnoble1.17.6-1ubuntu4.8Not reportedNot reportedNot reported
Ubuntulibheif-examplesdebnoble1.17.6-1ubuntu4.8Not reportedNot reportedNot reported
Ubuntulibheif-plugin-aomdecdebnoble1.17.6-1ubuntu4.8Not reportedNot reportedNot reported
Ubuntulibheif-plugin-aomencdebnoble1.17.6-1ubuntu4.8Not reportedNot reportedNot reported
Ubuntulibheif-plugin-dav1ddebnoble1.17.6-1ubuntu4.8Not reportedNot reportedNot reported
Ubuntulibheif-plugin-ffmpegdecdebnoble1.17.6-1ubuntu4.8Not reportedNot reportedNot reported
Ubuntulibheif-plugin-j2kdecdebnoble1.17.6-1ubuntu4.8Not reportedNot reportedNot reported
Ubuntulibheif-plugin-j2kencdebnoble1.17.6-1ubuntu4.8Not reportedNot reportedNot reported
Ubuntulibheif-plugin-jpegdecdebnoble1.17.6-1ubuntu4.8Not reportedNot reportedNot reported
Ubuntulibheif-plugin-jpegencdebnoble1.17.6-1ubuntu4.8Not reportedNot reportedNot reported
Ubuntulibheif-plugin-libde265debnoble1.17.6-1ubuntu4.8Not reportedNot reportedNot reported
Ubuntulibheif-plugin-rav1edebnoble1.17.6-1ubuntu4.8Not reportedNot reportedNot reported
Ubuntulibheif-plugin-svtencdebnoble1.17.6-1ubuntu4.8Not reportedNot reportedNot reported
Ubuntulibheif-plugin-x265debnoble1.17.6-1ubuntu4.8Not reportedNot reportedNot reported
Ubuntulibheif1debnoble1.17.6-1ubuntu4.8Not reportedNot reportedNot reported
Ubuntulibheifdeb26.041.21.2-3ubuntu0.5Not reportedUSN-8774-1Not reported
Ubuntulibheifdeb24.041.17.6-1ubuntu4.8Not reportedUBUNTU-CVE-2026-62291Not reported
Ubuntulibheifdeb26.041.21.2-3ubuntu0.5Not reportedUBUNTU-CVE-2026-62291Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [heif-gdk-pixbuf]Not affected

    Source package: [libheif]

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

      Not affected

      nvd · libheif · debian · bookworm

    • 1.15.1-1+deb12u1 · arm64 · bookworm

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

  • [heif-thumbnailer]Not affected

    Source package: [libheif]

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

      Not affected

      nvd · libheif · debian · bookworm

    • 1.15.1-1+deb12u1 · arm64 · bookworm

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

  • [libheif1]Not affected

    Source package: [libheif]

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

      Not affected

      nvd · libheif · debian · bookworm

    • 1.15.1-1+deb12u1 · arm64 · bookworm

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

  • [libheif-dev]Not affected

    Source package: [libheif]

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

      Not affected

      nvd · libheif · debian · bookworm

    • 1.15.1-1+deb12u1 · arm64 · bookworm

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

  • [libheif-examples]Not affected

    Source package: [libheif]

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

      Not affected

      nvd · libheif · debian · bookworm

    • 1.15.1-1+deb12u1 · arm64 · bookworm

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

  • [libheif-plugin-aomdec]Not affected

    Source package: [libheif]

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

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

  • [libheif-plugin-aomenc]Not affected

    Source package: [libheif]

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

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

  • [libheif-plugin-dav1d]Not affected

    Source package: [libheif]

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

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

  • Source package: [libheif]

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

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

  • [libheif-plugin-j2kdec]Not affected

    Source package: [libheif]

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

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

  • [libheif-plugin-j2kenc]Not affected

    Source package: [libheif]

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

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

  • Source package: [libheif]

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

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

  • Source package: [libheif]

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

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

  • Source package: [libheif]

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

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

  • [libheif-plugin-rav1e]Not affected

    Source package: [libheif]

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

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

  • [libheif-plugins-all]Not affected

    Source package: [libheif]

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

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

  • [libheif-plugin-svtenc]Not affected

    Source package: [libheif]

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

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

  • [libheif-plugin-x265]Not affected

    Source package: [libheif]

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

      Not affected

      nvd · libheif · debian · bookworm

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

      Not affected

      nvd · libheif · debian · bookworm

Observed:

References