The mail function in PHP 4.0.0 through 4.4.6 and 5.0.0 through 5.2.1 truncates e-mail messages at the first ASCIIZ ('\0') byte, which might allow context-dependent attackers to prevent intended information from being delivered in e-mail messages. NOTE: this issue might be security-relevant in cases when the trailing contents of e-mail messages are important, such as logging information or if the message is expected to be well-formed.
https://exchange.xforce.ibmcloud.com/vulnerabilities/33518
http://www.vupen.com/english/advisories/2007/2732
http://www.securityfocus.com/bid/25159
http://www.novell.com/linux/security/advisories/2007_32_php.html
http://us2.php.net/releases/5_2_2.php
http://us2.php.net/releases/4_4_7.php
http://security.gentoo.org/glsa/glsa-200705-19.xml
http://secunia.com/advisories/26235
http://secunia.com/advisories/25445
http://secunia.com/advisories/25056
http://lists.apple.com/archives/security-announce//2007/Jul/msg00004.html