# CVE-2026-142498: libheif 1.22.0 before 1.23.4 Heap Out-of-Bounds Read in AOM and x265 Encoders

- Priority: **Routine**
- Reason: Not severe (CVSS 2.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-12-02 · Modified: 2026-12-03
- Aliases: DEBIAN-CVE-2026-142498
- Record: https://cvemate.com/vulnerability/CVE-2026-142498 · JSON: https://cvemate.com/vulnerability/CVE-2026-142498/json

## Description

```text
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.
```

## Signals

- CVSS: 3.1 low (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
- EPSS: 0.361%, percentile 31.968%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian libheif (Debian): \< 1.23.4-1
- strukturag libheif: ≥ 1.22.0, \< 1.23.4

## References

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

---

Data as of 2026-12-05T09:48:01.661Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
