CVE-2002-1165 in Netbsd and 1 more product
Sendmail Consortium's Restricted Shell (SMRSH) in Sendmail 8.12.6, 8.11.6-15, and possibly other versions after 8.11 from 5/19/1998, allows attackers to bypass the intended restrictions of smrsh by inserting additional commands after (1) "||" sequences or (2) "/" characters, which are not properly filtered or verified.
Affects 2 products from 2 vendors. Facts below cite their sources.
Requires local access, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Netbsd | Netbsd | 1.5 1.5.1 1.5.2 1.5.3 1.6 |
| Sendmail | Sendmail | 8.12.0 8.12.1 8.12.2 8.12.3 8.12.4 8.12.5+1 more8.12.6 |
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
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
Sendmail Consortium's Restricted Shell (SMRSH) in Sendmail 8.12.6, 8.11.6-15, and possibly other versions after 8.11 from 5/19/1998, allows attackers to bypass the intended restrictions of smrsh by inserting additional commands after (1) "||" sequences or (2) "/" characters, which are not properly filtered or verified.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2002-1165 |
|---|---|
| BreachSpider ID | BS-2002-GLOBAL-169762-M |
| CVSS vector | AV:L/AC:L/Au:N/C:P/I:P/A:P |
| Published | 2002-10-11 |
| Last modified | 2026-06-16 |
| Source | NVD |
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2002. A medium severity vulnerability affects Netbsd systems (CVE-2002-1165). Public exploit code is available. Isolate affected systems if patching is not feasible.
Vulnerability details: Sendmail Consortium's Restricted Shell (SMRSH) in Sendmail 8.12.6, 8.11.6-15, and possibly other versions after 8.11 from 5/19/1998, allows attackers to bypass the intended restrictions of smrsh by inserting additional commands after (1) "||" sequences or (2) "/" characters, which are not properly filtered or verified. CVSS vector: AV:L/AC:L/Au:N/C:P/I:P/A:P.
Questions
What is CVE-2002-1165?
This vulnerability was disclosed in 2002. A medium severity vulnerability affects Netbsd systems (CVE-2002-1165). Public exploit code is available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2002-1165?
CVE-2002-1165 has CVSS 4.6 (Medium). Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P. EPSS: 1.1%.
Is CVE-2002-1165 actively exploited?
Public exploit available for CVE-2002-1165. Exploitation risk elevated.
How do I remediate CVE-2002-1165?
Priority: MONITOR. Advisory: http://www.sendmail.org/smrsh.adv.txt PSIRT: [email protected]
What systems are affected by CVE-2002-1165?
CVE-2002-1165 affects Netbsd Netbsd; Sendmail Sendmail.
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":"Netbsd","product":"Netbsd","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.