Skip to main content
CVE-2026-142493VulnerabilityPublished

libheif 1.21.0 before 1.23.4 contains an out-of-bounds read vulnerability in the WebCodecs HEVC decoder plugin that

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-142493· Medium 5.3

Not known to be exploited · CVSS 5.3 Medium : upgrade to 1.23.4 when convenient.

Data as of 2 Dec 2026, 19:50 UTC

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.05.3
CNA (VulnCheck)CVSS 3.14.3
Patch
Available – fixed in 1.23.4
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.

What to do

Upgrade libheif to 1.23.4.

Affected software

ProductAffectedFixed in
strukturaglibheifAffected
  • >=1.21.0 <1.23.4
Fixed in
  • 1.23.4
GitHublibheifpkg:github/libheifOther threatsAffected
  • >=1.21.0 <1.23.4
Fixed in
  • 1.23.4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade libheif to version 1.23.4 or later, where this vulnerability is fixed. No other mitigation or workaround is indicated. Since the vulnerability requires user interaction (opening a crafted HEIF file), caution should be exercised when handling untrusted HEIF images.

Description

libheif versions from 1.21.0 up to but not including 1.23.4 contain an out-of-bounds read vulnerability in the WebCodecs HEVC decoder plugin. This flaw allows attackers to craft HEIF files that cause heap memory disclosure by setting an HEVC SPS conformance window with codedWidth and codedHeight exceeding the visible rectangle, leading to megabyte-scale heap over-reads returned as decoded image pixels. The vulnerability has a medium severity with a CVSS score of 4.3.

References

Community reviews

Loading reviews…