CVE-2018-18920: ethereum py-evm
Vulnerability summary
CVE-2018-18920 is a high (CVSS 8.8) vulnerability in ethereum py-evm. EPSS estimates a 2.93% chance of exploitation in the next 30 days, higher than 86.9% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 12-11-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
Py-EVM v0.2.0-alpha.33 allows attackers to make a vm.execute_bytecode call that triggers computation._stack.values with '"stack": [100, 100, 0]' where b'\x' was expected, resulting in an execution failure because of an invalid opcode. This is reportedly related to "smart contracts can be executed indefinitely without gas being paid."
CVSS metrics
3 scores · 2 sources · 2 versions- OSV · PypiEcosystem advisory · calculated8.8HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
2.93%
Chance of exploitation in the next 30 days
Percentile
87%
Versus all other CVEs
30-day change
+0.09 pp
From 2.84% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundPy Evm
Maturity: poc
Weaknesses
CWE · root causeAffected systems
PyPI2 products
- evm-py≤ 0.2.0-alpha\.33
- py-evm≤ 0.2.0a33 | < 0.2.0a33
Ethereum1 product
- py-evm0.2.0:alpha.33
2 vendors · 3 products
References
10 links- twitter.com/AlexanderFisher/status/1060923428641878019X Refsource MISCThird Party AdvisoryWEBAdvisory
- www.reddit.com/r/ethereum/comments/9vkk2g/netta_labs_claim_to_have_found_a_vulnerability_in/e9d3wyx/X Refsource MISCThird Party AdvisoryAdvisoryWEB
- github.com/ethereum/py-evmPACKAGE