# CVE-2026-142493: libheif 1.21.0 before 1.23.4 Out-of-Bounds Read via WebCodecs Decoder Plugin

- Priority: **Routine**
- Reason: Not severe (CVSS 5.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-142493
- Record: https://cvemate.com/vulnerability/CVE-2026-142493 · JSON: https://cvemate.com/vulnerability/CVE-2026-142493/json

## Description

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

## Signals

- CVSS: 5.3 medium (v4.0, CVE.org) CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- EPSS: 0.383%, percentile 34.53%, 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.21.0, \< 1.23.4

## References

- <https://github.com/strukturag/libheif/security/advisories/GHSA-rhgw-q5g8-xjh2>
- <https://github.com/strukturag/libheif/commit/fb8d945732b0c58600cfb1101cfe595c74a6322b>
- <https://github.com/strukturag/libheif/releases/tag/v1.23.4>
- <https://github.com/strukturag/libheif/blob/v1.23.3/libheif/plugins/decoder_webcodecs.cc#L767-L773>
- <https://www.vulncheck.com/advisories/libheif-1.21.0-before-1.23.4-out-of-bounds-read-via-webcodecs-decoder-plugin>
- <https://security-tracker.debian.org/tracker/CVE-2026-142493>

---

Data as of 2026-12-05T10:14:16.478Z. 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
