Home › CVE › Vulnerabilities
CVE-2026-142495 — strukturag libheif
One of 12 strukturag libheif vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesSummary
libheif 1.19.0 before 1.23.4 contains an allocation of resources without limits vulnerability in Box_iinf::parse() and Box::read_children() that allows attackers to cause denial of service via crafted HEIF files. Attackers can declare a huge number of 'infe' items to trigger quadratic CPU time and gigabytes of heap usage, or overflow the WebAssembly stack in Emscripten builds.
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-770: Allocation of Resources Without Limits or Throttling
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| strukturag libheif | ≥ 1.19.0, < 1.23.4 | 1.23.4 |
References by type
Vendor advisories
Patches and fixed releases
- github.com/strukturag/libheif/commit/19fd108e6e8d82ad3e1853d945a809ad3f…
- github.com/strukturag/libheif/commit/2ebb06f2b60f4542e193ae273988b728ba…
- 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-142495?
libheif 1.19.0 before 1.23.4 contains an allocation of resources without limits vulnerability in Boxiinf::parse() and Box::readchildren() that allows attackers to cause denial of service via crafted HEIF files. Attackers can declare a huge number of 'infe' items to trigger quadratic CPU time and gigabytes of heap usage, or overflow the WebAssembly stack in Emscripten builds. Weakness type: Allocation of Resources Without Limits or Throttling (CWE-770).
How severe is CVE-2026-142495?
CVE-2026-142495 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-142495 being exploited?
Not as far as is known: CVE-2026-142495 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-142495?
strukturag libheif ≥ 1.19.0, < 1.23.4 (fixed in 1.23.4).
How do I fix CVE-2026-142495?
Update to a fixed release: strukturag libheif 1.23.4.