KoreaShow Ethereum ERC20 token CVE-2018-10973 – Integer overflow

Authors:Qinghao Tang             Risk:High

CVE:CVE-2018-10973              0day:Integer overflow  

0day -id:0DAY-176163             Date:2018-05-11


An integer overflow in the transferMulti function of a smart contract implementation for KoreaShow, an Ethereum ERC20 token, allows attackers to accomplish an unauthorized increase of digital assets via crafted _value parameters.


Let`s see where this issue is:

function transferMulti(address[] _to, uint256[] _value) public returns
(uint256 amount){

        require(_to.length == _value.length);

        uint8 len = uint8(_to.length);

        for(uint8 j; j<len; j++){

            amount += _value[j]; <------here, crafted _value can make
amount overflow


        require(balanceOf[msg.sender] >= amount);

        for(uint8 i; i<len; i++){

            address _toI = _to[i];

            uint256 _valueI = _value[i];

            balanceOf[_toI] += _valueI;

            balanceOf[msg.sender] -= _valueI;

            Transfer(msg.sender, _toI, _valueI);



If you can reproduce the issues , please give it a cve id ,and disclosure
this vulneralbility officially claiming that ” Qinghao Tang ” is the
discoverer .

Leave a Reply