CVE-2026-142493
Description
libheif 1.21.0 before 1.23.4 contains an out-of-bounds read vulnerability in the WebCodecs HEVC decoder plugin that allows attackers to disclose heap memory via crafted HEIF files. Attackers can set an HEVC SPS conformance window so codedWidth and codedHeight exceed the visible rectangle, causing megabyte-scale heap over-reads returned as decoded image pixels.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
References
- https://github.com/strukturag/libheif/blob/v1.23.3/libheif/plugins/decoder_webcodecs.cc#L767-L773
- https://github.com/strukturag/libheif/commit/fb8d945732b0c58600cfb1101cfe595c74a6322b
- https://github.com/strukturag/libheif/releases/tag/v1.23.4
- https://github.com/strukturag/libheif/security/advisories/GHSA-rhgw-q5g8-xjh2
- https://www.vulncheck.com/advisories/libheif-1.21.0-before-1.23.4-out-of-bounds-read-via-webcodecs-decoder-plugin
CWEs
CWE-125
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.