{"id":"CVE-2026-142494","state":"PUBLISHED","title":"libheif 1.20.0 before 1.23.4 Memory Leak in Raw Sequence Sample API","description":"libheif 1.20.0 before 1.23.4 contains a memory leak vulnerability in Track::get_next_sample_raw_data() that allows attackers to exhaust process memory by supplying a crafted HEIF image sequence. Attackers can trigger error paths via 'saiz'/'saio' auxiliary data or TAI timestamps, or oversized 'stsz' samples, leaking sample copies or aborting the process through uncaught std::bad_alloc.","publishedAt":"2026-12-02T17:42:34.193Z","updatedAt":"2026-12-02T22:59:22.100Z","severity":{"score":7.1,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["strukturag libheif"],"affected":[{"vendor":"strukturag","product":"libheif","packageURL":"pkg:github/strukturag/libheif","defaultStatus":"unaffected","versions":[{"version":"1.20.0","status":"affected","lessThan":"1.23.4","versionType":"semver"}],"repo":"https://github.com/strukturag/libheif"}],"references":["https://github.com/strukturag/libheif/security/advisories/GHSA-4rv4-953r-p24q","https://github.com/strukturag/libheif/commit/3d9c246a778249d0dc6581a407f83433bcad6ca6","https://github.com/strukturag/libheif/releases/tag/v1.23.4","https://github.com/strukturag/libheif/blob/v1.23.3/libheif/sequences/track.cc#L1230-L1266","https://www.vulncheck.com/advisories/libheif-1.20.0-before-1.23.4-memory-leak-in-raw-sequence-sample-api"],"weaknesses":["CWE-401"],"ingestedAt":"2026-12-02T23:08:06.055Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/142xxx/CVE-2026-142494.json","commit":"2830b430859256a591652d5df752020381d021ed","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-142494","state":"PUBLISHED","datePublished":"2026-12-02T17:42:34.193Z","dateUpdated":"2026-12-02T22:59:22.100Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-12-02T17:20:47.348Z"},"containers":{"cna":{"title":"libheif 1.20.0 before 1.23.4 Memory Leak in Raw Sequence Sample API","descriptions":[{"lang":"en","value":"libheif 1.20.0 before 1.23.4 contains a memory leak vulnerability in Track::get_next_sample_raw_data() that allows attackers to exhaust process memory by supplying a crafted HEIF image sequence. Attackers can trigger error paths via 'saiz'/'saio' auxiliary data or TAI timestamps, or oversized 'stsz' samples, leaking sample copies or aborting the process through uncaught std::bad_alloc."}],"affected":[{"vendor":"strukturag","product":"libheif","packageURL":"pkg:github/strukturag/libheif","defaultStatus":"unaffected","versions":[{"version":"1.20.0","status":"affected","lessThan":"1.23.4","versionType":"semver"}],"repo":"https://github.com/strukturag/libheif"}],"references":[{"url":"https://github.com/strukturag/libheif/security/advisories/GHSA-4rv4-953r-p24q","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-4rv4-953r-p24q)"},{"url":"https://github.com/strukturag/libheif/commit/3d9c246a778249d0dc6581a407f83433bcad6ca6","tags":["patch"]},{"url":"https://github.com/strukturag/libheif/releases/tag/v1.23.4","tags":["release-notes"],"name":"libheif v1.23.4 Release Notes"},{"url":"https://github.com/strukturag/libheif/blob/v1.23.3/libheif/sequences/track.cc#L1230-L1266","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/libheif-1.20.0-before-1.23.4-memory-leak-in-raw-sequence-sample-api","name":"VulnCheck Advisory: libheif 1.20.0 before 1.23.4 Memory Leak in Raw Sequence Sample API","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":7.1,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-401","lang":"en","description":"Missing Release of Memory after Effective Lifetime","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-12-02T17:42:34.193Z"},"datePublic":"2026-09-06T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:struktur:libheif:*:*:*:*:*:*:*:*","versionStartIncluding":"1.20.0","versionEndExcluding":"1.23.4"}]}]}],"credits":[{"lang":"en","value":"Bartłomiej Dmitruk (striga.ai)","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/strukturag/libheif/security/advisories/GHSA-4rv4-953r-p24q","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-12-02T22:58:55.838555Z","id":"CVE-2026-142494","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-12-02T22:59:22.100Z"}}]}}}