libheif 1.22.0 before 1.23.4 contains a heap out-of-bounds read vulnerability in aom_encode_sequence_frame() and
Source GCVE Database
Not known to be exploited · CVSS 2.3 Low : upgrade to 1.23.4 when convenient.
Data as of 2 Dec 2026, 19:50 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 2.3 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 3.1 |
- Patch
- Available – fixed in 1.23.4
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/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.4.
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
A fix is available in libheif version 1.23.4 and later. Users should upgrade to version 1.23.4 or newer to remediate this vulnerability. No other mitigation or workaround is indicated. Since this is a library vulnerability, updating the affected software that bundles libheif is also recommended.
Description
libheif versions from 1.22.0 up to but not including 1.23.4 contain a heap out-of-bounds read vulnerability in the functions aom_encode_sequence_frame() and x265_encode_sequence_frame(). This flaw allows attackers to disclose heap memory by crafting images with mismatched luma and chroma bit depths, specifically by supplying a 'unci' file with 10-bit luma and 8-bit chroma. The vulnerability causes the re-encoding process to read chroma rows at twice their width, leaking heap bytes into the encoded output. The CVSS score is 3.1, indicating low severity, and no known exploits in the wild have been reported.
References
- github.com/strukturag/libheif/security/advisories/GHSA-fqpw-fj22-78w4 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-142498 (opens in a new tab)
- github.com/strukturag/libheif/commit/51360e193a1288f54592aa6fc0b7037160636514 (opens in a new tab)
- github.com/strukturag/libheif/blob/v1.23.3/libheif/plugins/encoder_aom.cc (opens in a new tab)
- github.com/strukturag/libheif/releases/tag/v1.23.4 (opens in a new tab)
- vulncheck.com/advisories/libheif-1.22.0-before-1.23.4-heap-out-of-bounds-read-in-aom-and-x265-encoders (opens in a new tab)