Security mailing lists by PureSourceCode

CVE-2002-0985

HIGH 7.5CVSS 2.0

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.

Published
24 Sep 2002
Last modified
16 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-88
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD php php
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 4.0, <= 4.2.2
NVD openpkg openpkg
cpe:2.3:a:openpkg:openpkg:1.1:*:*:*:*:*:*:*
= 1.1
NVD openpkg openpkg
cpe:2.3:a:openpkg:openpkg:1.2:*:*:*:*:*:*:*
= 1.2

References

History

  • 25 Nov 2026 20:11 UTC · NVD: first stored (published 24 Sep 2002)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.