Skip to content
WatchlistCritical

CVE-2004-0840Exchange Server Vulnerability

The SMTP (Simple Mail Transfer Protocol) component of Microsoft Windows XP 64-bit Edition, Windows Server 2003, Windows Server 2003 64-bit Edition, and the Exchange Routing Engine component of Exchange Server 2003, allows remote attackers to execute arbitrary code via a…

Published Nov 3, 2004 · Updated Apr 15, 2026

Key Facts

Patch in the next maintenance window
  • CVE-2004-0840 is a critical-severity vulnerability (CVSS 10.0 v2) affecting Exchange Server (Microsoft), Windows Server 2003 (Microsoft), Windows Xp (Microsoft).
  • It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
  • EPSS estimates a 30% probability of exploitation in the next 30 days.
  • No fixed version is listed yet; check the vendor advisory for mitigations.
  • Brandefense priority: patch in the next maintenance window, because of its high severity, although no exploitation is known.

Scores

CVSS v2

10.0

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

EPSS (30-day exploit likelihood)

30%

Higher than 98.2% of all scored CVEs

Exploit maturity

None known

ATLAS score

41/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

None known

Public exploit code

0

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

Description

The SMTP (Simple Mail Transfer Protocol) component of Microsoft Windows XP 64-bit Edition, Windows Server 2003, Windows Server 2003 64-bit Edition, and the Exchange Routing Engine component of Exchange Server 2003, allows remote attackers to execute arbitrary code via a malicious DNS response message containing length values that are not properly validated.

Affected Products

4 affected entries in total
ProductAffected versionsFixed in
Exchange ServerMicrosoft2003n/a
Windows Server 2003Microsoftr2n/a
Windows XpMicrosoftSee advisoryn/a

Timeline

  1. Publicly disclosed

    Nov 3, 2004

  2. Last updated

    Apr 15, 2026

Weakness Type

  • CWE-20 Improper Input Validation

References

3 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2004-0840 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Oct 19, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.