CVE-2002-1165: Sendmail Consortium's Restricted Shell (SMRSH) in Sendmail 8.12.6, 8.11.6-15, and possibly other versions afte
CVE-2002-1165 is a medium-severity flaw (CVSS 4.6) affecting sendmail, netbsd. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 4.6 (Medium) |
| EPSS exploit chance | 1.1% (top 34%) |
| CISA exploited list | No |
| Published | 2002-10-11 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2002-1165?
sendmail: downgrade or apply the listed mitigation; netbsd: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2002-1165 being exploited?
CVE-2002-1165 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2002-1165 affect?
CVE-2002-1165 affects sendmail, netbsd. Severity is medium (CVSS 4.6). 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) "|
How urgent is CVE-2002-1165?
Priority 38/100. Public exploit reference
Related CVEs
- CVE-2023-51765 MEDIUM 5.3 UPGRADE UPGRADE sendmail through 8.17.2 allows SMTP smuggling in certain configurations
- CVE-2021-3618 HIGH 7.4 UPGRADE UPGRADE ALPACA is an application layer protocol content confusion attack, exploiting TLS servers implementing differen
- CVE-2014-3956 LOW 1.9 UPGRADE UPGRADE The sm_close_on_exec function in conf.c in sendmail before 8.14.9 has arguments in the wrong order, and conseq
- CVE-2009-4565 HIGH 7.5 UPGRADE sendmail before 8.14.4 does not properly handle a '\0' character in a Common Name (CN) field of an X.509 certi
- CVE-2009-1490 MEDIUM 5.0 UPGRADE Heap-based buffer overflow in Sendmail before 8.13.2 allows remote attackers to cause a denial of service (dae