VYPR
Unrated severityNVD Advisory· Published Jul 9, 2018· Updated Aug 5, 2024

CVE-2018-13478

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

1

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

2

News mentions

0

No linked articles in our index yet.