Out-of-bounds read in libheif - CVE-2025-68431

 

Out-of-bounds read in libheif - CVE-2025-68431

Published: January 12, 2026


Vulnerability identifier: #VU121163
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2025-68431
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: struktur AG
Affected software:
libheif

Detailed vulnerability description

The vulnerability allows a remote attacker to gain access to potentially sensitive information or crash the application.

The vulnerability exists due to a boundary condition within the HeifPixelImage::overlay() function. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger an out-of-bounds read error and read contents of memory on the system or perform a denial of service attack.


How to mitigate CVE-2025-68431

Install updates from vendor's website.

Sources