Security mailing lists by PureSourceCode

CVE-2018-18920

HIGH 8.8CVSS 3.0

Py-EVM is vulnerable to arbitrary bytecode injection

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

Published
12 Nov 2018
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-119
Also known as
GHSA-vqgp-4jgj-5j64PYSEC-2018-155PYSEC-2018-96
Sources
NVDJSONOSV GHSA-vqgp-4jgj-5j64JSONOSV PYSEC-2018-155JSONOSV PYSEC-2018-96JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.0 HIGH 8.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.0 HIGH 8.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV PyPA CVSS 3.0 HIGH 8.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD ethereum py-evm
cpe:2.3:a:ethereum:py-evm:0.2.0:alpha.33:*:*:*:*:*:*
= 0.2.0
OSV PyPI py-evm <= 0.2.0a33
OSV PyPI evm-py <= 0.2.0-alpha\.33
OSV PyPI py-evm < 0.2.0a33 0.2.0a33

References

History

  • 25 Nov 2026 20:21 UTC · NVD: first stored (published 12 Nov 2018)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 12 Nov 2018)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 12 Nov 2018)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 21 Nov 2018)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.