Input validation error in OpenZeppelin Contracts - CVE-2023-40014
Published: August 10, 2023 / Updated: November 25, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a contract to treat the zero address as the caller.
The vulnerability exists due to improper calldata length validation in ERC2771Context._msgSender when processing calls from a trusted forwarder. A remote attacker can trigger incorrect sender attribution through a custom trusted forwarder that permits calls with fewer than 20 bytes of calldata.