Skip to content
OpenAdvisories
Unscored Public exploit CVE-2017-16943 EUVD-2017-8112GHSA-6pmg-h497-cq5q

The receive_msg function in receive.c in the SMTP daemon in Exim 4.88 and 4.89 allows remote attackers to execute arbitrary code or cause a…

Published Nov 25, 2017 · Updated Aug 5, 2024 · Assigned by mitre

Description

The receive_msg function in receive.c in the SMTP daemon in Exim 4.88 and 4.89 allows remote attackers to execute arbitrary code or cause a denial of service (use-after-free) via vectors involving BDAT commands.

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.89-12 —
Debian 13 exim4 4.89-12 —
Debian 12 exim4 4.89-12 —
Debian 9 exim4 4.89-2+deb9u2 DSA-4053-1
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP2 exim 4.94.2-bp152.6.4.1 openSUSE-SU-2021:0754-1
SUSE Package Hub 15 SP2 libspf2 1.2.10-bp152.5.1 openSUSE-SU-2021:0754-1
SUSE Package Hub 15 SP1 exim 4.94.2-bp151.2.4.1 openSUSE-SU-2021:0753-1
SUSE Package Hub 15 SP1 libspf2 1.2.10-bp151.4.1 openSUSE-SU-2021:0753-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed exim 4.94.2-4.2 openSUSE-SU-2024:10746-1
openSUSE Leap 15.2 exim 4.94.2-lp152.8.3.1 openSUSE-SU-2021:0677-1
ReleasePackageFixed inAdvisory
Alpine v3.24 exim 4.89-r7 —
Alpine v3.23 exim 4.89-r7 —
Alpine v3.22 exim 4.89-r7 —
Alpine v3.21 exim 4.89-r7 —
Alpine v3.20 exim 4.89-r7 —
Show 13 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 exim 4.89-r7 —
Alpine v3.18 exim 4.89-r7 —
Alpine v3.17 exim 4.89-r7 —
Alpine v3.16 exim 4.89-r7 —
Alpine v3.15 exim 4.89-r7 —
Alpine v3.14 exim 4.89-r7 —
Alpine v3.13 exim 4.89-r7 —
Alpine v3.12 exim 4.89-r7 —
Alpine v3.11 exim 4.89-r7 —
Alpine v3.10 exim 4.89-r7 —
Alpine v3.9 exim 4.89-r7 —
Alpine v3.8 exim 4.89-r7 —
Alpine v3.7 exim 4.89-r7 —

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.

GitHub 1 repository

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

Advisories 5

References