Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
7.5
CVE-2018-13778: CGCToken contract lets owner assign unlimited tokens
CVE-2018-13778 · published 8 years ago
Summary
The CGCToken smart contract on Ethereum has a coding error that lets its owner change any user's token balance to any amount. This could let the owner give themselves or others far more tokens than intended, affecting the token's value and trust. Update to the corrected contract version or apply the provided patch as soon as possible.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| cgctoken_project | cgctoken |
All versions
cpe:2.3:a:cgctoken_project:cgctoken:-:*:*:*:*:*:*:* |
Original advisory text
The mintToken function of a smart contract implementation for CGCToken, an Ethereum token, has an integer overflow that allows the owner of the contract to set the balance of an arbitrary user to a...
The mintToken function of a smart contract implementation for CGCToken, an Ethereum token, has an integer overflow that allows the owner of the contract to set the balance of an arbitrary user to any value.
References
- https://github.com/BlockChainsSecurity/EtherTokens/blob/master/GEMCHAIN/mint%20i... Exploit Third Party Advisory
- https://github.com/BlockChainsSecurity/EtherTokens/tree/master/CGCToken Third Party Advisory
Internet-facing
14 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically (estimated)
- Gives an attacker partial control (estimated)
Type
CWE-190Integer Overflow
Timeline
Published9 Jul 2018
Updated4 Nov 2026
First seen29 Sep 2026
Sources
CVE-2018-13778 · NVD
Track software like this
Free during beta