CVE-2018-13226
7.5high
The sell function of a smart contract implementation for YLCToken, an Ethereum token, has an integer overflow in which "amount sellPrice" c…
- Severity
- 7.5high CVSS:3.0 by NVD
- Exploit likelihood
- 1.02% (higher than 64% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
Description
The sell function of a smart contract implementation for YLCToken, an Ethereum token, has an integer overflow in which "amount * sellPrice" can be zero, consequently reducing a seller's assets.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| ylctoken_project ylctoken | Not specified | NVD |
All scores
| NVD | 7.5high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Classification
What each source says
CVE List
The sell function of a smart contract implementation for YLCToken, an Ethereum token, has an integer overflow in which "amount * sellPrice" can be zero, consequently reducing a seller's assets.
NVD (es)
La función sell de una implementación de contrato inteligente para YLCToken, un token de Ethereum, tiene un desbordamiento de enteros por el cual "amount * sellPrice" puede ser cero, lo que reduce los activos de un vendedor.
References
| https://github.com/BlockChainsSecurity/EtherTokens/tree/master/YLCToken | third-party-advisory | |
| https://github.com/BlockChainsSecurity/EtherTokens/blob/master/ETHEREUMBLACK/sell%20integer%20overflow.md | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2018-13226 changed 2024-08-05 | CVE Terms of Use |
| NVD | CVE-2018-13226 changed 2026-06-17 | Public domain |