How Is the Call Function in Solidity Related to Reentrancy?
The low-level call function in Solidity is often used to send Ether to external addresses. Unlike transfer or send , call forwards all available gas by default, which allows the receiving contract to execute complex logic, including calling back the original contract.
This high gas forwarding is the mechanism that enables the reentrancy vulnerability.