CVE-2020-36402: Solidity - Use After Free
- Cve: CVE-2020-36402
- Name: Solidity - Use After Free
- 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.
- Impact: Potential for denial of service or undefined behavior due to stack corruption.
- Remediation: Update to the latest version of Solidity where the issue is fixed or apply relevant patches.
- Vulnerability type: use_after_free
- Vulnerability impact: denial_of_service
- Requirements: Exploit requires specific function call conditions
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.0096
- Epss percentile: 0.62398
- Assignee: [email protected]
- Published at: 2021-07-01T03:15:07Z
- Age in days: 1972
- Modified at: 2026-06-17T03:15:25Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-36402
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-787 | Out-of-bounds Write |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=26997 | nvd | 2021-07-01 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=26997 | Exploit, Issue Tracking, Patch, Third Party Advisory |
| https://github.com/ethereum/solidity/commit/c39a5e2b7a3fabbf687f53a2823fc087be6c1a7e | Patch, Third Party Advisory |
| https://github.com/google/oss-fuzz-vulns/blob/main/vulns/solidity/OSV-2020-2131.yaml | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| soliditylang:solidity | = 0.7.5 | yes | nvd | /v1/products/soliditylang/solidity |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| ethereum/solidity | commit | yes | /v1/repositories/ethereum/solidity |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-07-01
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts