{"id":"CVE-2007-1717","url":"https://www.cyber-defence.io/tools/cve/CVE-2007-1717","generatedAt":"2026-10-27T19:39:26.330Z","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 ('\\0') byte, which might allow context-dependent attackers to prevent intended information from being delivered in e-mail messages.","description":"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.","published":"2007-03-28T00:19:00.000Z","lastModified":"2026-06-16T22:38:10.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"2.0","score":5,"severity":"MEDIUM","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N"},"cwe":[],"affected":["php/php"],"epss":{"score":0.04831,"percentile":0.9193,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":1,"verified":true,"firstPublished":"2007-11-26","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":29784,"kind":"exploit","title":"PHP 5.2.1 - Folded Mail Headers Email Header Injection","url":"https://www.exploit-db.com/exploits/29784","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/remote/29784.php","file":"exploits/php/remote/29784.php","published":"2007-11-26","added":"2007-11-26","updated":"2013-11-22","author":"Stefan Esser","type":"remote","platform":"php","port":null,"verified":true,"codes":["CVE-2007-1718","OSVDB-33948","CVE-2007-1717"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://www.securityfocus.com/bid/23145/info"}]},"verdict":{"level":"high","text":"A public exploit is published in Exploit-DB (verified), so the technical barrier is gone even though the severity is medium and EPSS is 4.8%. Treat it as high on anything reachable from the internet."},"changes":[],"references":[{"url":"http://docs.info.apple.com/article.html?artnum=306172","source":"cve@mitre.org"},{"url":"http://lists.apple.com/archives/security-announce//2007/Jul/msg00004.html","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/25056","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/25445","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/26235","source":"cve@mitre.org"},{"url":"http://security.gentoo.org/glsa/glsa-200705-19.xml","source":"cve@mitre.org"},{"url":"http://us2.php.net/releases/4_4_7.php","source":"cve@mitre.org"},{"url":"http://us2.php.net/releases/5_2_2.php","source":"cve@mitre.org"},{"url":"http://www.novell.com/linux/security/advisories/2007_32_php.html","source":"cve@mitre.org"},{"url":"http://www.php-security.org/MOPB/MOPB-33-2007.html","tags":["Exploit"],"source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/23146","tags":["Exploit"],"source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/25159","source":"cve@mitre.org"},{"url":"http://www.vupen.com/english/advisories/2007/2732","source":"cve@mitre.org"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/33518","source":"cve@mitre.org"},{"url":"http://docs.info.apple.com/article.html?artnum=306172","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.apple.com/archives/security-announce//2007/Jul/msg00004.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/25056","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/25445","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/26235","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://security.gentoo.org/glsa/glsa-200705-19.xml","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://us2.php.net/releases/4_4_7.php","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://us2.php.net/releases/5_2_2.php","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.novell.com/linux/security/advisories/2007_32_php.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.php-security.org/MOPB/MOPB-33-2007.html","tags":["Exploit"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/23146","tags":["Exploit"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/25159","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.vupen.com/english/advisories/2007/2732","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/33518","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2007-1717","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}