CVE-2018-18920: Buffer Overflow

Published Nov 12, 2018
·
Updated

Py-EVM v0.2.0-alpha.33 allows attackers to make a vm.executebytecode 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."

Affected Software

2 affected components
Ethereum Py-evm=0.2.0-alpha.33
pip/py-evm<=0.2.0a33

Event History

Nov 12, 2018
CVE Published
via MITRE·02:00 AM
Data Sourced
via MITRE·02:00 AM
Description
Nov 21, 2018
Advisory Published
10:23 PM

Frequently Asked Questions

1

What is CVE-2018-18920?

CVE-2018-18920 is a vulnerability in Py-EVM v0.2.0-alpha.33 that allows attackers to trigger an execution failure by making a vm.execute_bytecode call with invalid opcode.

2

What is the severity of CVE-2018-18920?

The severity of CVE-2018-18920 is high with a CVSS score of 8.8.

3

How does CVE-2018-18920 affect the software?

CVE-2018-18920 affects Py-EVM v0.2.0-alpha.33 and Ethereum Py-evm 0.2.0-alpha.33.

4

How can I fix CVE-2018-18920?

To fix CVE-2018-18920, upgrade Py-EVM and Ethereum Py-evm to a version that fixes the vulnerability.

5

Where can I find more information about CVE-2018-18920?

You can find more information about CVE-2018-18920 on NIST NVD and GitHub.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203