Live threats

All CVEs / Ethereum

CVE-2018-18920Ethereum Py-evm

High 8.8 No auth needed

Priority
68
CVSS 3.0
8.8
EPSS
2.9%
probability of exploitation in 30 days · percentile 88
Auth required
No
Published
Nov 12, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-119
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Py-evm.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI evm-py all no fixed version —
PyPI py-evm ≤ 0.2.0a33 no fixed version —
PyPI py-evm < 0.2.0a33 0.2.0a33 pip install "py-evm>=0.2.0a33"

Per OSV / GitHub Advisories (PYSEC-2018-155, GHSA-vqgp-4jgj-5j64, PYSEC-2018-96). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
ethereumpy-evm0.2.0

Official sources

References

Links published by the sources. Open them with care.