← Vulnerability feed

Vulnerability record · CVE-2019-16928 · published 27 September 2019

CVE-2019-16928: Exim heap buffer overflow in string_vformat via long EHLO command

Exim · Exim

Exim 4.92 through 4.92.2 contains a heap-based buffer overflow in string_vformat in string.c triggered by a long EHLO command, allowing remote code execution. It is distinct from CVE-2019-15846. Because Exim is an internet-facing mail transfer agent, an unauthenticated remote attacker can reach the flaw directly over SMTP.

9.8 CVSS 3.1 Critical CISA KEV since 3 Mar 2022 EPSS 42% · top 1.4% CWE-787 · Out-of-bounds write
9.8CVSS 3.1 base score, v2 7.5
42%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
4Affected product versions listed by NVD
29References, 4 tagged exploit
17 Jun 2026Last modified by NVD

Description

Exim 4.92 through 4.92.2 allows remote code execution, a different vulnerability than CVE-2019-15846. There is a heap-based buffer overflow in string_vformat in string.c involving a long EHLO command.

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 with network, unauthenticated, no-interaction reachability, confirmed KEV listing and high EPSS probability make this an urgent patch target.

What it is

Exim 4.92 through 4.92.2 contains a heap-based buffer overflow in string_vformat in string.c triggered by a long EHLO command, allowing remote code execution. It is distinct from CVE-2019-15846. Because Exim is an internet-facing mail transfer agent, an unauthenticated remote attacker can reach the flaw directly over SMTP.

Impact

An attacker can corrupt heap memory and execute arbitrary code with the privileges of the Exim process, typically the mail server user, potentially leading to full host compromise. No confidentiality, integrity or availability impact is excluded by the CVSS vector.

Attack surface

Reached over the network via SMTP by sending a crafted long EHLO command; the CVSS vector AV:N/AC:L/PR:N/UI:N indicates no authentication and no user interaction are required. Any Exim 4.92 to 4.92.2 listener exposed to untrusted clients is in scope.

Exploitation

CISA added this to the Known Exploited Vulnerabilities catalog on 2022-03-03 with a 2022-03-17 remediation due date, and EPSS gives a 30-day probability of 0.41638 (98.6th percentile). Multiple references are tagged Exploit, indicating public exploit material exists; no ransomware campaign use is documented.

What to do

  • Upgrade Exim to a version later than 4.92.2 that contains the fix in commit 478effbfd9c3cc5a627fc671d4bf94d13670d65f, or apply the vendor patch for your distribution.
  • Apply the Ubuntu, Debian, Fedora and Gentoo security updates referenced in the advisories for the affected packages.
  • If patching cannot be done immediately, restrict SMTP access to trusted hosts and disable unnecessary exposure of the MTA to the internet.
  • Monitor Exim vendor advisories and the referenced bug 2449 for any further guidance or regression fixes.

Detection

  • Inspect SMTP logs for abnormally long or malformed EHLO commands and for Exim crashes or restarts correlated with inbound connections.
  • Monitor for unexpected child processes, shell execution or outbound connections originating from the Exim service account.
  • Use host-based memory corruption or crash telemetry (core dumps, segfaults) on mail servers running Exim 4.92 through 4.92.2.
  • Alert on exploitation attempts using network signatures for oversized EHLO parameters against SMTP ports.

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-2019-16928 to the Known Exploited Vulnerabilities catalog on 3 March 2022 as "Exim Out-of-bounds Write Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 17 March 2022.

Affected products

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

References

LinkTags
http://www.openwall.com/lists/oss-security/2019/09/28/1 ExploitMailing ListMitigationThird Party Advisory
http://www.openwall.com/lists/oss-security/2019/09/28/2 ExploitMailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2019/09/28/3 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2019/09/28/4 Mailing ListThird Party Advisory
https://bugs.exim.org/show_bug.cgi?id=2449 Issue TrackingPatchVendor Advisory
https://git.exim.org/exim.git/commit/478effbfd9c3cc5a627fc671d4bf94d13670d65f Patch
https://lists.exim.org/lurker/message/20190927.032457.c1044d4c.en.html Vendor Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EED7HM3MFIBAP5OIMJAFJ35 Release Notes
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T3TJW4HPYH3O5HZCWGD6NSH Release Notes
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UY6HPRW7MR3KBQ5JFHH6OXM Release Notes
https://seclists.org/bugtraq/2019/Sep/60 Mailing ListThird Party Advisory
https://security.gentoo.org/glsa/202003-47 Third Party Advisory
https://usn.ubuntu.com/4141-1/ Third Party Advisory
https://www.debian.org/security/2019/dsa-4536 Third Party Advisory
http://www.openwall.com/lists/oss-security/2019/09/28/1 ExploitMailing ListMitigationThird Party Advisory
http://www.openwall.com/lists/oss-security/2019/09/28/2 ExploitMailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2019/09/28/3 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2019/09/28/4 Mailing ListThird Party Advisory
https://bugs.exim.org/show_bug.cgi?id=2449 Issue TrackingPatchVendor Advisory
https://git.exim.org/exim.git/commit/478effbfd9c3cc5a627fc671d4bf94d13670d65f Patch
https://lists.exim.org/lurker/message/20190927.032457.c1044d4c.en.html Vendor Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EED7HM3MFIBAP5OIMJAFJ35 Release Notes
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T3TJW4HPYH3O5HZCWGD6NSH Release Notes
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UY6HPRW7MR3KBQ5JFHH6OXM Release Notes
https://seclists.org/bugtraq/2019/Sep/60 Mailing ListThird Party Advisory
https://security.gentoo.org/glsa/202003-47 Third Party Advisory
https://usn.ubuntu.com/4141-1/ Third Party Advisory
https://www.debian.org/security/2019/dsa-4536 Third Party Advisory
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-16928 US Government Resource

Track CVE-2019-16928 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-2024-4577PHP-CGI on Windows argument injection leads to remote code executionPHP-CGI on Windows can misinterpret characters in the command line passed to Win32 API functions when certain code pages are configured, due to Windo…KEVEPSS 100%analysed

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