SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2007-1717

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.

EXPLOIT ✓MEDIUM 5.0EPSS 4.83%

Does this matter?

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.

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.

CVSS 2.0
5.0 MEDIUMAV:N/AC:L/Au:N/C:N/I:P/A:N
EPSS
4.83% probability · 92th percentile
Public exploits
1 in Exploit-DB · verified · first 26 November 2007
CISA KEV
Not listed
Affected
php/php
Source
cve@mitre.org
EPSS trend
0%3%5%26 October 2026: 4.83%26 October 202626 October 2026

EPSS 4.8% since 26 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.

Public exploits (1)

Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.

EDB-IDTitleTypePublishedVerified
EDB-29784source ↗PHP 5.2.1 - Folded Mail Headers Email Header Injectionphp · Stefan Esserremote26 November 2007yes

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.