libheif 1.16.0 before 1.23.6 Out-of-Bounds Read via Sharp-YUV Conversion
- CVE-2026-142502
- GHSA-mrg9-2mmf-3q5w
- EUVD-2026-141722
Description
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.
Text from the CVE.org record.
Recommendation
strukturag libheif
- If you run a version from 1.16.0 to before 1.23.6update to 1.23.6 or laterMinor version change: check the release notes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
strukturag libheif
Affected versions Fixed in from 1.16.0 to before 1.23.6 1.23.6
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.