← Vulnerability feed

Vulnerability record · CVE-2007-0213 · published 8 May 2007

CVE-2007-0213: Microsoft Exchange MIME base64 decoding remote code execution

Microsoft · Exchange Server

Microsoft Exchange Server 2000 SP3, 2003 SP1/SP2, and 2007 fail to properly decode certain MIME-encoded emails, allowing remote code execution via a crafted base64-encoded MIME message. The flaw is an input validation failure in MIME handling that can be triggered by a specially crafted email.

10.0 CVSS 2.0 High EPSS 68% · top 0.7% CWE-20 · Improper input validation
10.0CVSS 2.0 base score
68%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
24References
16 Jun 2026Last modified by NVD

Description

Microsoft Exchange Server 2000 SP3, 2003 SP1 and SP2, and 2007 does not properly decode certain MIME encoded e-mails, which allows remote attackers to execute arbitrary code via a crafted base64-encoded MIME e-mail message.

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

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: high.

critical priorityCVSS 2.0 score of 10 with network reachability, no authentication, and complete impact, combined with a high EPSS percentile, warrants critical priority despite the lack of KEV listing.

What it is

Microsoft Exchange Server 2000 SP3, 2003 SP1/SP2, and 2007 fail to properly decode certain MIME-encoded emails, allowing remote code execution via a crafted base64-encoded MIME message. The flaw is an input validation failure in MIME handling that can be triggered by a specially crafted email.

Impact

A remote attacker can execute arbitrary code with the privileges of the Exchange service, potentially leading to full system compromise. The CVSS 2.0 vector indicates complete confidentiality, integrity, and availability impact.

Attack surface

The vulnerability is reachable over the network via email (AV:N) with no authentication required (Au:N) and low attack complexity (AC:L). No user interaction is indicated in the vector or description.

Exploitation

The record does not list this CVE in CISA KEV, and no ransomware groups are documented as using it. EPSS probability is 0.6616 (99.241 percentile), suggesting a high likelihood of exploitation activity, but no public exploit tags are present in the references.

What to do

  • Apply the vendor patch referenced in Microsoft Security Bulletin MS07-026.
  • Disable or restrict unnecessary MIME processing features on affected Exchange servers.
  • Filter or block base64-encoded MIME emails with malformed or suspicious structures at the email gateway.
  • Upgrade to a supported Exchange version if still running Exchange 2000, 2003, or 2007.

Detection

  • Monitor Exchange server logs for crashes or unexpected process terminations related to MIME decoding.
  • Inspect email gateway logs for base64-encoded MIME messages with anomalous encoding patterns.
  • Use network monitoring to detect unusual outbound connections from Exchange servers that may indicate post-exploitation activity.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://packetstormsecurity.com/files/153533/Microsoft-Exchange-2003-base64-MIME-Remote-Code-Execution.html Third Party AdvisoryVDB Entry
http://secunia.com/advisories/25183 Third Party Advisory
http://www.kb.cert.org/vuls/id/343145 Third Party AdvisoryUS Government Resource
http://www.osvdb.org/34391 Broken Link
http://www.securityfocus.com/archive/1/468871/100/200/threaded Third Party AdvisoryVDB Entry
http://www.securityfocus.com/bid/23809 Third Party AdvisoryVDB Entry
http://www.securitytracker.com/id?1018015 Third Party AdvisoryVDB Entry
http://www.us-cert.gov/cas/techalerts/TA07-128A.html Third Party AdvisoryUS Government Resource
http://www.vupen.com/english/advisories/2007/1711 Permissions Required
https://docs.microsoft.com/en-us/security-updates/securitybulletins/2007/ms07-026 PatchVendor Advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/33889 Third Party AdvisoryVDB Entry
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1890 Third Party Advisory
http://packetstormsecurity.com/files/153533/Microsoft-Exchange-2003-base64-MIME-Remote-Code-Execution.html Third Party AdvisoryVDB Entry
http://secunia.com/advisories/25183 Third Party Advisory
http://www.kb.cert.org/vuls/id/343145 Third Party AdvisoryUS Government Resource
http://www.osvdb.org/34391 Broken Link
http://www.securityfocus.com/archive/1/468871/100/200/threaded Third Party AdvisoryVDB Entry
http://www.securityfocus.com/bid/23809 Third Party AdvisoryVDB Entry
http://www.securitytracker.com/id?1018015 Third Party AdvisoryVDB Entry
http://www.us-cert.gov/cas/techalerts/TA07-128A.html Third Party AdvisoryUS Government Resource
http://www.vupen.com/english/advisories/2007/1711 Permissions Required
https://docs.microsoft.com/en-us/security-updates/securitybulletins/2007/ms07-026 PatchVendor Advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/33889 Third Party AdvisoryVDB Entry
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1890 Third Party Advisory

Track CVE-2007-0213 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2004-0574Microsoft NNTP XPAT pattern buffer overflow allows remote code executionThe NNTP component in Windows NT Server 4.0, Windows 2000 Server, Windows Server 2003, Exchange 2000 Server and Exchange Server 2003 mishandles XPAT …EPSS 68%analysed10.0CVE-2004-0840Microsoft exchange server improper input validation vulnerabilityThe SMTP (Simple Mail Transfer Protocol) component of Microsoft Windows XP 64-bit Edition, Windows Server 2003, Windows Server 2003 64-bit Edition, a…EPSS 30%10.0CVE-1999-0385Microsoft exchange server classic buffer overflow vulnerabilityThe LDAP bind function in Exchange 5.5 has a buffer overflow that allows a remote attacker to conduct a denial of service or execute commands.EPSS 18%9.3CVE-2009-0098Microsoft exchange server vulnerabilityMicrosoft Exchange 2000 Server SP3, Exchange Server 2003 SP2, and Exchange Server 2007 SP1 do not properly interpret Transport Neutral Encapsulation …EPSS 25%7.8CVE-2007-0039Microsoft exchange server null pointer dereference vulnerabilityThe Exchange Collaboration Data Objects (EXCDO) functionality in Microsoft Exchange Server 2000 SP3, 2003 SP1 and SP2, and 2007 allows remote attacke…EPSS 45%7.8CVE-2007-0221Microsoft exchange server integer overflow vulnerabilityInteger overflow in the IMAP (IMAP4) support in Microsoft Exchange Server 2000 SP3 allows remote attackers to cause a denial of service (service hang…EPSS 37%7.5CVE-2006-0027Microsoft Exchange remote code execution via crafted vCal/iCal propertiesCVE-2006-0027 is an unspecified vulnerability in Microsoft Exchange Server that lets a remote attacker execute arbitrary code by sending an email mes…EPSS 78%analysed7.5CVE-2006-0002Microsoft Outlook and Exchange TNEF message length validation remote code executionMicrosoft Outlook 2000 through 2003, Exchange 5.0 SP2, 5.5 SP4, Exchange 2000 SP3, and Office contain an unspecified vulnerability related to message…EPSS 45%analysed

Source: NIST National Vulnerability Database (record CVE-2007-0213), CISA KEV, FIRST EPSS (scores of 2026-11-21). This page is refreshed as NVD updates the record.