CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-27195

Future Shock: Crashing Wasmtime with a Single Dropped Promise

Amit Schendel
Amit Schendel
Senior Security Researcher

Feb 25, 2026·5 min read·56 visits

Executive Summary (TL;DR)

Wasmtime panicked when a host dropped an async call future and then tried to call the component again. The runtime allocated resources before checking if the component was free, leading to a failed assertion during cleanup. Fix involves checking state before allocation.

A state management vulnerability in Wasmtime's async component model allows attackers to trigger a thread-level panic (Denial of Service) by manipulating the lifecycle of asynchronous calls. When a host drops a pending future for a guest call, the component instance remains in an inconsistent 'busy' state. A subsequent call to that instance triggers a re-entrancy trap, which inadvertently hits a safety assertion in the cleanup logic, crashing the entire runtime.

The Hook: Asynchronous Anarchy

Async Rust is a beautiful, terrifying beast. It promises non-blocking performance but demands absolute obedience to the laws of polling and pinning. In the world of WebAssembly, Wasmtime implemented the component-model-async feature to allow hosts (like your serverless platform) to invoke guest functions without blocking the thread while the guest crunches numbers or waits for I/O.

Here is the setup: The Host calls the Guest. The Guest yields (maybe it's waiting for a network packet). The Host receives a Future. Normally, the Host polls this future until it returns Ready. But what if the Host gets bored? What if the HTTP request that triggered this execution gets cancelled? The Host drops the future.

In a perfect world, Wasmtime would clean up the guest's stack, release the locks, and reset the state. But in versions 39 through 41, Wasmtime acted like a disgruntled waiter. It took the plate away, but left the table marked as 'Occupied'. When the next customer (request) tried to sit down, the runtime didn't just say 'Seat Taken'—it flipped the table and burned down the restaurant.

The Flaw: The Zombie Task

To understand this bug, you have to look at how Wasmtime manages 'Tasks'—the fibers (lightweight threads) used to run guest code. When you call a function via call_async, Wasmtime spins up a Task and hands you a future.

Here is the sequence of doom:

  1. Host calls guest_func. Wasmtime marks the instance as Entered (busy).
  2. Guest yields execution. The future is Pending.
  3. Host drops the future. The destructor runs, but crucially, the instance state remains Entered because the execution didn't technically finish—it was abandoned.

Now, the Host tries to call guest_func again on the same component instance. Logic dictates that Wasmtime should check if the instance is busy first. It didn't.

Instead, the vulnerable code allocated a new Task (a potentially heavy operation involving stack allocation) before checking the instance state. Once the task was allocated, it checked the state, saw it was still Entered, and raised a WebAssembly Trap (a soft error).

Here is the kicker: When the Trap happens, the newly allocated Task gets dropped. The Task destructor has a sanity check: assert!(state.is_finished() || state.is_dead()). Because this new task was aborted mere microseconds after birth—before it even started running—it was neither finished nor dead. It was just... confused. The assertion fails. The thread panics. Game over.

The Code: Putting the Cart Before the Horse

The fix is a classic example of 'check your preconditions before you allocate memory'. The developers simply moved the validation logic up the chain.

The Vulnerable Logic (Pseudocode):

fn call_async(&self, ...) -> Future {
    // 1. Expensive Allocation FIRST
    let task = Box::new(Task::new(self.instance, ...));
 
    // 2. Validation SECOND
    if self.instance.is_busy() {
         // This returns an error, which drops 'task'
         // 'task' drop panics because it wasn't run yet
         return Err(Trap("Cannot re-enter component"));
    }
    
    return Future::new(task);
}

The Fixed Logic:

fn call_async(&self, ...) -> Future {
    // 1. Validation FIRST
    if self.instance.is_busy() {
         return Err(Trap("Cannot re-enter component"));
    }
 
    // 2. Expensive Allocation SECOND
    let task = Box::new(Task::new(self.instance, ...));
    return Future::new(task);
}

It is a subtle reordering, but it prevents the creation of the Task object that triggers the panic upon destruction. If you don't create the zombie, it can't eat your brains.

The Exploit: Dropping the Ball

Exploiting this requires control over the host embedding's behavior, specifically causing it to drop a future. While this sounds like a 'host-side' bug, many serverless environments enforce timeouts. If a guest runs too long, the host cancels (drops) the future.

If you are an attacker running inside a Wasmtime-powered cloud function, you can't directly drop your own future. However, you can create a condition where you yield indefinitely or sleep, tempting the host to timeout your execution. If the host architecture reuses Wasmtime Store objects (for caching/performance) and doesn't handle the dropped future correctly, the next request to that warm instance triggers the crash.

PoC Strategy:

  1. Create a guest Wasm module that exports a function foo.
  2. Inside foo, perform an async host call that never returns or takes a long time (forcing a yield).
  3. On the Host side, call foo.
  4. Wait for the first poll (Pending), then immediately drop() the future.
  5. Call foo again on the same instance.
  6. Watch the host process crash with thread 'main' panicked at 'assertion failed: state.is_finished()'.

This turns a single bad request into a Denial of Service for the thread or process handling the requests.

The Fix: Safe Disposal

If you are running Wasmtime, you need to patch. The vulnerability exists in the default configuration of component-model-async starting from version 39.0.0.

Remediation:

  • Upgrade: Move to Wasmtime 40.0.4, 41.0.4, or 42.0.0+. These versions correctly check the instance state before allocating the task.
  • Configuration: If you don't need async calls, disable the component-model-async feature in your Cargo.toml. This nukes the vulnerable code path entirely.

Developer Lesson: Never assume your destructors run in a happy state. Rust's drop is guaranteed to run (mostly), but the context in which it runs is chaotic. If your cleanup logic relies on assert! checks about the object's lifecycle, make sure you can't construct the object and immediately destroy it without transitioning through that lifecycle.

Official Patches

Bytecode AlliancePatch for Wasmtime 40.0.x
Bytecode AlliancePatch for Wasmtime 41.0.x

Fix Analysis (2)

Technical Appendix

CVSS Score
6.9/ 10
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H

Affected Systems

Wasmtime Runtime (Rust)Serverless/FaaS platforms using WasmtimeEdge computing nodes using component-model-async

Affected Versions Detail

Product
Affected Versions
Fixed Version
Wasmtime
Bytecode Alliance
>= 39.0.0, < 40.0.440.0.4
Wasmtime
Bytecode Alliance
>= 41.0.0, < 41.0.441.0.4
AttributeDetail
CWECWE-755: Improper Handling of Exceptional Conditions
CVSS v4.06.9 (Medium)
Attack VectorNetwork (via Host Interaction)
ImpactDenial of Service (Panic)
Affected Componentcomponent-model-async
StatusPatched

MITRE ATT&CK Mapping

T1499Endpoint Denial of Service
Impact
CWE-755
Improper Handling of Exceptional Conditions

Improper Handling of Exceptional Conditions

Vulnerability Timeline

Vulnerability Disclosed
2026-02-24
Patched Versions Released (40.0.4, 41.0.4)
2026-02-24
CVE-2026-27195 Assigned
2026-02-24

References & Sources

  • [1]GHSA-xjhv-v822-pf94 Advisory
  • [2]Developer Discussion on Zulip

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•about 13 hours ago•CVE-2026-63402
5.9

CVE-2026-63402: Prototype-Chain Traversal and Shared Built-in Corruption in i18next

CVE-2026-63402 is a prototype-chain traversal and shared built-in object corruption vulnerability in the i18next internationalization framework for JavaScript prior to version 26.3.4. The flaw resides in the deepExtend utility function within src/utils.js, which uses the JavaScript 'in' operator to verify property existence on target objects. When an application passes untrusted resource bundles to i18next.addResourceBundle() with both the deep and overwrite parameters set to true, an attacker can traverse into inherited methods on Object.prototype and overwrite properties on shared built-in function objects, causing process-wide denial of service.

Amit Schendel
Amit Schendel
6 views•10 min read
•about 14 hours ago•CVE-2026-58262
7.1

CVE-2026-58262: BLS Signature Quorum Bypass via PubKeysBitmap Padding Bits in Klever-Go

CVE-2026-58262 (tracked internally as KLR-04 and via GitHub Security Advisory GHSA-f9h7-4mmq-vgcq) is a cryptographic verification and consensus quorum bypass vulnerability in Klever-Go (`klever-io/klever-go`), the Go implementation of the Klever blockchain protocol. Prior to version 1.7.20, the block header signature verification logic (`HeaderSigVerifier.verifyConsensusSize`) counts all set bits across the entire `PubKeysBitmap` byte slice toward the required two-thirds validator quorum without masking or validating unused trailing padding bits in the final byte. Because the underlying Boneh-Lynn-Shacham (BLS) multi-signature verification function (`blsMultiSigner.Verify`) iterates strictly over the indices of configured validator public keys, it ignores any bits set at indices beyond the active consensus group size. When the consensus group size is not an exact multiple of 8, a compromised or malicious block producer can set these unused trailing padding bits to artificially inflate the apparent signer count by up to 7 signatures, enabling blocks with fewer genuine validator signatures than required by the protocol to pass consensus validation.

Alon Barad
Alon Barad
3 views•14 min read
•about 15 hours ago•CVE-2026-77423
7.5

CVE-2026-77423: Regular Expression Denial of Service (ReDoS) in JLine Built-in Less Viewer

CVE-2026-77423 is a Regular Expression Denial of Service (ReDoS) vulnerability in the built-in less viewer of the JLine Java library (versions 3.0.0 prior to 3.30.15, and 4.0.0 prior to 4.3.1). The org.jline.builtins.Less class passes user-supplied search and display-filter patterns directly to Java's standard backtracking regular expression engine without complexity validation or execution timeouts. An attacker with access to an interactive JLine session can submit patterns containing nested quantifiers, causing catastrophic backtracking that consumes 100% of a CPU core and blocks the session thread indefinitely. In network-facing deployments such as SSH or Telnet administration consoles, repeated exploitation across concurrent sessions can exhaust bounded worker thread pools and result in a complete denial of service.

Alon Barad
Alon Barad
5 views•10 min read
•about 16 hours ago•CVE-2026-63492
8.1

CVE-2026-63492 (Duplicate of CVE-2026-63304): OS Command Injection in WWBN AVideo Standalone API

CVE-2026-63492 is a rejected CVE identifier originally assigned by GitHub for an OS command injection vulnerability in WWBN AVideo (formerly YouPHPTube) up to version 29.0. It was rejected as a duplicate of the canonical identifier CVE-2026-63304 (tracked under GHSA-j44m-77cc-p3cc). The flaw resides in the listFFmpegProcesses() function within plugin/API/standAlone/functions.php, which interpolates unsanitized user parameters directly into a single-quoted shell pipeline executed via PHP's exec() function. Attackers capable of crafting a valid AES-256-CBC encrypted API payload can break out of the single-quoted context and execute arbitrary operating system commands as the web-server user.

Amit Schendel
Amit Schendel
5 views•9 min read
•about 17 hours ago•CVE-2026-63476
4.3

CVE-2026-63476: Unbounded Memory Allocation and Denial of Service in isomorphic-git Packfile Delta Parser

CVE-2026-63476 is an uncontrolled resource consumption vulnerability in isomorphic-git prior to version 1.38.6. When parsing Git packfile delta objects during clone or fetch operations, the applyDelta utility reads an untrusted targetSize integer from the delta stream header and passes it directly to Buffer.alloc(). A malicious remote Git server or man-in-the-middle attacker can supply a delta header specifying a targetSize of approximately 2 GB with minimal actual payload data. Because Buffer.alloc() reserves off-heap memory in Node.js, this bypasses standard V8 heap limits and results in immediate out-of-memory termination or sustained memory retention.

Amit Schendel
Amit Schendel
5 views•10 min read
•about 18 hours ago•CVE-2026-63410
5.9

CVE-2026-63410: Compiler-Induced Timing Side-Channel in secp256k1-native Scalar Multiplication

CVE-2026-63410 (GHSA-vp2j-gqfm-r3cf) is a compiler-induced timing side-channel vulnerability in the secp256k1-native Ruby C extension. When compiled with GCC 14.x or 15.x at optimization level -O2, the compiler reconstructs boolean predicates from branchless bitwise multiplexer routines and emits secret-dependent conditional jump instructions (je/jne). During elliptic curve scalar multiplication in the Montgomery ladder, these conditional branches create observable execution timing variations correlated with individual bits of secret private keys or signing nonces.

Alon Barad
Alon Barad
3 views•12 min read