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

CVE-2018-13195

CVE-2018-13195

Description

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

Vulnerability

The mintToken function in the Cranoo (CRN) Ethereum smart contract suffers from an integer overflow vulnerability. The function does not validate the amount parameter before using it in arithmetic operations, allowing the owner to compute a new balance that can wrap around due to overflow. This affects the Cranoo token contract as described in the repository of vulnerable Ether tokens [1][2]. The exact contract version is not specified, but the vulnerability is present in the Cranoo implementation.

Exploitation

The attacker must be the owner of the smart contract. The owner can call the mintToken function with a carefully chosen large mintedAmount value that causes an integer overflow when added to the recipient's balance. The overflow results in a new balance that is much smaller or can be controlled. The owner can set the balance of any arbitrary user to any value they desire by exploiting this overflow [1].

Impact

A successful exploitation allows the owner to arbitrarily inflate or deflate the token balance of any address. This effectively breaks the core accounting of the token, enabling the owner to mint an unlimited number of tokens or to corrupt user balances. The impact is a complete loss of supply integrity and trust in the token economics [1].

Mitigation

No official patch or fixed version has been published for the Cranoo contract. The affected contract remains vulnerable as disclosed in the EtherTokens audit repository [1][2]. There is no mention of this CVE on the CISA Known Exploited Vulnerabilities Catalog. As a workaround, any user should treat this token as untrustworthy and avoid using it until a fixed contract with proper overflow checks is deployed.

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.