BreachSpiderVerified, not vibes

CVE-2002-0985 in Openpkg and 1 more product

High 7.5 Fix available

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.

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 2.07.5
EPSS3.0%
EPSS percentile88th
FixAvailable

Remotely exploitable over the network, low complexity.

Affected products and versions

VendorProductAffected versions
Openpkg Openpkg 1.1 1.2
Php Php ≥ 4.0, ≤ 4.2.2

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2002-0985
BreachSpider IDBS-2002-GLOBAL-351213-H
CVSS vectorAV:N/AC:L/Au:N/C:P/I:P/A:P
Published2002-09-24
Last modified2026-04-16
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-88: CWE-88

Related attack patterns (CAPEC)

CAPEC-41 Using Meta-characters in E-mail Headers to Inject Malicious Payloads via CWE-88

CAPEC-174 Flash Parameter Injection via CWE-88

CAPEC-460 HTTP Parameter Pollution (HPP) via CWE-88

CAPEC-88 OS Command Injection via CWE-88

CAPEC-137 Parameter Injection via CWE-88

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2002. A high severity vulnerability affects Openpkg systems (CVE-2002-0985). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: 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. CVSS vector: AV:N/AC:L/Au:N/C:P/I:P/A:P.

Questions

What is CVE-2002-0985?

This vulnerability was disclosed in 2002. A high severity vulnerability affects Openpkg systems (CVE-2002-0985). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2002-0985?

CVE-2002-0985 has CVSS 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. EPSS: 3.0%.

Is CVE-2002-0985 actively exploited?

No confirmed active exploitation of CVE-2002-0985 as of 2026-05-30.

How do I remediate CVE-2002-0985?

Priority: MEDIUM. PSIRT: [email protected]

What systems are affected by CVE-2002-0985?

CVE-2002-0985 affects Openpkg Openpkg; Php Php.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Openpkg","product":"Openpkg","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-04-16.