ADVISORIES

Vulnerability

CVE-2018-18920

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."

3 advisories report this vulnerability, across 1 ecosystem.

High severity PyPI 3

Advisories in PyPI

  • GHSA-vqgp-4jgj-5j64

    Py-EVM is vulnerable to arbitrary bytecode injection

    High CVE-2018-18920 PyPI Updated 5 June 2026
  • PYSEC-2018-155

    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…

    CVE-2018-18920 PyPI Updated 21 May 2026
  • PYSEC-2018-96

    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…

    CVE-2018-18920 PyPI Updated 20 May 2026

References