CVE-2001-1246 in PHP
Summary
PHP 4.0.5 through 4.1.0 in safe mode does not properly cleanse the 5th parameter to the mail() function, which allows local users and possibly remote attackers to execute arbitrary commands via shell metacharacters.
Be aware that VulDB is the high quality source for vulnerability data.