CVE-2018-18666: SwftCoin - Integer Overflow
- Cve: CVE-2018-18666
- Name: SwftCoin - Integer Overflow
- Description: The mintToken function of SwftCoin (SWFTC) aka SwftCoin, 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 with owner privileges can arbitrarily set user balances, potentially leading to financial manipulation or token inflation.
- Remediation: Implement safe math operations and update to the latest contract version with overflow protections.
- 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.01424
- Epss percentile: 0.73611
- Assignee: [email protected]
- Published at: 2018-12-28T17:29:00Z
- Age in days: 2888
- Modified at: 2026-06-17T01:47:40Z
- Public exploits total: 2
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-18666
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-190 | Integer Overflow or Wraparound |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/SwftCoins/SwftCoin/issues/1 | nvd | 2018-12-28 |
| https://github.com/n0pn0pn0p/smart_contract_-vulnerability/blob/master/PolyAi.md | nvd | 2018-12-28 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/SwftCoins/SwftCoin/issues/1 | Exploit, Third Party Advisory |
| https://github.com/n0pn0pn0p/smart_contract_-vulnerability/blob/master/PolyAi.md | Exploit, Third Party Advisory |
| https://etherscan.io/address/0x0bb217e40f8a5cb79adf04e1aab60e5abd0dfc1e#code | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| swft:swftcoin | all versions | no | nvd | /v1/products/swft/swftcoin |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| swftcoins/swftcoin | issues | yes | /v1/repositories/swftcoins/swftcoin |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2018-12-28
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts