CVE-2026-142493 libheif 1.21.0 before 1.23.4 Out-of-Bounds Read via WebCodecs Decoder Plugin
MediumCVSS 5.3
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| strukturag libheif | >= 1.21.0, < 1.23.4 | 1.23.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| strukturag libheif | >= 1.21.0, < 1.23.4 | 1.23.4 |
References
- GitHub Security Advisory (GHSA-rhgw-q5g8-xjh2) vendor-advisory
- github.com patch
- libheif v1.23.4 Release Notes release-notes
- github.com technical-description
- VulnCheck Advisory: libheif 1.21.0 before 1.23.4 Out-of-Bounds Read via WebCodecs Decoder Plugin third-party-advisory
- ENISA EUVD EUVD-2026-141731 third-party-advisory
- nvd.nist.gov