CVE-2020-18382 Memory corruption in n/a
A heap-buffer-overflow in Binaryen allows attackers to cause a denial-of-service via crafted WebAssembly input.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2020-18382?
CVE-2020-18382 is a medium-severity memory corruption vulnerability in n/a, published on 22 Aug 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Heap-buffer-overflow in /src/wasm/wasm-binary.cpp in wasm::WasmBinaryBuilder::visitBlock(wasm::Block*) in Binaryen 1.38.26. A crafted wasm input can cause a segmentation fault, leading to denial-of-service, as demonstrated by wasm-opt.
Weakness: CWE-787
Which versions are affected by CVE-2020-18382?
It affects 1 product.
Products include Webassembly Binaryen.
How do I fix CVE-2020-18382?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2020-18382 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-18382 exists.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2020-18382, GHSA-g8f7-3qc2-97wh, UBUNTU-CVE-2020-18382.