CVE-2002-1337 in Gentoo Linux and 8 more products
Buffer overflow in Sendmail 5.79 to 8.12.7 allows remote attackers to execute arbitrary code via certain formatted address fields, related to sender and recipient header comments as processed by the crackaddr function of headers.c.
Affects 9 products from 7 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Gentoo | Linux | 1.4 |
| Hp | Hp-Ux | 10.10 10.20 11.00 11.0.4 11.11 11.22 |
| Hp | Alphaserver Sc | All versions |
| Netbsd | Netbsd | 1.5 1.5.1 1.5.2 1.5.3 1.6 |
| Oracle | Solaris | 2.6 7.0 8 9 |
| Sendmail | Sendmail | < 8.9.3 ≥ 8.10.0, < 8.11.6 ≥ 8.12.0, < 8.12.8 |
| Sun | Sunos | 5.7 5.8 |
| Windriver | Bsdos | 4.2 4.3.1 5.0 |
| Windriver | Platform Sa | 1.0 |
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
Buffer overflow in Sendmail 5.79 to 8.12.7 allows remote attackers to execute arbitrary code via certain formatted address fields, related to sender and recipient header comments as processed by the crackaddr function of headers.c.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2002-1337 |
|---|---|
| BreachSpider ID | BS-2003-GLOBAL-158746-C |
| CVSS vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
| Published | 2003-03-07 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-120: Buffer Copy without Checking Size (Classic Buffer Overflow)
Program copies data to a buffer without verifying the source data fits within the destination.
Related attack patterns (CAPEC)
CAPEC-8 Buffer Overflow in an API Call via CWE-120
CAPEC-9 Buffer Overflow in Local Command-Line Utilities via CWE-120
CAPEC-10 Buffer Overflow via Environment Variables via CWE-120
CAPEC-14 Client-side Injection-induced Buffer Overflow via CWE-120
CAPEC-24 Filter Failure through Buffer Overflow via CWE-120
Show all 13
CAPEC-42 MIME Conversion via CWE-120
CAPEC-44 Overflow Binary Resource File via CWE-120
CAPEC-45 Buffer Overflow via Symbolic Links via CWE-120
CAPEC-46 Overflow Variables and Tags via CWE-120
CAPEC-47 Buffer Overflow via Parameter Expansion via CWE-120
CAPEC-67 String Format Overflow in syslog() via CWE-120
CAPEC-92 Forced Integer Overflow via CWE-120
CAPEC-100 Overflow Buffers via CWE-120
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
{ "executive_summary": "A critical buffer overflow vulnerability exists in Sendmail versions 5.79 to 8.12.7, enabling remote attackers to execute arbitrary code through specially crafted address fields in email headers.", "attack_vector_detail": "The vulnerability is triggered by the crackaddr function in headers.c when processing sender and recipient header comments in email messages. Attackers can exploit this by sending an email with a maliciously formatted address field, leading to a buffer overflow and potential code execution.", "affected_components": ["Sendmail 5.79", "Sendmail 5.80", "Sendmail 5.81", "Sendmail 5.82", "Sendmail 5.83", "Sendmail 5.84", "Sendmail 5.85", "Sendmail 5.86", "Sendmail 5.87", "Sendmail 5.88", "Sendmail 5.89", "Sendmail 5.90", "Sendmail 5.91", "Sendmail 5.92", "Sendmail 5.93", "Sendmail 5
Questions
What is CVE-2002-1337?
{ "executive_summary": "A critical buffer overflow vulnerability exists in Sendmail versions 5.79 to 8.12.7, enabling remote attackers to execute arbitrary code through specially crafted address fields in email headers.", "attack_vector_detail": "The vulnerability is triggered by the crackaddr function in headers.c when processing sender and recipient header comments in email messages. Attackers can exploit this by sending an email with a maliciously formatted address field, leading to a buf
What is the CVSS score for CVE-2002-1337?
CVE-2002-1337 has CVSS 10.0 (Critical). Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C. EPSS: 72.6%.
Is CVE-2002-1337 actively exploited?
Public exploit available for CVE-2002-1337. Exploitation risk elevated.
How do I remediate CVE-2002-1337?
Advisory: http://www.sendmail.org/8.12.8.html PSIRT: [email protected]
What systems are affected by CVE-2002-1337?
CVE-2002-1337 affects Gentoo Linux; Hp Hp-Ux, Alphaserver Sc; Netbsd Netbsd; Oracle Solaris; Sendmail Sendmail; Sun Sunos; Windriver Bsdos, Platform Sa.
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":"Gentoo","product":"Linux","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.