CVE-2026-142502: strukturag libheif · Improper Validation of Array Index
Affects strukturag libheifSource CVE Database V5
Not known to be exploited · CVSS 7.1 High : upgrade to 1.23.6 soon.
Data as of 2 Dec 2026, 18:02 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 7.1 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.1 |
- Patch
- Available – fixed in 1.23.6
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Upgrade strukturag libheif to 1.23.6.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| strukturaglibheif | Affected
| Fixed in
|
GitHublibheifpkg:github/libheifOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade libheif to version 1.23.6 or later, where this vulnerability is fixed. No other mitigation or workaround is indicated.
Description
CVE-2026-142502 is an out-of-bounds read vulnerability in libheif versions 1.16.0 up to but not including 1.23.6. It occurs in the convert_colorspace() function when processing crafted HEIF files with 10-bit or 12-bit RGB samples that exceed the declared bit depth. This leads to out-of-bounds gamma table lookups in libsharpyuv, potentially causing application crashes or memory leaks into output pixels.
References
- github.com/strukturag/libheif/security/advisories/GHSA-q7mw-2fmm-5q94 (opens in a new tab)
- github.com/strukturag/libheif/commit/8dc32399dea3e6e9e6b4a3acf270feb80008649c (opens in a new tab)
- github.com/strukturag/libheif/releases/tag/v1.23.6 (opens in a new tab)
- github.com/strukturag/libheif/blob/v1.23.5/libheif/color-conversion/rgb2yuv_sharp.cc (opens in a new tab)
- vulncheck.com/advisories/libheif-1.16.0-before-1.23.6-out-of-bounds-read-via-sharp-yuv-conversion (opens in a new tab)