Intel

AIKIDO-2026-657657

quickjs-wasi is vulnerable to Uncontrolled Resource Consumption

Uncontrolled Resource Consumption Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Aug 10, 2026

50

Medium Risk

This Affects:

JSquickjs-wasi
0.1.0 - 3.3.0
Fixed in 3.3.1
Are you affected? Scan for Free

TL;DR

The runtime creates its QuickJS instance with the engine's default allocator, which reports an allocation size of zero on wasm32-wasi. Allocations are therefore never counted against the memoryLimit option, so the limit never triggers. Guest code can retain many small allocations and grow WASM memory to gigabytes under a limit of a few megabytes, exhausting host memory. The fix creates the runtime with allocator functions that report real allocation sizes.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you rely on the memoryLimit option to bound memory for untrusted guest code.

Background info

quickjs-wasi is vulnerable to Uncontrolled Resource Consumption in versions 0.1.0 - 3.3.0.

How to fix this

Upgrade the quickjs-wasi library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform