Remote code execution in Exim

Published: 2019-09-28 | Updated: 2019-09-29
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-16928
Exploitation vector Network
Public exploit Vulnerability #1 is being exploited in the wild.
Vulnerable software
Server applications / Mail servers

Vendor Exim

Security Bulletin

This security bulletin contains information about 1 vulnerabilities.

Updated 29.09.2019
Changed patch status for the security bulletin.

1) Heap-based buffer overflow

EUVDB-ID: #VU21399

Risk: High

CVSSv3.1: 9.4 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H/RL:O/RC:C]

CVE-ID: CVE-2019-16928

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No


The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the string_vformat() function in string.c when processing an overly long argument for EHLO command. A remote non-authenticated attacker can send a very long string as an argument for the EHLO command, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Install the latest version from vendor's website.

Vulnerable software versions

Exim: 4.92 - 4.92.2

External links

Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

How the attacker can exploit this vulnerability?

The attacker would have to send a specially crafted request to the affected application in order to exploit this vulnerability.

Is there known malware, which exploits this vulnerability?

Yes. This vulnerability is being exploited in the wild.