CVE-2018-13730
Description
The mintToken function of a smart contract implementation for HEY, 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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
The mintToken function in HEY Ethereum token suffers from integer overflow, enabling the contract owner to arbitrarily set any user's balance.
Vulnerability
The mintToken function in the HEY Ethereum token smart contract [2] contains an integer overflow vulnerability. This allows the contract owner to set the balance of any arbitrary user to any value without proper validation. The issue is present in the HEY token implementation as described in the reference [1].
Exploitation
An attacker who is the contract owner can exploit this by calling the mintToken function with carefully crafted input values that cause an integer overflow, thereby setting the target user's balance to an arbitrary number. No special privileges beyond contract ownership are required.
Impact
Successful exploitation allows the owner to arbitrarily increase or decrease any user's token balance, leading to potential theft of funds or inflation of token supply. This compromises the integrity of the token and can cause financial loss for other holders.
Mitigation
As of the provided references, no fix or patched version has been disclosed for the HEY token. Developers should avoid using contracts with unprotected arithmetic operations and implement SafeMath functions to prevent integer overflows. Users should verify the contract code before interacting with it.
AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
2- github.com/BlockChainsSecurity/EtherTokens/blob/master/GEMCHAIN/mint%20integer%20overflow.mdmitrex_refsource_MISC
- github.com/BlockChainsSecurity/EtherTokens/tree/master/HEYmitrex_refsource_MISC
News mentions
0No linked articles in our index yet.