Out-of-bounds Read Affecting libheif1 package, versions <1.23.0-150700.3.15.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.43% (35th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES157-LIBHEIF1-17528186
  • published26 Jun 2026
  • disclosed24 Jun 2026

Introduced: 24 Jun 2026

CVE-2025-68431  (opens in a new tab)
CWE-125  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade SLES:15.7 libheif1 to version 1.23.0-150700.3.15.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libheif1 package and not the libheif1 package as distributed by SLES. See How to fix? for SLES:15.7 relevant fixed versions and status.

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 Base Scores

version 3.1