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

CVE-2018-13158

CVE-2018-13158

Description

The mintToken function of a smart contract implementation for AssetToken, 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 AssetToken smart contract's mintToken function has an integer overflow allowing the owner to arbitrarily set any user's balance.

Vulnerability

The mintToken function in the AssetToken smart contract, an Ethereum token, contains an integer overflow vulnerability. The function does not perform arithmetic validation when increasing a user's balance, allowing the owner to set the balance of an arbitrary user to any value. The vulnerable contract is part of the AssetToken project [1][2].

Exploitation

An attacker who is the contract owner can call the mintToken function with a large amount, causing an overflow in the balance addition. By carefully selecting input values, the owner can set any user's token balance to a desired value without equivalent token minting limits [1].

Impact

A contract owner can arbitrarily increase or decrease the token balance of any user, directly manipulating token supply and user holdings. This undermines the token's integrity and can lead to financial loss or manipulation of the token economy [1].

Mitigation

No fix has been publicly released for the AssetToken contract. The reference indicates the vulnerability follows the same pattern as other tokens in the EtherTokens repository [1]. Users should avoid using this unpatched contract; no workaround is available aside from replacing the contract with a safe version that includes integer overflow protection.

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.