CVE-2020-36402 Use after free in n/a

High 7.8 Published Updated

A stack-use-after-return vulnerability in the Solidity compiler's SMT solver interface allows attackers to potentially execute arbitrary code or cause denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2020-36402?

CVE-2020-36402 is a high-severity use after free vulnerability in n/a, published on 1 Jul 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Solidity 0.7.5 has a stack-use-after-return issue in smtutil::CHCSmtLib2Interface::querySolver. NOTE: c39a5e2b7a3fabbf687f53a2823fc087be6c1a7e is cited in the OSV "fixed" field but does not have a code change.

Weakness: CWE-787

Which versions are affected by CVE-2020-36402?

It affects 1 product.

Products include Soliditylang Solidity.

How do I fix CVE-2020-36402?

No fix has been published for CVE-2020-36402 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2020-36402 being exploited?

There is no known exploitation of CVE-2020-36402 in the wild and no public exploit code.

Sources

Also known as GHSA-jw48-cfqw-3fqv.

Is CVE-2020-36402 in your software?

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

Check your SBOMs for free