# CVE-2026-142503: libheif 1.22.0 before 1.23.6 Reachable Assertion DoS via Grid Image Alpha Plane

- Priority: **Routine**
- Reason: Not severe (CVSS 6, 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-02
- Aliases: DEBIAN-CVE-2026-142503
- Record: https://cvemate.com/vulnerability/CVE-2026-142503 · JSON: https://cvemate.com/vulnerability/CVE-2026-142503/json

## Description

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

## Signals

- CVSS: 6 medium (v4.0, CVE.org) CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.638%, percentile 52.024%, 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.6-2~deb13u1 \| \< 1.23.6-1
- strukturag libheif: ≥ 1.22.0, \< 1.23.6

## References

- <https://github.com/strukturag/libheif/security/advisories/GHSA-3gwx-cjv4-jr74>
- <https://github.com/strukturag/libheif/commit/858398f9654113b5b049beb8f2855a8e291fde19>
- <https://github.com/strukturag/libheif/releases/tag/v1.23.6>
- <https://github.com/strukturag/libheif/blob/v1.23.5/libheif/image-items/grid.cc#L566-L570>
- <https://www.vulncheck.com/advisories/libheif-1.22.0-before-1.23.6-reachable-assertion-dos-via-grid-image-alpha-plane>
- <https://security-tracker.debian.org/tracker/CVE-2026-142503>

---

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