Intel

AIKIDO-2026-589831

wasmparser is vulnerable to Denial of Service (DoS)

Denial of Service (DoS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published 5 days ago

53

Medium Risk

This Affects:

RUSTwasmparser
0.230.0 - 0.252.0
Fixed in 0.253.0
Are you affected? Scan for Free

TL;DR

The component-model validator in wasmparser accepts fixed-length list types without enforcing an upper bound on their declared element count, checking only that the count is non-zero. A crafted component can declare a fixed-length list with an element count as large as 4294967295, which passes validation and then flows into consumers' canonical ABI size calculations. Those oversized counts overflow the downstream size math and lead to denial of service in tools that enable the component-model fixed-length lists feature. The fix caps the accepted element count at 1 GiB (1073741824) during validation.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and the component-model fixed-length lists feature is enabled during validation.

Background info

wasmparser is vulnerable to Denial of Service (DoS) in versions 0.230.0 - 0.252.0.

How to fix this

Upgrade the wasmparser library to the patch version.