CVE-2026-47251 Details
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.
A vulnerability exists in libheif versions through 1.21.2, specifically in the VVC decoder plugin. The issue arises from an integer overflow in a security check added to address a previous vulnerability (CVE-2026-3949). This overflow allows a crafted HEIF file with a VVC track to bypass the security check and trigger an out-of-bounds heap read, similar to the issue CVE-2026-3949 was meant to prevent. The vulnerability can be exploited by decoding a malicious HEIF file using libheif with VVC support enabled, which can lead to a process crash and potentially disclose information from adjacent memory allocations before the crash occurs.
Users can upgrade to libheif version 1.22.0, which patches the vulnerability by properly validating the length of data before processing it, ensuring that the integer overflow cannot be exploited.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/strukturag/libheif/issues/1712 | CISA-ADP | Issue Tracking |
| https://github.com/strukturag/libheif/security/advisories/GHSA-p6q9-fhf2-vj9v | CISA-ADP | ExploitVendor Advisory |
| https://github.com/strukturag/libheif/issues/1712 | [email protected] | Issue Tracking |
| https://github.com/strukturag/libheif/security/advisories/GHSA-p6q9-fhf2-vj9v | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
| CWE-190 | Integer Overflow or Wraparound | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| struktur libheif | < 1.22.0 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 27, 2026 | Initial Analysis | [email protected] |
| Jul 22, 2026 | CVE Modified | CISA-ADP |
| Jul 21, 2026 | New CVE Received | [email protected] |