{"id":"CVE-2007-1717","published":"2007-03-28T00:00:00Z","modified":"2024-08-07T13:06:26Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.04831,"percentile":0.92199,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.vupen.com/english/advisories/2007/2732","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://secunia.com/advisories/25056","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/33518","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://lists.apple.com/archives/security-announce//2007/Jul/msg00004.html","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://security.gentoo.org/glsa/glsa-200705-19.xml","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://www.securityfocus.com/bid/23146","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.php-security.org/MOPB/MOPB-33-2007.html","tags":["x_refsource_MISC"]},{"url":"http://us2.php.net/releases/4_4_7.php","tags":["x_refsource_CONFIRM"]},{"url":"http://us2.php.net/releases/5_2_2.php","tags":["x_refsource_CONFIRM"]},{"url":"http://docs.info.apple.com/article.html?artnum=306172","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/25159","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://secunia.com/advisories/25445","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.novell.com/linux/security/advisories/2007_32_php.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://secunia.com/advisories/26235","tags":["third-party-advisory","x_refsource_SECUNIA"]}],"priority":{"score":23.4,"factors":[{"name":"EPSS percentile","points":18.44},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2007-11-26"},"first":{"date":"2007-11-26","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/29784"},"provenance":"source"},"summary":{"text":"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 (NUL) byte, so content after that byte is not delivered. An attacker able to influence the message content in a context-dependent way could prevent intended information from reaching recipients, which may matter where trailing message contents such as logging information or well-formedness are relied upon.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:07:24Z"},"euvd":{"id":"EUVD-2007-1711","exploited":false,"provenance":"source"},"exploits":[{"id":29784,"url":"https://www.exploit-db.com/exploits/29784","title":"PHP 5.2.1 - Folded Mail Headers Email Header Injection","date":"2007-11-26","verified":true,"provenance":"source"}]}