CVE-2026-84448

Source
https://cve.org/CVERecord?id=CVE-2026-84448
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-84448.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-84448
Aliases
  • GHSA-p58j-h3vm-3fp5
Downstream
Related
Published
2026-09-18T15:53:42Z
Modified
2026-09-20T14:16:34Z
Severity
  • 4.0 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L CVSS Calculator
Summary
libheif: Heap out-of-bounds read in libheif inline-mask region API (heif_region_item_add_region_inline_mask_data / heif_region_get_mask_image)
Details

libheif is a HEIF and AVIF file format decoder and encoder. Prior to 1.23.2, the public heif_region_item_add_region_inline_mask_data() function in libheif/api/libheif/heif_regions.cc accepts mask_data_len without verifying that it equals the byte count required by width and height. A later heif_region_get_mask_image() call derives the read length from the region geometry, so an undersized stored buffer causes heif_region_get_inline_mask_image() to read beyond the heap allocation and copy adjacent bytes into the returned monochrome mask image. This can disclose heap data or crash an application that constructs region metadata through the writer API, while the file-parsing path is not affected because it validates the canonical mask size. This issue is fixed in version 1.23.2.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-125",
        "CWE-131"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/84xxx/CVE-2026-84448.json"
}
References

Affected packages

Git / github.com/strukturag/libheif

Affected ranges

Type
GIT
Repo
https://github.com/strukturag/libheif
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.23.2"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

v1.*
v1.1.0
v1.10.0
v1.11.0
v1.12.0
v1.13.0
v1.14.0
v1.14.1
v1.14.2
v1.15.0
v1.15.1
v1.15.2
v1.16.0
v1.16.1
v1.16.2
v1.17.0
v1.17.1
v1.17.2
v1.17.3
v1.17.4
v1.17.5
v1.17.6
v1.18.0
v1.18.0-rc1
v1.19.0
v1.19.1
v1.19.2
v1.19.3
v1.19.4
v1.19.5
v1.2.0
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.3.0
v1.3.1
v1.3.2
v1.7.0
v1.8.0
v1.9.0
v1.9.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-84448.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "77248229270864906000420241064149957314",
                "153477777567410325093820073388553025744",
                "123681044192546942298863288112587224667",
                "86497009561766663374552874993125367834",
                "298411673581449789032009798346090173681",
                "320837049714219922315376055647949863757",
                "154333213819725119713119508812263919736",
                "220656441215543623189371415329462250587",
                "170185996518678307421495272651454139511",
                "144757027209663289679300108969658276768",
                "261991495759119715093660942662093252507",
                "337931964725669713907265967613443968741",
                "239788698491122564343105295066341056017",
                "166080203383778759260140418588999962880",
                "67276491302902696713317539650833895387",
                "207381910003791669831962591843856010164",
                "200140577448106350617908169337974485219",
                "104298322472367557178163042376977370807"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-84448-4c5189a6",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/strukturag/libheif/commit/646d85fbf5bd18fc3cdc516e915e59072de2d510",
        "target": {
            "file": "libheif/api/libheif/heif_regions.cc"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "39798220284804447567908527194994235905",
            "length": 1189
        },
        "id": "CVE-2026-84448-e57f13a0",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/strukturag/libheif/commit/646d85fbf5bd18fc3cdc516e915e59072de2d510",
        "target": {
            "file": "libheif/api/libheif/heif_regions.cc",
            "function": "heif_region_get_inline_mask_image"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "3925665015168598502701349768319559781",
            "length": 573
        },
        "id": "CVE-2026-84448-f9344dbe",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/strukturag/libheif/commit/646d85fbf5bd18fc3cdc516e915e59072de2d510",
        "target": {
            "file": "libheif/api/libheif/heif_regions.cc",
            "function": "heif_region_item_add_region_inline_mask_data"
        }
    }
]
vanir_signatures_modified
"2026-09-20T14:16:34Z"