CVE-2018-19183: Denial of Service in ethereumjs-vm

ethereumjs-vm Updated 02 Oct 2025

Summary

21/11/2018
No i
High
7.5

CVE-2018-19183: Denial of Service in ethereumjs-vm. Affects ethereumjs-vm versions < 2.4.0. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

ethereumjs-vm is an npm package that provides a virtual machine implementation for the Ethereum blockchain. It allows developers to execute Ethereum smart contracts in a sandboxed environment. The package is widely used in Ethereum-based applications and platforms. However, version 2.4.0 of ethereumjs-vm is vulnerable to a Denial of Service (DoS) attack.

Vulnerability Detail

The vulnerability in ethereumjs-vm 2.4.0 allows attackers to cause a DoS by exploiting a failure in the 'vm.runCode' function. By providing a specific 'code' attribute, constructed using 'Buffer.from(my_code, 'hex')', an attacker can trigger a failure and force the virtual machine to REVERT. This can lead to the disruption of the Ethereum network and impact the availability of affected applications.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no known workaround for this vulnerability. It is recommended to update the package to the latest secure version as soon as possible.

Conclusion

The vulnerability in ethereumjs-vm 2.4.0 can be exploited to cause a DoS attack. To protect your application and the Ethereum network, it is crucial to update the package to version 2.4.1 or later. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for ethereumjs-vm →

Share this vulnerability

FAQ

ethereumjs-vm is an npm package that provides a virtual machine implementation for executing Ethereum smart contracts.

The vulnerability allows attackers to cause a DoS, potentially disrupting the Ethereum network and impacting affected applications.

To fix this vulnerability, update the ethereumjs-vm package to version 2.4.1 or later.

No, there is no known workaround for this vulnerability. Updating the package is the recommended solution.

For more information, refer to the GitHub Security Advisory GHSA-2mw7-wggm-m6w3.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback