{"id":"CVE-2026-47251","summary":"libheif has an incomplete fix for CVE-2026-3949: integer overflow bypass in vvdec_push_data2","details":"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.","aliases":["GHSA-p6q9-fhf2-vj9v"],"modified":"2026-08-12T16:09:40.056648Z","published":"2026-07-21T21:18:56.870Z","related":["SUSE-SU-2026:22153-1","SUSE-SU-2026:2622-1","openSUSE-SU-2026:10878-1","openSUSE-SU-2026:20974-1"],"database_specific":{"cwe_ids":["CWE-125","CWE-190"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47251.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47251.json"},{"type":"ADVISORY","url":"https://github.com/strukturag/libheif/security/advisories/GHSA-p6q9-fhf2-vj9v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47251"},{"type":"REPORT","url":"https://github.com/strukturag/libheif/issues/1712"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/strukturag/libheif","events":[{"introduced":"0"},{"fixed":"0c81a846b7401dbdb7118afd0761057f21e43511"}],"database_specific":{"cpe":"cpe:2.3:a:struktur:libheif:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.22.0"}],"source":["AFFECTED_FIELD","CPE_RANGE"]}}],"versions":["v1.21.2","v1.21.1","v1.21.0","v1.20.1","v1.20.0","v1.19.5","v1.19.4","v1.19.3","v1.19.2","v1.19.1","v1.19.0","v1.18.0","v1.18.0-rc1","v1.17.6","v1.17.5","v1.17.4","v1.17.3","v1.17.2","v1.17.1","v1.17.0","v1.16.2","v1.16.1","v1.16.0","v1.15.2","v1.15.1","v1.15.0","v1.14.2","v1.14.1","v1.14.0","v1.13.0","v1.12.0","v1.11.0","v1.10.0","v1.9.1","v1.9.0","v1.8.0","v1.7.0","v1.3.2","v1.3.1","v1.3.0","v1.2.0","v1.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-47251.json","vanir_signatures_modified":"2026-08-12T16:09:40Z","vanir_signatures":[{"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"}}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N"}]}