CVE-2018-13517: C3 Token - Integer Overflow
- Cve: CVE-2018-13517
- Name: C3 Token - Integer Overflow
- Description: The mintToken function of a smart contract implementation for C3 Token (C3), 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.
- Impact: Attackers can arbitrarily set user balances, potentially leading to financial fraud or token inflation.
- Remediation: Implement safe arithmetic operations (e.g., using SafeMath library) and review the mint function to prevent overflows.
- Vulnerability type: integer_overflow
- Vulnerability impact: data_tampering
- Requirement type: admin_privileges
- Requirements: Attacker must be the contract owner
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Epss score: 0.01008
- Epss percentile: 0.63934
- Assignee: [email protected]
- Published at: 2018-07-09T06:29:03Z
- Age in days: 3060
- Modified at: 2026-06-17T01:39:34Z
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-13517
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-190 | Integer Overflow or Wraparound |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/BlockChainsSecurity/EtherTokens/blob/master/GEMCHAIN/mint%20integer%20overflow.md | nvd | Third Party Advisory |
| https://github.com/BlockChainsSecurity/EtherTokens/tree/master/C3_TokenCreate | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| c3_token_project:c3_token | all versions | no | nvd | /v1/products/c3_token_project/c3_token |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts