There are contracts that declare solidity compiler version >= 0.8 but still use SafeMath, e.g. UniswapV2Library, StakingRewards:
using SafeMath for uint256;
Starting from 0.8 you no longer need to use an external SafeMath library as it is already baked in and used under the hood unless explicitly stated by using the 'unchecked' directive.
Handle
pauliax
Vulnerability details
Impact
There are contracts that declare solidity compiler version >= 0.8 but still use SafeMath, e.g. UniswapV2Library, StakingRewards:
Starting from 0.8 you no longer need to use an external SafeMath library as it is already baked in and used under the hood unless explicitly stated by using the 'unchecked' directive.