Skip to content
OpenAdvisories
Critical · 9.8 Known exploited Public exploit CVE-2010-4344 EUVD-2010-4313GHSA-mvgg-qcrq-7wr8

Heap-based buffer overflow in the string_vformat function in string.c in Exim before 4.70 allows remote attackers to execute arbitrary code…

Published Dec 14, 2010 · Updated Oct 22, 2025 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 exim4 4.70-1 —
Debian 13 exim4 4.70-1 —
Debian 12 exim4 4.70-1 —
Debian 5.0 exim4 4.69-9+lenny1 DSA-2131-1
ReleasePackageFixed inAdvisory
RHEL 5 exim +2 4.63-5.el5_5.2 RHSA-2010:0970
RHEL 4 exim +3 4.43-1.RHEL4.5.el4_8.1 RHSA-2010:0970
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 5.4 EUS exim +2 4.63-3.el5_4.1 RHSA-2010:0970
RHEL 5.3 EUS exim +2 4.63-3.el5_3.1 RHSA-2010:0970
RHEL 4.7 EUS exim +3 4.43-1.RHEL4.5.el4_7.1 RHSA-2010:0970
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed exim 4.86.2-2.2 openSUSE-SU-2024:10017-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Exploit-DB 2

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 3

References