CVE-2026-120208

Source
https://cve.org/CVERecord?id=CVE-2026-120208
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-120208.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-120208
Aliases
  • GHSA-x8r2-mggj-j6wr
Downstream
Published
2026-10-31T17:25:55Z
Modified
2026-11-04T07:08:04Z
Severity
  • 7.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
libheif 1.18.0 before 1.23.3 Heap Buffer Overflow via unci Mixed-Interleave Decoder
Details

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.

Database specific
{
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
        "CWE-122"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120208.json"
}
References

Affected packages

Git / github.com/strukturag/libheif

Affected ranges

Type
GIT
Repo
https://github.com/strukturag/libheif
Events
Database specific
Show details
{
    "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"
        }
    ]
}

Affected versions

v1.*
v1.18.0
v1.19.0
v1.19.1
v1.19.2
v1.19.3
v1.19.4
v1.19.5
v1.20.0
v1.20.1
v1.21.0
v1.21.1
v1.21.2
v1.22.0
v1.22.1
v1.22.2
v1.23.0
v1.23.1
v1.23.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-120208.json"
vanir_signatures
[
    {
        "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"
        }
    }
]
vanir_signatures_modified
"2026-11-04T07:08:04Z"