Out-of-bounds Read Affecting libheif-jpeg package, versions <1.23.0-160000.1.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-SLES1600-LIBHEIFJPEG-17439780
  • published24 Jun 2026
  • disclosed17 Jun 2026

Introduced: 17 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:16.0.0 libheif-jpeg to version 1.23.0-160000.1.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libheif-jpeg package and not the libheif-jpeg package as distributed by SLES. See How to fix? for SLES:16.0.0 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