{"schemaVersion":3,"id":"CVE-2004-0840","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2004-10-16T04:00:00.000Z","modified":"2024-08-08T00:31:47.662Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":10,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":10,"severity":"high","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.30291,"percentile":0.98215,"severity":"high","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.30291},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.30291,"percentile":0.98215}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.30291,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.30291,"percentile":0.98215}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"}],"affected":[{"vendor":"microsoft","product":"exchange_server","name":"exchange server","label":"exchange_server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2003","noFixRecorded":false,"fixedIn":null}],"versionsText":"2003","eol":{"isEol":true,"eolDate":"2014-04-08T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"2003","label":"2003 SP2","eolFrom":"2014-04-08T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"6.5.7654.4"},"product":{"name":"msexchange","label":"Microsoft Exchange","category":"server-app"}},"hubHref":"/vendor/microsoft/exchange_server"},{"vendor":"microsoft","product":"windows_server_2003","name":"windows server 2003","label":"windows_server_2003","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null},{"text":"r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"na | r2","eol":null,"hubHref":"/vendor/microsoft/windows_server_2003"}],"affectedCount":2,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A2300","label":"oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A2300","hostname":"oval.cisecurity.org","tags":["VDB Entry","Signature","X Refsource OVAL","Third Party Advisory"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5509","label":"oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5509","hostname":"oval.cisecurity.org","tags":["VDB Entry","Signature","X Refsource OVAL","Third Party Advisory"]},{"url":"http://www.securityfocus.com/bid/11374","label":"www.securityfocus.com/bid/11374","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"https://docs.microsoft.com/en-us/security-updates/securitybulletins/2004/ms04-035","label":"docs.microsoft.com/en-us/security-updates/securitybulletins/2004/ms04-035","hostname":"docs.microsoft.com","tags":["Vendor Advisory","X Refsource MS","Patch"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/17660","label":"exchange.xforce.ibmcloud.com/vulnerabilities/17660","hostname":"exchange.xforce.ibmcloud.com","tags":["VDB Entry","X Refsource XF","Third Party Advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/17621","label":"exchange.xforce.ibmcloud.com/vulnerabilities/17621","hostname":"exchange.xforce.ibmcloud.com","tags":["VDB Entry","X Refsource XF","Third Party Advisory"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A3460","label":"oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A3460","hostname":"oval.cisecurity.org","tags":["VDB Entry","Signature","X Refsource OVAL","Third Party Advisory"]},{"url":"http://www.kb.cert.org/vuls/id/394792","label":"www.kb.cert.org/vuls/id/394792","hostname":"www.kb.cert.org","tags":["Third Party Advisory","X Refsource CERT VN","Patch","US Government Resource"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2004-10-16T04:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-08T00:31:47.662Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T12:57:32.974Z","stale":false,"partial":false}}