Home › CVE › Vulnerabilities
CVE-2026-142493 — strukturag libheif
One of 12 strukturag libheif vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesSummary
libheif 1.21.0 before 1.23.4 contains an out-of-bounds read vulnerability in the WebCodecs HEVC decoder plugin that allows attackers to disclose heap memory via crafted HEIF files. Attackers can set an HEVC SPS conformance window so codedWidth and codedHeight exceed the visible rectangle, causing megabyte-scale heap over-reads returned as decoded image pixels.
Severity breakdown
Medium · 5.3
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
- low on confidentiality, none on integrity and availability
- Impact on other systems
- none
Weakness
- CWE-125: Out-of-bounds Read
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| strukturag libheif | ≥ 1.21.0, < 1.23.4 | 1.23.4 |
References by type
Vendor advisories
Patches and fixed releases
- github.com/strukturag/libheif/commit/fb8d945732b0c58600cfb1101cfe595c74…
- github.com/strukturag/libheif/releases/tag/v1.23.4
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-142493?
libheif 1.21.0 before 1.23.4 contains an out-of-bounds read vulnerability in the WebCodecs HEVC decoder plugin that allows attackers to disclose heap memory via crafted HEIF files. Attackers can set an HEVC SPS conformance window so codedWidth and codedHeight exceed the visible rectangle, causing megabyte-scale heap over-reads returned as decoded image pixels. Weakness type: Out-of-bounds Read (CWE-125).
How severe is CVE-2026-142493?
CVE-2026-142493 has a CVSS 4.0 base score of 5.3 (medium), 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-142493 being exploited?
Not as far as is known: CVE-2026-142493 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026.
Which versions are affected by CVE-2026-142493?
strukturag libheif ≥ 1.21.0, < 1.23.4 (fixed in 1.23.4).
How do I fix CVE-2026-142493?
Update to a fixed release: strukturag libheif 1.23.4.