CVE-2026-142504: strukturag libheif · Improper Validation of Specified Quantity in Input
Affects strukturag libheifSource CVE Database V5
Not known to be exploited · CVSS 6.0 Medium : upgrade to 1.23.6 when convenient.
Data as of 2 Dec 2026, 18:03 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 6.0 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 5.9 |
- Patch
- Available – fixed in 1.23.6
CVSS:4.0/AV:N/AC:H/AT:P/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 has been fixed. No other mitigation is required as the fix is available and official.
Description
CVE-2026-142504 is a vulnerability in libheif versions before 1.23.6 where the library fails to verify that decoded images match the bit depth reported by the image handle. This improper validation can lead to out-of-bounds reads when processing crafted HEIF files containing contradictory or mixed-depth elements, potentially causing application crashes or memory disclosure.
References
- github.com/strukturag/libheif/security/advisories/GHSA-vv35-6hxg-95x8 (opens in a new tab)
- github.com/strukturag/libheif/commit/770b0d8d7e1e57b0f4d2b8dc53ff3f82b712fbac (opens in a new tab)
- github.com/strukturag/libheif/commit/64a5bba75ad64aa8c010b8ad61e32091025442b3 (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/image-items/grid.cc (opens in a new tab)
- vulncheck.com/advisories/libheif-before-1.23.6-bit-depth-mismatch-leads-to-out-of-bounds-read (opens in a new tab)