Every CVE Search/ Get API key

CVE-2001-1246

PHP 4.0.5 through 4.1.0 in safe mode does not properly cleanse the 5th parameter to the mail()...

7.5 HighPublic exploit

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.

Exploit likelihood

9.72%Up 5.0 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 7.5

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.

Record
CVE-2001-1246
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-88
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2001-1246
Updated
2026-11-02
EUVDEUVD-2001-1227 No score

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.

Record
EUVD-2001-1227
Updated
2026-11-03
GitHub AdvisoriesGHSA-7pf5-hfgr-ch72 No score

PHP 4.0.5 through 4.1.0 in safe mode does not properly cleanse the 5th parameter to the mail()...

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.

Record
GHSA-7pf5-hfgr-ch72
Weakness
CWE-88
Updated
2026-11-02

Affected products

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
Exploit-DBPHP 4.x - SafeMode Arbitrary File Execution2001-06-30

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, Exploit-DB, GitHub Advisories, NVD

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2001-1246 is a high vulnerability (CVSS 7.5) in Php, published June 30, 2001. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 9.72%, the 95th percentile. No source names a fixed version.

References

MoveEnter Open