SecurityContext

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

IdName
CWE-787Out-of-bounds Write

Public exploits

UrlSourceAdded date
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=26997nvd2021-07-01

References

Same in every row:

  • Source: nvd
UrlTags
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=26997Exploit, Issue Tracking, Patch, Third Party Advisory
https://github.com/ethereum/solidity/commit/c39a5e2b7a3fabbf687f53a2823fc087be6c1a7ePatch, Third Party Advisory
https://github.com/google/oss-fuzz-vulns/blob/main/vulns/solidity/OSV-2020-2131.yamlThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
soliditylang:solidity= 0.7.5yesnvd/v1/products/soliditylang/solidity

Projects

RepositoryLink kindsIndexedUrl
ethereum/soliditycommityes/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