CVE-2001-1246
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.
Exploit likelihood
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 High
AV: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.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | PHP 4.x - SafeMode Arbitrary File Execution | 2001-06-30 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE 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
redhat.com/support/errata/RHSA-2003-159.html
redhat.com/support/errata/RHSA-2002-129.html
iss.net/security_center/static/6787.php
securityfocus.com/bid/2954
online.securityfocus.com/archive/1/194425
redhat.com/support/errata/RHSA-2002-102.html
php.net/do_download.php?download_file=php-4.1.2.tar.gz
nvd.nist.gov/vuln/detail/CVE-2001-1246
github.com/advisories/GHSA-7pf5-hfgr-ch72