wasmparser is vulnerable to Denial of Service (DoS)
53
Medium Risk
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.
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.
wasmparser is vulnerable to Denial of Service (DoS) in versions 0.230.0 - 0.252.0.
Upgrade the wasmparser library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant