| Name | CVE-2026-142493 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1148137 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| libheif (PTS) | bookworm | 1.15.1-1+deb12u1 | fixed |
| bookworm (security) | 1.15.1-1+deb12u2 | fixed |
| trixie (security), trixie | 1.23.6-2~deb13u1 | fixed |
| forky, sid | 1.23.7-2 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| libheif | source | bookworm | (not affected) | | | |
| libheif | source | trixie | (not affected) | | | |
| libheif | source | (unstable) | 1.23.4-1 | | | 1148137 |
Notes
[trixie] - libheif <not-affected> (Vulnerable code not present)
[bookworm] - libheif <not-affected> (Vulnerable code not present)
https://github.com/strukturag/libheif/security/advisories/GHSA-rhgw-q5g8-xjh2
Fixed by: https://github.com/strukturag/libheif/commit/fb8d945732b0c58600cfb1101cfe595c74a6322b (v1.23.4)