{"id":"CVE-2018-12062","aliases":["EUVD-2018-4045","GHSA-87v8-hh3h-7p56"],"status":"published","title":"The sell function of a smart contract implementation for SwftCoin (SWFTC), a tradable Ethereum...","description":"The sell function of a smart contract implementation for SwftCoin (SWFTC), a tradable Ethereum ERC20 token, allows a potential trap that could be used to cause financial damage to the seller, because of overflow of the multiplication of its argument amount and a manipulable variable sellPrice, aka the \"tradeTrap\" issue.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00876,"percentile":0.59236,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-190"],"published":"2018-06-25T11:00:00Z","modified":"2026-06-17T01:37:05Z","products":[{"vendor":"swft","product":"swftcoin"}],"references":[{"url":"https://peckshield.com/2018/06/11/tradeTrap/","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-12062"},{"url":"https://github.com/advisories/GHSA-87v8-hh3h-7p56"}],"sources":{"cve":[{"id":"CVE-2018-12062","description":"The sell function of a smart contract implementation for SwftCoin (SWFTC), a tradable Ethereum ERC20 token, allows a potential trap that could be used to cause financial damage to the seller, because of overflow of the multiplication of its argument amount and a manipulable variable sellPrice, aka the \"tradeTrap\" issue.","status":"published","published":"2018-06-25T11:00:00Z","modified":"2024-08-05T08:24:03.615Z","updated_at":"2026-11-02T14:35:06.320867Z"}],"euvd":[{"id":"EUVD-2018-4045","description":"The sell function of a smart contract implementation for SwftCoin (SWFTC), a tradable Ethereum ERC20 token, allows a potential trap that could be used to cause financial damage to the seller, because of overflow of the multiplication of its argument amount and a manipulable variable sellPrice, aka the \"tradeTrap\" issue.","status":"published","published":"2018-06-25T11:00:00Z","modified":"2024-08-05T08:24:03Z","updated_at":"2026-11-03T02:39:53.575925Z"}],"ghsa":[{"id":"GHSA-87v8-hh3h-7p56","title":"The sell function of a smart contract implementation for SwftCoin (SWFTC), a tradable Ethereum...","description":"The sell function of a smart contract implementation for SwftCoin (SWFTC), a tradable Ethereum ERC20 token, allows a potential trap that could be used to cause financial damage to the seller, because of overflow of the multiplication of its argument amount and a manipulable variable sellPrice, aka the \"tradeTrap\" issue.","status":"published","published":"2022-05-13T01:49:25Z","modified":"2023-02-02T05:01:52Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:51:17.485612Z"}],"nvd":[{"id":"CVE-2018-12062","description":"The sell function of a smart contract implementation for SwftCoin (SWFTC), a tradable Ethereum ERC20 token, allows a potential trap that could be used to cause financial damage to the seller, because of overflow of the multiplication of its argument amount and a manipulable variable sellPrice, aka the \"tradeTrap\" issue.","status":"published","published":"2018-06-25T11:29:00.31Z","modified":"2026-06-17T01:37:05.053Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:04:30.900603Z"}]}}
