Integer overflow in the msg_receive function in PHP 4 before 4.4.5 and PHP 5 before 5.2.1, on FreeBSD and possibly other platforms, allows context-dependent attackers to execute arbitrary code via certain maxsize values, as demonstrated by 0xffffffff.
https://exchange.xforce.ibmcloud.com/vulnerabilities/33775
https://euvd.enisa.europa.eu/vulnerability/EUVD-2007-1884