CVE-2026-47714
Reported by github_m · Published July 21, 2026
libheif is a HEIF and AVIF file format decoder and encoder. In versions 1.21.2 and prior, the inline mask parsing code in `libheif/region.cc` contains an integer overflow. Both `width` and `height` are `unsigned int` (32-bit) values parsed from the HEIF file. Their product can exceed `UINT32_MAX`, wrapping to a small value before the division by 8. This causes an undersized buffer allocation, leading to out-of-bounds memory access when the mask data is later interpreted as a `width x height` bitmap. Version 1.22.0 patches the issue.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| strukturag | libheif | < 1.22.0 |
| strukturag | libheif | 0 |
| amazon:2023 | libheif-tools | 0 |
| amazon:2023 | libheif-devel | 0 |
| amazon:2023 | libheif | 0 |
| amazon:2023 | heif-pixbuf-loader | 0 |
Timeline
- May 28, 2026 CVE Published
- Jul 22, 2026 Coalition ESS Score
- Aug 7, 2026 EPSS Score (7 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-47714
vulnetix vdb fixes CVE-2026-47714
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-47714/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/strukturag/libheif/security/advisories/GHSA-h4wm-6wwf-qvhx x_refsource_CONFIRM