The "PayWinner" function of a simplelottery smart contract implementation for The…
Priority LOW 35CWE-338Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA.
Summary
The "PayWinner" function of a simplelottery smart contract implementation for The Ethereum Lottery, an Ethereum gambling game, generates a random value with publicly readable variable "maxTickets" (which is private, yet predictable and readable by the eth.getStorageAt function). Therefore, it allows attackers to always win and get rewards.
Why it matters now
EPSS 0.01165 67th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:theethereumlottery:the_ethereum_lottery:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | Theethereumlottery |
- cpe:2.3:a:theethereumlottery:the_ethereum_lottery:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·Theethereumlottery
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2018-15552
- 2026-10-03 Alias added: GHSA-cj6v-rj8x-qr97
References
Sources
- CVE-2018-15552 · CVE Program
- CVE-2018-15552 · NVD
- FIRST EPSS
- GHSA-cj6v-rj8x-qr97 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences