CVE-2026-142498 libheif 1.22.0 before 1.23.4 Heap Out-of-Bounds Read in AOM and x265 Encoders
LowCVSS 2.3
- Published
- Updated
- Exploit status
- No public exploit known
Description
libheif 1.22.0 before 1.23.4 contains a heap out-of-bounds read vulnerability in aom_encode_sequence_frame() and x265_encode_sequence_frame() that allows attackers to disclose heap memory via crafted images with mismatched luma and chroma bit depths. Attackers can supply a crafted 'unci' file with 10-bit luma and 8-bit chroma so re-encoding reads chroma rows at twice their width, leaking heap bytes into encoded output.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| strukturag libheif | >= 1.22.0, < 1.23.4 | 1.23.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| strukturag libheif | >= 1.22.0, < 1.23.4 | 1.23.4 |
References
- GitHub Security Advisory (GHSA-fqpw-fj22-78w4) vendor-advisory
- github.com patch
- libheif v1.23.4 Release Notes release-notes
- github.com technical-description
- VulnCheck Advisory: libheif 1.22.0 before 1.23.4 Heap Out-of-Bounds Read in AOM and x265 Encoders third-party-advisory
- ENISA EUVD EUVD-2026-141726 third-party-advisory
- nvd.nist.gov