Skip to content
Noroxi
CVE-2002-1337· NVD / CVE Program· CNA mitre

Buffer overflow in Sendmail 5.79 to 8.12.7 allows remote attackers to execute arbitrary code via certain formatted address fields, related t

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.

CriticalCVSS 10.0 · v2.0—Proof of concept Fix available
Published
Mar 7, 2003
Updated
Jun 16, 2026
EPSS
72.6% · 99th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

62

This week

Don’t wait for the next maintenance window.

CVSS
40 / 40 · 10.0 / 10
CISA KEV
0 / 30 · Not listed
EPSS
22 / 30 · 72.6%

Affected systems

VendorProduct
sendmailsendmail
hpalphaserver sc
gentoolinux
hphp-ux
netbsdnetbsd
oraclesolaris
sunsunos
windriverbsdos
windriverplatform sa

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • gentoo linux1.4
  • hp alphaserver scall versions
  • hp hp-ux10.10
  • hp hp-ux10.20
  • hp hp-ux11.0.4
  • hp hp-ux11.00
  • hp hp-ux11.11
  • hp hp-ux11.22
  • netbsd netbsd1.5
  • netbsd netbsd1.5.1
  • netbsd netbsd1.5.2
  • netbsd netbsd1.5.3
  • netbsd netbsd1.6
  • oracle solaris2.6
  • oracle solaris7.0
  • oracle solaris8
  • oracle solaris9
  • sendmail sendmailbefore 8.9.3
  • sendmail sendmail8.10.0 and later · before 8.11.6
  • sendmail sendmail8.12.0 and later · before 8.12.8

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12sendmailbefore 8.13.0.PreAlpha4-08.13.0.PreAlpha4-0
Debian:3.0sendmailbefore 8.12.3-58.12.3-5
Debian:3.0sendmail-widebefore 8.12.3+3.5Wbeta-5.28.12.3+3.5Wbeta-5.2

Other highest-scoring records for the same primary product.

  • CVE-2003-0161The prescan() function in the address parser (parseaddr.c) in Sendmail before 8.12.9 does not properly handle certain conversions from char
    52Plan
  • CVE-2006-0058Signal handler race condition in Sendmail 8.13.x before 8.13.6 allows remote attackers to execute arbitrary code by triggering timeouts in a
    39Monitor
  • CVE-2009-4565sendmail before 8.14.4 does not properly handle a '\0' character in a Common Name (CN) field of an X.509 certificate, which (1) allows man-i
    31Monitor
  • CVE-2006-4434Use-after-free vulnerability in Sendmail before 8.13.8 allows remote attackers to cause a denial of service (crash) via a long "header line"
    31Monitor
  • CVE-2002-2261Sendmail 8.9.0 through 8.12.6 allows remote attackers to bypass relaying restrictions enforced by the 'check_relay' function by spoofing a b
    31Monitor
  • CVE-2002-0906Buffer overflow in Sendmail before 8.12.5, when configured to use a custom DNS map to query TXT records, allows remote attackers to cause a
    31Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:sendmail8.13.0.PreAlpha4-0 · Debian:12Package registry (OSV)
debian:sendmail-wide8.12.3+3.5Wbeta-5.2 · Debian:3.0Package registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Exploit-DB entry ×3

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Exploit-DB entrylocal2001-01-01
Exploit-DB entryremote2003-03-02
Exploit-DB entryremote2003-03-02

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. First PoC-795 d
  2. Published
  3. TodaySep 30, 2026+8608 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • No special conditions are required; it is repeatable.

If successful

Confidentiality
C · data can be read
Integrity
C · data or configuration can be modified
Availability
C · the service can be disrupted
Attack complexity
Low
Confidentiality impact
C
Integrity impact
C
Availability impact
C

CVSS vector

AV:N/AC:L/Au:N/C:C/I:C/A:C

nvd-primary

Root cause

When data is copied, the source length is not compared with the size of the destination buffer. Excess data overwrites adjacent memory.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

c
char buf[256];memcpy(buf, pkt->data, pkt->len);

Fixed

c
char buf[256];if (pkt->len > sizeof(buf)) {  return -EINVAL;}memcpy(buf, pkt->data, pkt->len);

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records