CVE-2026-142502
libheif 1.16.0 before 1.23.6 Out-of-Bounds Read via Sharp-YUV Conversion
- Severity
- high CVSS 7.1 (v4.0)
- Affects
- libheif · strukturag
- Weakness
- CWE-129: Improper Validation of Array Index
- Published
- 2 December 2026 by VulnCheck
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.