Skip to content
FlawDB
Sign in

CVE-2026-140419

MEDIUM 5.7EPSS 6%

Wasmtime 50.0.0 before 50.0.2 Stale GC Heap Base Pointer Denial of Service

Also known as GHSA-43j2-gcp4-m22g, RUSTSEC-2026-0568

Mitigation

  • Upgrade wasmtime to one of 48.0.9, 49.0.6, 50.0.2 (or later in the same release line).

Who should check

  • Projects that depend on crates.io package wasmtime (>= 47.0.0, < 48.0.9; >= 49.0.0, < 49.0.6; >= 50.0.0, < 50.0.2)
  • Anyone running bytecodealliance wasmtime >= 50.0.0, < 50.0.2
  • Anyone running bytecodealliance wasmtime >= 49.0.0, < 49.0.6
  • Anyone running bytecodealliance wasmtime >= 47.0.0, < 48.0.9

Vulnerability facts

Affected
wasmtime >= 47.0.0, < 48.0.9; >= 49.0.0, < 49.0.6; >= 50.0.0, < 50.0.2
Fixed in
48.0.9, 49.0.6, 50.0.2
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.7 (v4.0, CNA)CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Local
  • Attack complexity: High
  • Attack requirements: Present
  • Privileges required: Low
  • User interaction: None
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
EPSS
0.16% chance of exploitation in 30 days (percentile 6, 2026-12-03)
CWE
CWE-125
Published
Modified

Description

Wasmtime 47.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 does not set needs_gc_heap for collector-agnostic GC operations such as ref.test, so compiled code can reuse a stale null GC heap base pointer. A Wasm guest that tests or downcasts GC references returned by an imported host function can trigger loads in low host memory, aborting the host process.

Affected and fixed versions

Package / productAffectedFixedSource
crates.io wasmtime>= 47.0.0, < 48.0.9; >= 49.0.0, < 49.0.6; >= 50.0.0, < 50.0.248.0.9, 49.0.6, 50.0.2osv
bytecodealliance wasmtime>= 50.0.0, < 50.0.2—cvelist
bytecodealliance wasmtime>= 49.0.0, < 49.0.6—cvelist
bytecodealliance wasmtime>= 47.0.0, < 48.0.9—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-140419. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-140419.md
Affected: wasmtime >= 47.0.0, < 48.0.9; >= 49.0.0, < 49.0.6; >= 50.0.0, < 50.0.2
Fixed in: 48.0.9, 49.0.6, 50.0.2

Steps:
1. Search this machine and project for wasmtime (crates.io), bytecodealliance wasmtime: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

Technologies

References

FAQ

Is CVE-2026-140419 being exploited?

There is no confirmed exploitation: CVE-2026-140419 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-12-03).

How serious is CVE-2026-140419?

Medium: CVSS 5.7 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2026-140419?

wasmtime >= 47.0.0, < 48.0.9; >= 49.0.0, < 49.0.6; >= 50.0.0, < 50.0.2.

Is there a fix for CVE-2026-140419?

Yes. Fixed in 48.0.9, 49.0.6, 50.0.2. Upgrade wasmtime to one of 48.0.9, 49.0.6, 50.0.2 (or later in the same release line).

How do I check if I'm affected by CVE-2026-140419?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
LOW 2.3CVE-2026-140421

Wasmtime 46.0.0 before 48.0.9 Panic via Stream/Future Cancel on Wrong End

Rust crates
EPSS 44%
MEDIUM 6.9CVE-2026-140420

Wasmtime before 36.0.21 Unbounded Host Memory Growth via AsyncWriteStream Empty Writes

Rust crates
EPSS 36%
LOW 2.1CVE-2026-140418

Wasmtime from 50.0.0 before 50.0.2 Process Abort via Unaligned GC Heap Reservation

Rust crates
EPSS 44%
LOW 2.1CVE-2026-140417

Wasmtime before 36.0.21 Panic in Caller::get_module_export Denial of Service

Rust crates
EPSS 33%
LOW 2.1CVE-2026-140416

Wasmtime from 50.0.0 before 50.0.2 Host Process Abort Without gc Feature

Rust crates
EPSS 44%
Sponsors