Description
An issue was discovered in Binaryen 1.38.32. Two visitors in ir/ExpressionManipulator.cpp can lead to a NULL pointer dereference in wasm::LocalSet::finalize in wasm/wasm.cpp. A crafted input can cause segmentation faults, leading to denial-of-service, as demonstrated by wasm2js.
Metrics
CVSS 3.1 6.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://github.com/WebAssembly/binaryen/issues/2288Exploit, Patch, Third Party Advisory
- https://github.com/WebAssembly/binaryen/pull/2289Patch, Third Party Advisory
- https://github.com/WebAssembly/binaryen/issues/2288Exploit, Patch, Third Party Advisory
- https://github.com/WebAssembly/binaryen/pull/2289Patch, Third Party Advisory
Timeline
- Published
- Aug 29, 2019
- Last modified
- Jun 17, 2026
- NVD status
- Modified