CVE-2002-0985
Argument injection vulnerability in the mail function for PHP 4.x to 4.2.2 may allow attackers to...
Argument injection vulnerability in the mail function for PHP 4.x to 4.2.2 may allow attackers to bypass safe mode restrictions and modify command line arguments to the MTA (e.g. sendmail) in the 5th argument to mail(), altering MTA behavior and possibly executing commands.
Exploit likelihood
What each source reports
NVD Score used
7.5
Argument injection vulnerability in the mail function for PHP 4.x to 4.2.2 may allow attackers to bypass safe mode restrictions and modify command line arguments to the MTA (e.g. sendmail) in the 5th argument to mail(), altering MTA behavior and possibly executing commands.
- Record
CVE-2002-0985- 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
Argument injection vulnerability in the mail function for PHP 4.x to 4.2.2 may allow attackers to bypass safe mode restrictions and modify command line arguments to the MTA (e.g. sendmail) in the 5th argument to mail(), altering MTA behavior and possibly executing commands.
- Record
CVE-2002-0985- Updated
- 2026-11-02
EUVDEUVD-2002-0974 No score
Argument injection vulnerability in the mail function for PHP 4.x to 4.2.2 may allow attackers to bypass safe mode restrictions and modify command line arguments to the MTA (e.g. sendmail) in the 5th argument to mail(), altering MTA behavior and possibly executing commands.
- Record
EUVD-2002-0974- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-39rv-383r-32wp No score
Argument injection vulnerability in the mail function for PHP 4.x to 4.2.2 may allow attackers to...
Argument injection vulnerability in the mail function for PHP 4.x to 4.2.2 may allow attackers to bypass safe mode restrictions and modify command line arguments to the MTA (e.g. sendmail) in the 5th argument to mail(), altering MTA behavior and possibly executing commands.
- Record
GHSA-39rv-383r-32wp- Updated
- 2026-11-02
Affected products
Affected packages
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2002-0985 is a high vulnerability (CVSS 7.5) in Php, published September 18, 2002. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.95%, the 87th percentile. Fixed in php3 3.0.18-23.1woody1.
References
marc.info?l=bugtraq&m=105760591228031&w=2
debian.org/security/2002/dsa-168
exchange.xforce.ibmcloud.com/vulnerabilities/9966
marc.info?l=bugtraq&m=103011916928204&w=2
redhat.com/support/errata/RHSA-2002-243.html
redhat.com/support/errata/RHSA-2003-159.html
Show 10 moreShow less
mandrakesoft.com/security/advisories?name=MDKSA-2003:082
novell.com/linux/security/advisories/2002_036_modphp4.html
distro.conectiva.com.br/atualizacoes?id=a&anuncio=000545
redhat.com/support/errata/RHSA-2002-213.html
redhat.com/support/errata/RHSA-2002-248.html
redhat.com/support/errata/RHSA-2002-244.html
osvdb.org/2111
redhat.com/support/errata/RHSA-2002-214.html
nvd.nist.gov/vuln/detail/CVE-2002-0985
github.com/advisories/GHSA-39rv-383r-32wp