CVE-2001-1246 json
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 possi…
published 2001-06-30 25 y ago modified 2026-06-16 4 mo ago also EUVD-2001-1227
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 9.7%
- EPSS 9.7% chance of exploitation in 30 days, percentile 95%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2001-1246 updated
security flaw
-
Red Hat Linux 7.0 Red Hat Linux 7.1 Red Hat Linux 7.2 Red Hat Linux 7.3fixed: vendor fix RHSA-2002:102
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-20985)
- Published
Exploit prediction
9.72% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-20985 PHP 4.x - SafeMode Arbitrary File Execution local, 2001-06-30
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-88 Improper Neutralization of Argument Delimiters in a Command
- Technology feeds
References
-
iss.net
/security_center/static/6787.php
vdb-entry, broken-link, patch, vendor-advisory
-
redhat.com
/support/errata/RHSA-2003-159.html
vendor-advisory, broken-link
-
redhat.com
/support/errata/RHSA-2002-129.html
vendor-advisory, broken-link
-
redhat.com
/support/errata/RHSA-2002-102.html
vendor-advisory, broken-link
-
securityfocus.com
/bid/2954
vdb-entry, broken-link, third-party-advisory
-
online.securityfocus.com
/archive/1/194425
mailing-list, broken-link, third-party-advisory, vdb-entry
-
php.net
/do_download.php?download_file=php-4.1.2.tar.gz
broken-link
Sources
- CVE List CVE-2001-1246
- NVD CVE-2001-1246
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.