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

CVE-2018-13558

CVE-2018-13558

Description

The mintToken function of a smart contract implementation for rhovit, 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.

Smart contract rhovit mintToken integer overflow allows owner to arbitrarily set any user's balance.

Vulnerability

The mintToken function in the rhovit Ethereum token smart contract contains an integer overflow vulnerability [1]. The contract allows the owner to call mintToken to mint tokens to a specified address. Due to insufficient arithmetic checks, an overflow can occur in the balance update, enabling the owner to set the balance of any user to an arbitrary value [2]. This affects the rhovit token contract as implemented in the EtherTokens repository.

Exploitation

The attacker must be the owner of the contract, as mintToken is typically restricted to the owner. The owner calls mintToken with a large mintedAmount parameter resulting in an integer overflow when updating the recipient's balance. This overflows and sets the balance to a desired value (e.g., a very high value).

Impact

An owner can arbitrarily set any user's token balance to any value, potentially inflating supply or manipulating balances. This can lead to loss of funds for other users or manipulation of the token's economy.

Mitigation

No fix has been published in the available references. Developers should upgrade to a version with safe arithmetic (e.g., using SafeMath). The contract is part of EtherTokens, which may be unaudited. No CVE-related patch is mentioned.

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.