CVE-2020-18378 Null dereference in n/a

Medium 6.5 Published Updated

A crafted WebAssembly input triggers a null pointer dereference in Binaryen, causing a segmentation fault and denial of service.

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-18378?

CVE-2020-18378 is a medium-severity 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

A NULL pointer dereference was discovered in SExpressionWasmBuilder::makeBlock in wasm/wasm-s-parser.c in Binaryen 1.38.26. A crafted wasm input can cause a segmentation fault, leading to denial-of-service, as demonstrated by wasm-as.

Weakness: CWE-476

Which versions are affected by CVE-2020-18378?

It affects 1 product.

Products include Webassembly Binaryen.

How do I fix CVE-2020-18378?

Upgrade to a fixed version.

Is CVE-2020-18378 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-18378 exists.

Sources

Also known as DEBIAN-CVE-2020-18378, GHSA-vj54-ff4j-gq2v, UBUNTU-CVE-2020-18378.

Is CVE-2020-18378 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free