Home › CVE › Vulnerabilities
CVE-2026-142497 — strukturag libheif
One of 12 strukturag libheif vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesFunding & M&ASummary
libheif 1.22.0 before 1.23.4 contains a deadlock vulnerability in ImageItem::decode_image() that allows attackers to hang decoding by supplying a crafted HEIF grid file. Grid tiles referencing each other as alpha auxiliary images cause worker threads to acquire item mutexes in opposite order, blocking the process permanently.
Severity breakdown
High · 7.1
An attacker without an account can exploit this over the network if a user views or visits something.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- 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-833: Deadlock
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| strukturag libheif | ≥ 1.22.0, < 1.23.4 | 1.23.4 |
References by type
Vendor advisories
Patches and fixed releases
- github.com/strukturag/libheif/commit/f8beb40213cee192776533a80fc1a1a92c…
- github.com/strukturag/libheif/releases/tag/v1.23.4
Other references
Affected
- strukturag libheif
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-142497?
libheif 1.22.0 before 1.23.4 contains a deadlock vulnerability in ImageItem::decodeimage() that allows attackers to hang decoding by supplying a crafted HEIF grid file. Grid tiles referencing each other as alpha auxiliary images cause worker threads to acquire item mutexes in opposite order, blocking the process permanently. Weakness type: Deadlock (CWE-833).
How severe is CVE-2026-142497?
CVE-2026-142497 has a CVSS 4.0 base score of 7.1 (high), from the CNA (vulncheck.com). An attacker without an account can exploit this over the network if a user views or visits something.
Is CVE-2026-142497 being exploited?
Not as far as is known: CVE-2026-142497 is not in CISA's Known Exploited Vulnerabilities catalog as of December 3, 2026. EPSS estimates a 0.5% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-142497?
strukturag libheif ≥ 1.22.0, < 1.23.4 (fixed in 1.23.4).
How do I fix CVE-2026-142497?
Update to a fixed release: strukturag libheif 1.23.4.