libheif 1.16.0 before 1.23.6 contains an out-of-bounds read vulnerability in OpAnyRGBtoYCbCr420Sharp::convertcolorspace() that passes…
CVE-2026-142502
libheif 1.16.0 before 1.23.6 contains an out-of-bounds read vulnerability in OpAnyRGBtoYCbCr420Sharp::convertcolorspace() 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.
Assessment
- CVSS
- 7.1 (v4.0)
- Severity
- High
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 2 December 2026
- Last updated
- 2 December 2026
- Weakness
- CWE-129
- Assigner
- disclosure@vulncheck.com
CVSS vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
At the source
References
- https://github.com/strukturag/libheif/blob/v1.23.5/libheif/color-conversion/rgb2yuv_sharp.cc#L251-L255
- https://github.com/strukturag/libheif/commit/8dc32399dea3e6e9e6b4a3acf270feb80008649c
- https://github.com/strukturag/libheif/releases/tag/v1.23.6
- https://github.com/strukturag/libheif/security/advisories/GHSA-q7mw-2fmm-5q94
- https://www.vulncheck.com/advisories/libheif-1.16.0-before-1.23.6-out-of-bounds-read-via-sharp-yuv-conversion
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-142502