← Vulnerability feed

Vulnerability record · CVE-2010-4344 · published 14 December 2010

CVE-2010-4344: Exim SMTP heap buffer overflow enables remote code execution

Exim · Exim

Exim before 4.70 has a heap-based buffer overflow in string_vformat in string.c. A remote SMTP session that sends two MAIL commands plus a large message with crafted headers triggers improper rejection logging and memory corruption. It matters because the flaw is remotely reachable without authentication and can lead to arbitrary code execution on the mail server.

9.8 CVSS 3.1 Critical CISA KEV since 25 Mar 2022 EPSS 72% · top 0.6% CWE-787 · Out-of-bounds write
9.8CVSS 3.1 base score, v2 9.3
72%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
4Affected product versions listed by NVD
67References, 8 tagged exploit
16 Jun 2026Last modified by NVD

Description

Heap-based buffer overflow in the string_vformat function in string.c in Exim before 4.70 allows remote attackers to execute arbitrary code via an SMTP session that includes two MAIL commands in conjunction with a large message containing crafted headers, leading to improper rejection logging.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

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

critical priorityCVSS 9.8, unauthenticated remote code execution, CISA KEV listing and high EPSS probability make this an urgent patching priority.

What it is

Exim before 4.70 has a heap-based buffer overflow in string_vformat in string.c. A remote SMTP session that sends two MAIL commands plus a large message with crafted headers triggers improper rejection logging and memory corruption. It matters because the flaw is remotely reachable without authentication and can lead to arbitrary code execution on the mail server.

Impact

An unauthenticated remote attacker can corrupt heap memory and potentially execute arbitrary code with the privileges of the Exim process, typically root on many deployments. This can lead to full compromise of the mail server.

Attack surface

Reached over the network via SMTP; the CVSS vector is AV:N/AC:L/PR:N/UI:N, so no authentication or user interaction is required. The attacker only needs to complete an SMTP session with two MAIL commands and a large crafted message.

Exploitation

CVE-2010-4344 is listed in CISA KEV with a 2022-03-25 addition date, and EPSS shows a 30-day probability of 0.71901 (99.396th percentile). References include an Exploit-tagged Exim lurker message, an Exploit-tagged Openwall post, and a Metasploit module, indicating public exploit tooling exists.

What to do

  • Upgrade Exim to 4.70 or later, or apply the vendor patch referenced in the Exim bug and git commit.
  • Apply distribution updates for Debian, Ubuntu, openSUSE and other affected packages per their advisories.
  • Restrict SMTP access to trusted networks or hosts where feasible to reduce exposure.
  • Monitor for and block exploit attempts targeting the two-MAIL-command pattern at the SMTP gateway.
  • Verify the Exim version and patch level on all internet-facing mail servers.

Detection

  • Inspect SMTP logs for sessions containing two MAIL commands followed by unusually large messages or malformed headers.
  • Monitor Exim process crashes or abnormal termination and correlate with inbound SMTP sessions.
  • Use network IDS signatures for the Exim string_vformat overflow pattern and known Metasploit module traffic.
  • Alert on unexpected child processes or outbound connections originating from the Exim service account.

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

Exploitation in the wild

CISA added CVE-2010-4344 to the Known Exploited Vulnerabilities catalog on 25 March 2022 as "Exim Heap-Based Buffer Overflow Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 15 April 2022.

Affected products

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

References

LinkTags
ftp://ftp.exim.org/pub/exim/ChangeLogs/ChangeLog-4.70 Broken Link
http://atmail.com/blog/2010/atmail-6204-now-available/ Broken Link
http://bugs.exim.org/show_bug.cgi?id=787 Issue TrackingPatch
http://git.exim.org/exim.git/commit/24c929a27415c7cfc7126c47e4cad39acf3efa6b Mailing ListPatch
http://lists.exim.org/lurker/message/20101210.164935.385e04d0.en.html Mailing ListPatch
http://lists.opensuse.org/opensuse-security-announce/2010-12/msg00003.html Mailing ListThird Party Advisory
http://openwall.com/lists/oss-security/2010/12/10/1 Mailing ListThird Party Advisory
http://secunia.com/advisories/40019 Broken LinkVendor Advisory
http://secunia.com/advisories/42576 Broken LinkVendor Advisory
http://secunia.com/advisories/42586 Broken LinkVendor Advisory
http://secunia.com/advisories/42587 Broken LinkVendor Advisory
http://secunia.com/advisories/42589 Broken LinkVendor Advisory
http://www.cpanel.net/2010/12/exim-remote-memory-corruption-vulnerability-notification-cve-2010-4344.html Broken Link
http://www.debian.org/security/2010/dsa-2131 Mailing ListThird Party Advisory
http://www.exim.org/lurker/message/20101207.215955.bb32d4f2.en.html ExploitMailing List
http://www.kb.cert.org/vuls/id/682457 Third Party AdvisoryUS Government Resource
http://www.metasploit.com/modules/exploit/unix/smtp/exim4_string_format Third Party Advisory
http://www.openwall.com/lists/oss-security/2021/05/04/7 ExploitMailing List
http://www.osvdb.org/69685 Broken LinkExploitPatch
http://www.redhat.com/support/errata/RHSA-2010-0970.html Broken Link
http://www.securityfocus.com/archive/1/515172/100/0/threaded Broken LinkThird Party AdvisoryVDB Entry
http://www.securityfocus.com/bid/45308 Broken LinkThird Party AdvisoryVDB Entry
http://www.securitytracker.com/id?1024858 Broken LinkThird Party AdvisoryVDB Entry
http://www.theregister.co.uk/2010/12/11/exim_code_execution_peril/ Press/Media Coverage
http://www.ubuntu.com/usn/USN-1032-1 Third Party Advisory
http://www.vupen.com/english/advisories/2010/3171 Broken LinkVendor Advisory
http://www.vupen.com/english/advisories/2010/3172 Broken LinkVendor Advisory
http://www.vupen.com/english/advisories/2010/3181 Broken LinkVendor Advisory
http://www.vupen.com/english/advisories/2010/3186 Broken LinkVendor Advisory
http://www.vupen.com/english/advisories/2010/3204 Broken LinkVendor Advisory
http://www.vupen.com/english/advisories/2010/3246 Broken LinkVendor Advisory
http://www.vupen.com/english/advisories/2010/3317 Broken Link
https://bugzilla.redhat.com/show_bug.cgi?id=661756 ExploitIssue Tracking
ftp://ftp.exim.org/pub/exim/ChangeLogs/ChangeLog-4.70 Broken Link
http://atmail.com/blog/2010/atmail-6204-now-available/ Broken Link
http://bugs.exim.org/show_bug.cgi?id=787 Issue TrackingPatch
http://git.exim.org/exim.git/commit/24c929a27415c7cfc7126c47e4cad39acf3efa6b Mailing ListPatch
http://lists.exim.org/lurker/message/20101210.164935.385e04d0.en.html Mailing ListPatch
http://lists.opensuse.org/opensuse-security-announce/2010-12/msg00003.html Mailing ListThird Party Advisory
http://openwall.com/lists/oss-security/2010/12/10/1 Mailing ListThird Party Advisory

Track CVE-2010-4344 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-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2023-46604Apache ActiveMQ OpenWire deserialization remote code executionThe Java OpenWire protocol marshaller in Apache ActiveMQ deserializes untrusted data, letting an attacker manipulate serialized class types so the br…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2010-4344), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.