CVE-2026-142502
published high CVSS 4.0 · 7.1libheif 1.16.0 before 1.23.6 Out-of-Bounds Read via Sharp-YUV Conversion
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| strukturag | — | libheif1.16.0 to < 1.23.6 · Other versions: unaffected | Affected | Not stated | VulnCheck |
| Debian | trixie | libheif | Advisory build | 1.23.6-2~deb13u1 | DSA-6583-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.1 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| strukturag | libheif | 1.16.0 to < 1.23.6 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-129 Improper Validation of Array Index
References
5- https://github.com/strukturag/libheif/blob/v1.23.5/libheif/color-conversion/rgb2yuv_sharp.cc#L251-L255
- https://github.com/strukturag/libheif/commit/8dc32399dea3e6e9e6b4a3acf270feb80008649c
- libheif v1.23.6 Release Notes https://github.com/strukturag/libheif/releases/tag/v1.23.6
- GitHub Security Advisory (GHSA-q7mw-2fmm-5q94) https://github.com/strukturag/libheif/security/advisories/GHSA-q7mw-2fmm-5q94
- VulnCheck Advisory: libheif 1.16.0 before 1.23.6 Out-of-Bounds Read via Sharp-YUV Conversion https://www.vulncheck.com/advisories/libheif-1.16.0-before-1.23.6-out-of-bounds-read-via-sharp-yuv-conversion
Provider assertions
2VulnCheck · cna
libheif 1.16.0 before 1.23.6 Out-of-Bounds Read via Sharp-YUV Conversion
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b33468f07275682c85d4330f65bf61bf30339ebf22707368f60879581abe3d3b
- Ingested
- 03 Dec 2026, 16:23:13 UTC
- Source record
- Official CVE record