CVE-2026-142498
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.
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/encoder_aom.cc#L1250-L1312
- https://github.com/strukturag/libheif/commit/51360e193a1288f54592aa6fc0b7037160636514
- https://github.com/strukturag/libheif/releases/tag/v1.23.4
- https://github.com/strukturag/libheif/security/advisories/GHSA-fqpw-fj22-78w4
- https://www.vulncheck.com/advisories/libheif-1.22.0-before-1.23.4-heap-out-of-bounds-read-in-aom-and-x265-encoders
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.