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

CVE-2018-13626

CVE-2018-13626

Description

The mintToken function of a smart contract implementation for SemainToken, 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 SemainToken's mintToken function allows contract owner to arbitrarily set any user's balance.

Vulnerability

The mintToken function in the SemainToken smart contract (an Ethereum token) contains an integer overflow vulnerability. This allows the contract owner to set the balance of any arbitrary user to any value. The affected contract is the SemainToken implementation as found in the EtherTokens repository [2]. The vulnerability is a classic integer overflow in the mint function, as described in the reference [1].

Exploitation

The attacker must be the contract owner (the address that deployed the contract). No other privileges or user interaction are required. The owner simply calls the mintToken function with a large mintedAmount value that causes an integer overflow when updating the target user's balance, resulting in an arbitrary balance.

Impact

The owner can arbitrarily set the balance of any user to any value, effectively controlling the token supply and distribution. This can lead to theft of funds, manipulation of token economics, and complete loss of trust in the token.

Mitigation

No official fix has been published for SemainToken. The vulnerability is inherent in the contract code as deployed. Users should avoid using this token contract. The reference [1] provides a general description of the integer overflow pattern, but no specific patch is available. The contract may be considered abandoned or unaudited.

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.