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

CVE-2018-13159

CVE-2018-13159

Description

The mintToken function of a smart contract implementation for bankcoin (BNK), 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 mintToken allows bankcoin contract owner to arbitrarily set user balances.

Vulnerability

The mintToken function in the bankcoin (BNK) Ethereum smart contract contains an integer overflow vulnerability. This flaw allows the contract owner to set the balance of any user to an arbitrary value [1], [2]. The vulnerable contract is deployed on the Ethereum blockchain; specific version information is not provided in the references.

Exploitation

The attacker must be the owner of the bankcoin contract. By calling the mintToken function with a carefully crafted large value, the integer overflow occurs, enabling the owner to assign any desired balance to any chosen address. No additional privileges or user interaction are required beyond the owner's access [2].

Impact

Successful exploitation grants the contract owner complete control over token balances. This can be used to inflate the total supply arbitrarily, assign excessive tokens to the attacker's address, or drain other users' holdings. The integrity of the token is completely compromised, as balances can be manipulated at will [1], [2].

Mitigation

No official fix or updated contract version is disclosed in the available references. Users should avoid interacting with the bankcoin contract and consider it malicious. As of the publication date (2018-07-05), no workaround exists other than discontinuing use of the token [2].

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.