libheif is a HEIF and AVIF file format decoder and encoder. The fix for CVE-2026-3949 (commit b97c8b5, PR #1712) introduced an integer overflow in the very security check it added. The check itself can be bypassed, allowing a crafted HEIF file with a VVC track to trigger the same out-of-bounds heap read that CVE-2026-3949 was meant to prevent. This is a separate, currently-unpatched vulnerability. Issue #1712 was closed as fixed without testing the edge case where size is near UINT32_MAX. Version 1.22.0 patches the issue.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-125",
"CWE-190"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47251.json"
}{
"cpe": "cpe:2.3:a:struktur:libheif:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "1.22.0"
}
],
"source": [
"AFFECTED_FIELD",
"CPE_RANGE"
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-47251.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"175107675317900759648359576881034358256",
"220432159010798240840908416937024023837",
"268268967745545109707798594937166387611",
"253707932335489477155115861206639265538",
"199679408075604976163979654915891773303",
"175107675317900759648359576881034358256",
"220432159010798240840908416937024023837",
"268268967745545109707798594937166387611",
"286778284410146987248233194002847271266",
"178248309108630471590778685235254536836"
],
"threshold": 0.9
},
"id": "CVE-2026-47251-91619f1d",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/strukturag/libheif/commit/0c81a846b7401dbdb7118afd0761057f21e43511",
"target": {
"file": "tests/uncompressed_box.cc"
}
}
]
"2026-08-12T16:09:40Z"