libheif 1.18.0 before 1.23.3 contains a heap-based buffer overflow vulnerability in unc_decoder_mixed_interleave::processTile() that allows attackers to write out of bounds by supplying chroma components with unequal bit depths. Attackers can craft a HEIF file declaring, for example, 16-bit Cb and 8-bit Cr to trigger file-controlled heap writes past the Cr plane, potentially achieving code execution in image-processing pipelines.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-122"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120208.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "1.18.0"
},
{
"fixed": "1.23.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "9d3cd91d7b1c8c68deef6d06057ab956bcb0dfb9"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v1.23.3",
"range": [
{
"fixed": "78c9746aea226b22885e8d35241353ce669c4ea5"
}
],
"source": "REFERENCES_TAG"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-120208.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"42338673161338251055879719317913954818",
"97550183320129180487889257269895168459",
"144515284470444267707080235451063816845",
"177562107259878432849253196019479636772",
"324913526500530765343342821536642191991",
"117689301415417923300437793611450328224",
"139335372059719548168789819890703324086",
"265576587036143163340316708806196641375",
"331935120972531678558852243691310781525",
"310928363730776193218683496673284028991",
"153298377428846601043833273791883481290",
"321421486917965669402444913465057469705"
],
"threshold": 0.9
},
"id": "CVE-2026-120208-5cfe7528",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/strukturag/libheif/commit/9d3cd91d7b1c8c68deef6d06057ab956bcb0dfb9",
"target": {
"file": "libheif/codecs/uncompressed/unc_decoder_mixed_interleave.cc"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "300799455493702996245791717874748774249",
"length": 1347
},
"id": "CVE-2026-120208-7bedbc62",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/strukturag/libheif/commit/9d3cd91d7b1c8c68deef6d06057ab956bcb0dfb9",
"target": {
"file": "libheif/codecs/uncompressed/unc_decoder_legacybase.cc",
"function": "unc_decoder_legacybase::buildChannelListEntry"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"68230107151106763631316005080255909548",
"58822924988595932708991159442062678286",
"292116420247440218234883134477281660983",
"199659740873244752697135485504517696125",
"242900380297214053740440469671626747693",
"72306288628794285660804614724403579099",
"168353132152522698048079555990910184015",
"283573704671063009867056525472160183687",
"228143508588952019379558569199391402417",
"69729385636156471776654728917714358618",
"292009478135122029557304886684778597839",
"201125808275137040078854100007447598828",
"269657580436349988074798934348402022427"
],
"threshold": 0.9
},
"id": "CVE-2026-120208-d26efc46",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/strukturag/libheif/commit/9d3cd91d7b1c8c68deef6d06057ab956bcb0dfb9",
"target": {
"file": "libheif/codecs/uncompressed/unc_decoder_legacybase.cc"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "137241522828671635195439240372356061782",
"length": 1478
},
"id": "CVE-2026-120208-e63aa099",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/strukturag/libheif/commit/9d3cd91d7b1c8c68deef6d06057ab956bcb0dfb9",
"target": {
"file": "libheif/codecs/uncompressed/unc_decoder_mixed_interleave.cc",
"function": "unc_decoder_mixed_interleave::processTile"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"36120263472541461665400254718813866488",
"178139373510642597547995005010197531731",
"141290335773357109435028878728515402933",
"185581510638649258087936053794446341654",
"324140444007556306972704207611038438930",
"38041445296783997506610270264684886502",
"325428243220005690391707577941323274281",
"82818096548282398124634452787695834997",
"95143012552237087151029125717152816433"
],
"threshold": 0.9
},
"id": "CVE-2026-120208-ed9f30f0",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/strukturag/libheif/commit/9d3cd91d7b1c8c68deef6d06057ab956bcb0dfb9",
"target": {
"file": "libheif/codecs/uncompressed/unc_decoder_legacybase.h"
}
}
]
"2026-11-04T07:08:04Z"