libheif before 1.23.6 fails to verify that decoded images match the bit depth reported by the image handle, causing
Source GCVE Database
Not known to be exploited · CVSS 6.0 Medium : upgrade to 1.23.6 when convenient.
Data as of 2 Dec 2026, 19:49 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 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 issue is fixed. No other mitigation is indicated or required.
Description
A vulnerability in libheif before version 1.23.6 allows crafted HEIF files with inconsistent bit depth information to cause out-of-bounds reads. This can lead to application crashes or memory disclosure when processing maliciously crafted images.
References
- github.com/strukturag/libheif/security/advisories/GHSA-vv35-6hxg-95x8 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-142504 (opens in a new tab)
- github.com/strukturag/libheif/commit/64a5bba75ad64aa8c010b8ad61e32091025442b3 (opens in a new tab)
- github.com/strukturag/libheif/commit/770b0d8d7e1e57b0f4d2b8dc53ff3f82b712fbac (opens in a new tab)
- github.com/strukturag/libheif/blob/v1.23.5/libheif/image-items/grid.cc (opens in a new tab)
- github.com/strukturag/libheif/releases/tag/v1.23.6 (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)