CVE-2002-0985
HIGH 7.5CVSS 2.0Argument 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.
- Published
- 24 Sep 2002
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-88
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | php | phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:* |
>= 4.0, <= 4.2.2 | |
| NVD | openpkg | openpkgcpe:2.3:a:openpkg:openpkg:1.1:*:*:*:*:*:*:* |
= 1.1 | |
| NVD | openpkg | openpkgcpe:2.3:a:openpkg:openpkg:1.2:*:*:*:*:*:*:* |
= 1.2 |
References
- ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2003-008.0.txt · Broken Link
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000545 · Broken Link
- http://marc.info/?l=bugtraq&m=103011916928204&w=2 · Third Party Advisory
- http://marc.info/?l=bugtraq&m=105760591228031&w=2 · Third Party Advisory
- http://www.debian.org/security/2002/dsa-168 · Broken Link, Patch, Vendor Advisory
- http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:082 · Broken Link
- http://www.novell.com/linux/security/advisories/2002_036_modphp4.html · Broken Link
- http://www.osvdb.org/2111 · Broken Link
- http://www.redhat.com/support/errata/RHSA-2002-213.html · Broken Link, Patch, Vendor Advisory
- http://www.redhat.com/support/errata/RHSA-2002-214.html · Broken Link
- http://www.redhat.com/support/errata/RHSA-2002-243.html · Broken Link
- http://www.redhat.com/support/errata/RHSA-2002-244.html · Broken Link
- http://www.redhat.com/support/errata/RHSA-2002-248.html · Broken Link
- http://www.redhat.com/support/errata/RHSA-2003-159.html · Broken Link
- https://exchange.xforce.ibmcloud.com/vulnerabilities/9966 · Third Party Advisory, VDB Entry
History
- 25 Nov 2026 20:11 UTC · NVD: first stored (published 24 Sep 2002)