Home › CVE › Vulnerabilities
CVE-2026-142503 — strukturag libheif
One of 12 strukturag libheif vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesSummary
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.
Severity breakdown
Medium · 6.0
An attacker without an account can exploit this over the network if a user views or visits something, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- no
- User action needed
- yes, a user must view or visit something
- Impact
- high on availability, none on confidentiality and integrity
- Impact on other systems
- none
Weakness
- CWE-617: Reachable Assertion
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| strukturag libheif | ≥ 1.22.0, < 1.23.6 | 1.23.6 |
References by type
Vendor advisories
Patches and fixed releases
- github.com/strukturag/libheif/commit/858398f9654113b5b049beb8f2855a8e29…
- github.com/strukturag/libheif/releases/tag/v1.23.6
Other references
Affected
- strukturag libheif
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-142503?
libheif 1.22.0 before 1.23.6 contains a reachable assertion in ImageItemGrid::decodeandpastetileimage() 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. Weakness type: Reachable Assertion (CWE-617).
How severe is CVE-2026-142503?
CVE-2026-142503 has a CVSS 4.0 base score of 6.0 (medium), from the CNA (vulncheck.com). An attacker without an account can exploit this over the network if a user views or visits something, but only under specific conditions.
Is CVE-2026-142503 being exploited?
Not as far as is known: CVE-2026-142503 is not in CISA's Known Exploited Vulnerabilities catalog as of December 3, 2026. EPSS estimates a 0.6% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-142503?
strukturag libheif ≥ 1.22.0, < 1.23.6 (fixed in 1.23.6).
How do I fix CVE-2026-142503?
Update to a fixed release: strukturag libheif 1.23.6.