CVE-2018-13478
Description
The mintToken function of a smart contract implementation for DMPToken, 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.
Integer overflow in DMPToken's mintToken function allows the contract owner to arbitrarily set any user's balance.
Vulnerability
The mintToken function in the DMPToken smart contract (an Ethereum token) contains an integer overflow vulnerability. The function performs arithmetic on user-supplied values without proper overflow checks, allowing the owner to set the balance of any arbitrary user to any value. The vulnerable code is present in the DMPToken contract as hosted in the referenced repository [1][2]. No specific version numbers are provided, but the contract is part of the EtherTokens collection.
Exploitation
An attacker must be the contract owner (the address that deployed the contract). The owner can call mintToken with a large mintedAmount value that causes an integer overflow in the balance update, resulting in an arbitrary balance for the target address. No additional authentication or user interaction is required beyond owner privileges.
Impact
Successful exploitation allows the owner to inflate or deflate any user's token balance arbitrarily. This can lead to total loss of token value, manipulation of token supply, and potential theft of funds from other users if the token is traded or used in other contracts.
Mitigation
No fix or patched version has been disclosed in the available references [1][2]. The contract remains vulnerable as published. Users should avoid using the DMPToken contract or any similar contract that lacks safe arithmetic operations (e.g., using OpenZeppelin's SafeMath library).
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/DMPTokenmitrex_refsource_MISC
News mentions
0No linked articles in our index yet.