HIGH · CVSS 7.1 Published: 2026-12-02
CVE-2026-142502 — Technical Security Advisory & CVSS Profile
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.
Technical Metadata
| Identifier | CVE-2026-142502 |
|---|---|
| Base Severity / Score | HIGH (7.1 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H |
| Weakness Classification | CWE-129 |
| Archive Categories | HIGH Advisories · 2026 Index |
Operational Mitigation Guidance
Prioritize remediation in the next maintenance cycle. Validate affected dependency versions in SBOM manifests and review inbound access controls. For architectural isolation principles, review per-process namespace isolation.
Upstream 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
Related Security Advisories
CVE-2026-142501 MEDIUM 6.5
CVE-2026-142503 MEDIUM 5.3
CVE-2026-76811 HIGH 7.5
CVE-2026-76813 HIGH 7.5
CVE-2026-107163 HIGH 7.6
CVE-2026-141545 HIGH 8.7
CVE-2026-141547 HIGH 7
CVE-2026-142029 HIGH 7.3