Heap-based buffer overflow in Exim - CVE-2019-16928

 

Heap-based buffer overflow in Exim - CVE-2019-16928

Published: September 28, 2019 / Updated: March 8, 2022


Vulnerability identifier: #VU21399
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Amber
CVE-ID: CVE-2019-16928
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild
Vendor: Exim
Affected software:
Exim

Detailed vulnerability description

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.


How to mitigate CVE-2019-16928

Install the latest version from vendor's website.

Sources