7.1

CVE-2025-68431: struktur libheif Out-of-bounds Read

CVSS: 7.1v3.1HighAnalyzed
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.43% chance of exploitation in the next 30 days, higher than 35.5% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
38/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.1/10
010
High · v3.1 (NVD)
EPSS score
0.43%
0%100%
Low · +0.10 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 4 · 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.43%

Chance of exploitation in the next 30 days

Percentile

36%

Versus all other CVEs

30-day change

+0.10 pp

From 0.33% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.43%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Libheif

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

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.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