CVE Explorer
CVE-2026-47714
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` bit
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"libheif","vendor":"strukturag","versions":[{"status":"affected","version":"< 1.22.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:8991d78a695781e37b8e0890e95b3fb7bf57473065697b9678b697c9cb40a994 · sha256:02486a37f6bd37ae… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:8991d78a695781e37b8e0890e95b3fb7bf57473065697b9678b697c9cb40a994 · sha256:02486a37f6bd37ae… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-190","description":"CWE-190: Integer Overflow or Wraparound","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:8991d78a695781e37b8e0890e95b3fb7bf57473065697b9678b697c9cb40a994 · sha256:02486a37f6bd37ae… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"name":"https://github.com/strukturag/libheif/security/advisories/GHSA-h4wm-6wwf-qvhx","tags":["x_refsource_CONFIRM"],"url":"https://github.com/strukturag/libheif/security/advisories/GHSA-h4wm-6wwf-qvhx"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:8991d78a695781e37b8e0890e95b3fb7bf57473065697b9678b697c9cb40a994 · sha256:02486a37f6bd37ae… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.