Argument injection vulnerability in the mail function for PHP 4.x to 4.2.2 may allow attackers to bypass safe mode restrictions and modify command line arguments to the MTA (e.g. sendmail) in the 5th argument to mail(), altering MTA behavior and possibly executing commands.
https://exchange.xforce.ibmcloud.com/vulnerabilities/9966
https://euvd.enisa.europa.eu/vulnerability/EUVD-2002-0974
http://www.redhat.com/support/errata/RHSA-2003-159.html
http://www.redhat.com/support/errata/RHSA-2002-248.html
http://www.redhat.com/support/errata/RHSA-2002-244.html
http://www.redhat.com/support/errata/RHSA-2002-243.html
http://www.redhat.com/support/errata/RHSA-2002-214.html
http://www.redhat.com/support/errata/RHSA-2002-213.html
http://www.novell.com/linux/security/advisories/2002_036_modphp4.html
http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:082
http://www.debian.org/security/2002/dsa-168
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000545