| Name | CVE-2026-142503 |
| Description | libheif 1.22.0 before 1.23.6 contains a reachable assertion in ImageItem_Grid::decode_and_paste_tile_image() that allows attackers to crash applications by supplying grid images with oversized alpha planes. Attackers can craft a HEIF file containing a grid of uncompressed (unci) tiles with a 64-bit alpha component to terminate the decoding application or trigger an undefined shift. |
| 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) |
| References | DSA-6583-1 |
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 | 1.23.6-2~deb13u1 | DSA-6583-1 | ||
| libheif | source | (unstable) | 1.23.6-1 |
[bookworm] - libheif <not-affected> (Vulnerable code introduced later)
https://github.com/strukturag/libheif/security/advisories/GHSA-3gwx-cjv4-jr74
Introduced with: https://github.com/strukturag/libheif/commit/be4374aafdf3380f20c30f26e39bbee5eeb7164f (v1.22.0)
Fixed by: https://github.com/strukturag/libheif/commit/858398f9654113b5b049beb8f2855a8e291fde19 (v1.23.6)