LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2019-10149: Exim Mail Transfer Agent (MTA) Improper Input Validation

RBRecent Breaches Vulnerability Intelligence·Jan 10, 2022
High⚠ Actively exploited (CISA KEV)
High
Severity
Active
CISA KEV
No
Ransomware use
Jul 10, 2022
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2019-10149 to its Known Exploited Vulnerabilities catalog on Jan 10, 2022, with a federal patch deadline of Jul 10, 2022 — meaning attackers are actively using it. If you run the affected software, patch it immediately.

Improper validation of recipient address in deliver_message() function in /src/deliver.c may lead to remote command execution.

CVE-2019-10149 is an improper input validation flaw in the Exim Mail Transfer Agent (MTA). Improper validation of the recipient address in the deliver_message() function in /src/deliver.c may lead to remote command execution. For organizations that run Exim to handle inbound or outbound mail, this matters because a successful attack can give an unauthenticated remote party the ability to run commands on the mail server itself, putting the host and any connected systems at risk.

Defenders should treat this as a high-priority issue for any exposed or internet-facing Exim instance and confirm exact impact, fixed releases, and configuration details against the vendor advisory.

How it works

The weakness is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command). In plain terms, Exim fails to adequately validate a recipient address before that value is used in message delivery processing inside deliver_message().

An attacker who can submit a message with a crafted recipient address may cause the MTA to interpret part of that address as operating-system commands. Because mail servers commonly accept connections from the network, the attack can be remote and does not necessarily require prior authentication. The precise trigger conditions, required address format, and any version-specific behavior must be taken from the vendor advisory; do not rely on third-party write-ups alone.

Am I affected? How to find it in your systems

Exim is typically deployed as the primary MTA on Linux and Unix mail servers, mail relays, and some appliance or container images that provide SMTP service. It may listen on port 25/tcp (and sometimes submission or other ports) and is often installed via distribution packages or built from source.

How to remediate

Patch first. Apply the updates provided by the Exim maintainers or your operating-system vendor exactly as described in the official advisory. CISA’s required action is to apply updates per vendor instructions.

If you can't patch immediately

When immediate patching is not possible, reduce exposure with compensating controls while you schedule the update.

If your data may have been exposed

Actively exploited remote-command-execution vulnerabilities on mail servers can lead to full host compromise and subsequent data theft or lateral movement. Known ransomware use of this CVE is not documented, but that does not rule out other malicious activity. If you have reason to believe an Exim host was compromised, follow your incident-response process: isolate the system, preserve logs and memory if possible, rotate credentials that may have been present on the host, and examine mail queues and user data for unauthorized access. You can also run a free exposure scan of your email addresses against known breach data to check whether associated accounts appear in public breach corpora.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedExim · Mail Transfer Agent (MTA)
WeaknessCWE-78
Added to CISA KEVJan 10, 2022
Federal patch deadlineJul 10, 2022
Known ransomware useNot documented
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities