7.1

CVE-2025-68431: libheif has Potential Heap Buffer Over-Read

Analyzed
AliasesALPINE-CVE-2025-68431SUSE-SU-2026:0087-1SUSE-SU-2026:20121-1
Published 29-12-2025Last modified 30-12-2025

Vulnerability summary

CVE-2025-68431 is a high (CVSS 7.1) Out-of-bounds Read vulnerability in struktur libheif. EPSS estimates a 0.46% chance of exploitation in the next 30 days, higher than 41.4% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.1/10
010
High · v3.1 (NVD)
EPSS score
0.46%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 5 · Related 4

Timeline

  1. 29-12-2025
    PublishedVulnerability first disclosed.
  2. 30-12-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.46%

Chance of exploitation in the next 30 days

Percentile

41%

Versus all other CVEs

30-day change

Increase +0.03 pp

From 0.43% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Libheif

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Suse4 products
  • libheif&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP7< 1.19.5-150700.3.3.1
  • libheif&distro=SUSE Linux Enterprise Module for Package Hub 15 SP7< 1.19.5-150700.3.3.1
  • libheif&distro=SUSE Linux Enterprise Server 16.0< 1.19.7-160000.3.1
  • libheif&distro=SUSE Linux Enterprise Server for SAP applications 16.0< 1.19.7-160000.3.1
Opensuse3 products
  • libheif&distro=openSUSE Leap 15.6< 1.12.0-150400.3.17.1
  • libheif&distro=openSUSE Leap 16.0< 1.19.7-160000.3.1
  • libheif&distro=openSUSE Tumbleweed< 1.21.1-1.1
Alpine1 product
  • libheif< 1.19.8-r1 | < 1.21.2-r0
Debian1 product
  • libheifAll versions (No fix recorded) | < 1.19.8-1+deb13u1 | < 1.21.2-1
Struktur1 product
Strukturag1 product
Ubuntu1 product
  • libheif< 1.1.0-2ubuntu0.1~esm2 | < 1.6.1-1ubuntu0.1~esm2 | < 1.12.0-2ubuntu0.1~esm2 | < 1.17.6-1ubuntu4.2 | < 1.20.2-1ubuntu0.1 | < 1.21.2-1

7 vendors · 12 products

References

13 links
Show all 13 references