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

CVE-2018-13719

CVE-2018-13719

Description

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

CVE-2018-13719 is an integer overflow in BiteduToken's mintToken function that lets the contract owner set any user's balance arbitrarily.

Vulnerability

The mintToken function in the BiteduToken smart contract (an Ethereum token) contains an integer overflow vulnerability. The contract implementation, as seen in the repository at [2], allows the owner to mint new tokens for any address without proper overflow checks, enabling the owner to set the balance of an arbitrary user to any value [1]. The affected versions are all deployments of the BiteduToken contract as found in the BiteduToken folder of the EtherTokens repository [2].

Exploitation

An attacker who is the owner of the BiteduToken contract can exploit this vulnerability by calling the mintToken function with a large mintedAmount parameter. The integer overflow occurs in the arithmetic operation that updates the target user's balance, bypassing standard Ethereum token balance constraints. No special network position or user interaction is required; the owner simply invokes the function with crafted input to overflow the balance variable and set any arbitrary value [1].

Impact

A successful exploit allows the contract owner to arbitrarily set the balance of any user to any value, including extremely large or negative (wrapping) values. This effectively compromises the integrity of the token's supply and user balances, enabling the owner to inflate balances at will, potentially leading to financial loss for token holders and loss of trust in the token [1].

Mitigation

No official fix or patched version has been disclosed in the available references. The contract as published in the repository at [2] remains vulnerable. Users and token holders should consider the contract as unpatched and exercise caution; deploying a corrected version with safe arithmetic (e.g., using OpenZeppelin's SafeMath library) would mitigate the overflow. The CVE is not listed in KEV at publication time.

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.