SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2018-17877

The developer used the extcodesize() function to prevent a malicious contract from being called, but the attacker can bypass it by writing the core code in the constructor of their exploit code.

HIGH 7.5EPSS 1.64%

Does this matter?

High impact if exploited, but EPSS currently rates exploitation as unlikely (1.64%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.

Description

A lottery smart contract implementation for Greedy 599, an Ethereum gambling game, generates a random value that is predictable via an external contract call. The developer used the extcodesize() function to prevent a malicious contract from being called, but the attacker can bypass it by writing the core code in the constructor of their exploit code. Therefore, it allows attackers to always win and get rewards.

CVSS 3.0
7.5 HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
1.64% probability · 76th percentile
Public exploits
None in Exploit-DB
CISA KEV
Not listed
Weakness
CWE-338
Affected
greedy599/greedy 599
Source
cve@mitre.org
EPSS trend
0%3%5%27 October 2026: 1.64%27 October 202627 October 2026

EPSS 1.6% since 27 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.