Live threats

All CVEs / Bytecodealliance

CVE-2021-43790Bytecodealliance Lucet

High 8.1 No auth needed

Priority
64
CVSS 3.1
8.1
EPSS
1.6%
probability of exploitation in 30 days · percentile 76
Auth required
No
Published
Nov 30, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-416
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

Lucet is a native WebAssembly compiler and runtime. There is a bug in the main branch of `lucet-runtime` affecting all versions published to crates.io that allows a use-after-free in an Instance object that could result in memory corruption, data race, or other related issues. This bug was introduced early in the development of Lucet and is present in all releases. As a result of this bug, and dependent on the memory backing for the Instance objects, it is possible to trigger a use-after-free when the Instance is dropped. Users should upgrade to the main branch of the Lucet repository. Lucet no longer provides versioned releases on crates.io. There is no way to remediate this vulnerability without upgrading.

Original NVD text.

What to do

  1. Apply the vendor's security update for Lucet.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io lucet-runtime ≤ 0.6.1 no fixed version —
crates.io lucet-runtime ≥ 0.0.0-0 no fixed version —

Per OSV / GitHub Advisories (GHSA-hf79-8hjp-rrvq, RUSTSEC-2021-0155). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
bytecodealliancelucet≤ 0.6.1

Official sources

References

Links published by the sources. Open them with care.