# CVE-2026-47251: libheif has an incomplete fix for CVE-2026-3949: integer overflow bypass in vvdec_push_data2

- Severity: Medium 6.8 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 3% of CVEs (2026-11-30)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-07-21T21:18:56.870Z
- Modified: 2026-10-24T19:10:00.127Z
- Weaknesses: CWE-125, CWE-190
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- strukturag libheif: < 1.22.0
- struktur libheif: before 1.22.0

## Every score

- GitHub_M: CVSS:4.0 6.8 Medium `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`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H`

## References

- <https://github.com/strukturag/libheif/security/advisories/GHSA-p6q9-fhf2-vj9v> (exploit, vendor-advisory)
- <https://github.com/strukturag/libheif/issues/1712> (exploit, issue-tracking)

## Sources

- CVE List: [CVE-2026-47251](https://www.cve.org/CVERecord?id=CVE-2026-47251), CVE Terms of Use, modified 2026-07-22
- NVD: [CVE-2026-47251](https://nvd.nist.gov/vuln/detail/CVE-2026-47251), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-47251 · Whole record: https://cve.day/CVE-2026-47251.json · Rebuilt by cve.day 2026-11-25T22:59:29.458Z
