libheif 1.20.0 before 1.23.4 contains a memory leak vulnerability in Track::get_next_sample_raw_data() that allows
Source GCVE Database
Not known to be exploited · CVSS 7.1 High : upgrade to 1.23.4 soon.
Data as of 2 Dec 2026, 19:50 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 7.1 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 6.5 |
- Patch
- Available – fixed in 1.23.4
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/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.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
Upgrade libheif to version 1.23.4 or later, where this memory leak vulnerability is fixed. No other mitigation is required as the issue is resolved in the official patch.
Description
A memory leak vulnerability exists in libheif versions 1.20.0 up to but not including 1.23.4 in the Track::get_next_sample_raw_data() function. This flaw allows attackers to exhaust process memory by supplying crafted HEIF image sequences that trigger error paths involving auxiliary data or oversized samples. The issue can lead to memory exhaustion or process abort due to uncaught exceptions. The vulnerability has a CVSS score of 6.5, indicating a medium severity impact on availability.
References
- github.com/strukturag/libheif/security/advisories/GHSA-4rv4-953r-p24q (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-142494 (opens in a new tab)
- github.com/strukturag/libheif/commit/3d9c246a778249d0dc6581a407f83433bcad6ca6 (opens in a new tab)
- github.com/strukturag/libheif/blob/v1.23.3/libheif/sequences/track.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.20.0-before-1.23.4-memory-leak-in-raw-sequence-sample-api (opens in a new tab)