CVE catalog

CVE-2025-68431

libheif vulnerabilities

[CVE catalog]

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

libheif is an HEIF and AVIF file format decoder and encoder. Prior to version 1.21.0, a crafted HEIF that exercises the overlay image item path triggers a heap buffer over-read in `HeifPixelImage::overlay()`. The function computes a negative row length (likely from an unclipped overlay rectangle or invalid offsets), which then underflows when converted to `size_t` and is passed to `memcpy`, causing a very large read past the end of the source plane and a crash. Version 1.21.0 contains a patch. As a workaround, avoid decoding images using `iovl` overlay boxes.

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
UbuntulibheifnobleNot reportedvulnerable
Ubuntulibheifnoble1.17.6-1ubuntu4.2fixed
Ubuntuheif-gdk-pixbufnoble1.17.6-1ubuntu4.2fixed
Ubuntuheif-thumbnailernoble1.17.6-1ubuntu4.2fixed
Ubuntulibheif-devnoble1.17.6-1ubuntu4.2fixed
Ubuntulibheif-examplesnoble1.17.6-1ubuntu4.2fixed
Ubuntulibheif-plugin-aomdecnoble1.17.6-1ubuntu4.2fixed
Ubuntulibheif-plugin-aomencnoble1.17.6-1ubuntu4.2fixed
Ubuntulibheif-plugin-dav1dnoble1.17.6-1ubuntu4.2fixed
Ubuntulibheif-plugin-ffmpegdecnoble1.17.6-1ubuntu4.2fixed
Ubuntulibheif-plugin-j2kdecnoble1.17.6-1ubuntu4.2fixed
Ubuntulibheif-plugin-j2kencnoble1.17.6-1ubuntu4.2fixed
Ubuntulibheif-plugin-jpegdecnoble1.17.6-1ubuntu4.2fixed
Ubuntulibheif-plugin-jpegencnoble1.17.6-1ubuntu4.2fixed
Ubuntulibheif-plugin-libde265noble1.17.6-1ubuntu4.2fixed
Ubuntulibheif-plugin-rav1enoble1.17.6-1ubuntu4.2fixed
Ubuntulibheif-plugin-svtencnoble1.17.6-1ubuntu4.2fixed
Ubuntulibheif-plugin-x265noble1.17.6-1ubuntu4.2fixed
Ubuntulibheif1noble1.17.6-1ubuntu4.2fixed
CpelibheifNot reported1.21.0fixed
Alpinelibheif3.231.21.2-r0fixed
Suselibheiflinux enterprise module for desktop applications 15 sp71.23.0-150700.3.15.1fixed
Suselibheiflinux enterprise module for package hub 15 sp71.23.0-150700.3.15.1fixed
Opensuselibheifleap 16.01.23.0-160000.1.1fixed
Suselibheiflinux enterprise server 16.01.23.0-160000.1.1fixed
Suselibheiflinux enterprise server for sap applications 16.01.23.0-160000.1.1fixed
Ubuntulibheifpro1.11.0-1vulnerable
Ubuntulibheifpro1.12.0-2build1vulnerable
Ubuntulibheifpro1.12.0-2ubuntu0.1~esm1vulnerable
Ubuntulibheifpro1.12.0-2ubuntu0.1~esm2fixed
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.2fixed
Ubuntulibheif25.101.19.7-1vulnerable
Ubuntulibheif25.101.19.8-1vulnerable
Ubuntulibheif25.101.20.2-1vulnerable
Ubuntulibheif25.101.20.2-1ubuntu0.1fixed
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-1fixed
Opensuselibheifleap 16.01.19.7-160000.3.1fixed
Opensuselibheiftumbleweed1.21.1-1.1fixed
Suselibheiflinux enterprise server 16.01.19.7-160000.3.1fixed
Suselibheiflinux enterprise server for sap applications 16.01.19.7-160000.3.1fixed
Opensuselibheifleap 15.61.12.0-150400.3.17.1fixed
Suselibheiflinux enterprise module for desktop applications 15 sp71.19.5-150700.3.3.1fixed
Suselibheiflinux enterprise module for package hub 15 sp71.19.5-150700.3.3.1fixed
Fedoralibheif430:1.23.5-3.fc43fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibheifsourcesid1.21.2-1not yet assignedNot reported[1124317]
Debianlibheifsourceforky1.21.2-1not yet assignedNot reported[1124317]
Debianlibheifsourcetrixie1.19.8-1+deb13u1not yet assignedNot reported[1124317]
Debianlibheifsourcebookworm(unfixed)not yet assignedNot reported[1124317]
Ubuntulibheifdebnoble1.17.6-1ubuntu4.2Not reportedNot reportedNot reported
Ubuntuheif-gdk-pixbufdebnoble1.17.6-1ubuntu4.2Not reportedNot reportedNot reported
Ubuntuheif-thumbnailerdebnoble1.17.6-1ubuntu4.2Not reportedNot reportedNot reported
Ubuntulibheif-devdebnoble1.17.6-1ubuntu4.2Not reportedNot reportedNot reported
Ubuntulibheif-examplesdebnoble1.17.6-1ubuntu4.2Not reportedNot reportedNot reported
Ubuntulibheif-plugin-aomdecdebnoble1.17.6-1ubuntu4.2Not reportedNot reportedNot reported
Ubuntulibheif-plugin-aomencdebnoble1.17.6-1ubuntu4.2Not reportedNot reportedNot reported
Ubuntulibheif-plugin-dav1ddebnoble1.17.6-1ubuntu4.2Not reportedNot reportedNot reported
Ubuntulibheif-plugin-ffmpegdecdebnoble1.17.6-1ubuntu4.2Not reportedNot reportedNot reported
Ubuntulibheif-plugin-j2kdecdebnoble1.17.6-1ubuntu4.2Not reportedNot reportedNot reported
Ubuntulibheif-plugin-j2kencdebnoble1.17.6-1ubuntu4.2Not reportedNot reportedNot reported
Ubuntulibheif-plugin-jpegdecdebnoble1.17.6-1ubuntu4.2Not reportedNot reportedNot reported
Ubuntulibheif-plugin-jpegencdebnoble1.17.6-1ubuntu4.2Not reportedNot reportedNot reported
Ubuntulibheif-plugin-libde265debnoble1.17.6-1ubuntu4.2Not reportedNot reportedNot reported
Ubuntulibheif-plugin-rav1edebnoble1.17.6-1ubuntu4.2Not reportedNot reportedNot reported
Ubuntulibheif-plugin-svtencdebnoble1.17.6-1ubuntu4.2Not reportedNot reportedNot reported
Ubuntulibheif-plugin-x265debnoble1.17.6-1ubuntu4.2Not reportedNot reportedNot reported
Ubuntulibheif1debnoble1.17.6-1ubuntu4.2Not reportedNot reportedNot reported
CpelibheifcpeNot reported1.21.0Not reportedNVD-CVE-2025-68431Not reported
Alpinelibheifapk3.231.21.2-r0Not reportedALPINE-CVE-2025-68431Not reported
Suselibheifrpmlinux enterprise module for desktop applications 15 sp71.23.0-150700.3.15.1Not reportedSUSE-SU-2026:2622-1Not reported
Suselibheifrpmlinux enterprise module for package hub 15 sp71.23.0-150700.3.15.1Not reportedSUSE-SU-2026:2622-1Not reported
Opensuselibheifrpmleap 16.01.23.0-160000.1.1Not reportedOPENSUSE-SU-2026:20974-1Not reported
Suselibheifrpmlinux enterprise server 16.01.23.0-160000.1.1Not reportedSUSE-SU-2026:22153-1Not reported
Suselibheifrpmlinux enterprise server for sap applications 16.01.23.0-160000.1.1Not reportedSUSE-SU-2026:22153-1Not reported
Ubuntulibheifdebpro1.12.0-2ubuntu0.1~esm2Not reportedUBUNTU-CVE-2025-68431Not reported
Ubuntulibheifdeb24.041.17.6-1ubuntu4.2Not reportedUBUNTU-CVE-2025-68431Not reported
Ubuntulibheifdeb25.101.20.2-1ubuntu0.1Not reportedUBUNTU-CVE-2025-68431Not reported
Ubuntulibheifdeb26.041.21.2-1Not reportedUBUNTU-CVE-2025-68431Not reported
Opensuselibheifrpmleap 16.01.19.7-160000.3.1Not reportedOPENSUSE-SU-2026:20076-1Not reported
Opensuselibheifrpmtumbleweed1.21.1-1.1Not reportedOPENSUSE-SU-2026:10019-1Not reported
Suselibheifrpmlinux enterprise server 16.01.19.7-160000.3.1Not reportedSUSE-SU-2026:20121-1Not reported
Suselibheifrpmlinux enterprise server for sap applications 16.01.19.7-160000.3.1Not reportedSUSE-SU-2026:20121-1Not reported
Opensuselibheifrpmleap 15.61.12.0-150400.3.17.1Not reportedSUSE-SU-2026:0377-1Not reported
Suselibheifrpmlinux enterprise module for desktop applications 15 sp71.19.5-150700.3.3.1Not reportedSUSE-SU-2026:0087-1Not reported
Suselibheifrpmlinux enterprise module for package hub 15 sp71.19.5-150700.3.3.1Not reportedSUSE-SU-2026:0087-1Not reported
Fedoralibheifrpm430:1.23.5-3.fc43Not reportedFEDORA-2026-022FF83E3E#CVE-2025-68431Not reported

[Debian bug #1124317]

Notes

[bookworm] libheif: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [heif-gdk-pixbuf]Affected

    Source package: [libheif]

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

    • 1.15.1-1+deb12u1 · arm64 · bookworm

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

  • Source package: [libheif]

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

    • 1.15.1-1+deb12u1 · arm64 · bookworm

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

  • [libheif1]Affected

    Source package: [libheif]

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

    • 1.15.1-1+deb12u1 · arm64 · bookworm

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

  • [libheif-dev]Affected

    Source package: [libheif]

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

    • 1.15.1-1+deb12u1 · arm64 · bookworm

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

  • Source package: [libheif]

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

    • 1.15.1-1+deb12u1 · arm64 · bookworm

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

  • Source package: [libheif]

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

  • Source package: [libheif]

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

  • Source package: [libheif]

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

  • Source package: [libheif]

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

  • Source package: [libheif]

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

  • Source package: [libheif]

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

  • Source package: [libheif]

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

  • Source package: [libheif]

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

  • Source package: [libheif]

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

  • Source package: [libheif]

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

  • Source package: [libheif]

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

  • Source package: [libheif]

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

  • Source package: [libheif]

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

      Affected

      usn · libheif · debian · bookworm; usn · libheif · debian · 12

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

      Affected

      usn · libheif · debian · bookworm; usn · 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

      usn · libheif · debian · 13

    • 1.19.8-1 · arm64 · trixie

      Affected · Fixed: 1.19.8-1+deb13u1

      usn · libheif · debian · 13

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

      Fixed · Fixed: 1.19.8-1+deb13u1

      usn · libheif · debian · 13

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

      Fixed · Fixed: 1.19.8-1+deb13u1

      usn · libheif · debian · 13

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

      Fixed · Fixed: 1.19.8-1+deb13u1

      usn · libheif · debian · 13

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

      Fixed · Fixed: 1.19.8-1+deb13u1

      usn · libheif · debian · 13

  • Source package: [libheif]

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

      Affected · Fixed: 1.19.8-1+deb13u1

      usn · libheif · debian · 13

    • 1.19.8-1 · arm64 · trixie

      Affected · Fixed: 1.19.8-1+deb13u1

      usn · libheif · debian · 13

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

      Fixed · Fixed: 1.19.8-1+deb13u1

      usn · libheif · debian · 13

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

      Fixed · Fixed: 1.19.8-1+deb13u1

      usn · libheif · debian · 13

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

      Fixed · Fixed: 1.19.8-1+deb13u1

      usn · libheif · debian · 13

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

      Fixed · Fixed: 1.19.8-1+deb13u1

      usn · libheif · debian · 13

Next results

Observed:

References

[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [Fedora security updates (Bodhi)] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]