CVE-2026-142502: Vulnerability in Strukturag Libheif

Patch soon. libheif 1.16.0 before 1.23.6 contains an out-of-bounds read vulnerability in Op_Any_RGB_to_YCbCr_420_Sharp::convert_colorspace() that passes unchecked 10-bit or 12-bit RGB samples to SharpYuvConvert(). Attackers can supply a crafted HEIF file producing samples above the declared bit depth so libsharpyuv gamma table lookups read out of bounds, crashing the process or leaking memory into output pixels.

CWE-129

Exploitation
None confirmed
Severity
7.1 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-mrg9-2mmf-3q5w
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
Weakness
CWE-129
Published
2 Dec 2026
Last change
3 Dec 2026

Affected products

Affected versions and the first fixed release

  • Strukturag Libheif From 1.16.0 before 1.23.6. Fixed in 1.23.6

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related