cve.bz

CVE-2019-10149 (The Return of the WIZard) Exim Mail Transfer Agent (MTA) Improper Input Validation

9.8 criticalKEVExploitEPSS >99.9%Fix available

Known as The Return of the WIZard

Critical (9.8) in Exim Mail Transfer Agent (MTA). In CISA KEV since 2022-01-10. EPSS >99.9% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in Exim versions 4.87 to 4.91 (inclusive). Improper validation of recipient address in deliver_message() function in /src/deliver.c may lead to remote command execution.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
>99.9% (unchanged from >99.9% a week ago; >99.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2022-01-10, due 2022-07-10
CISA's assessment (SSVC)
Exploitation: active · Automatable: no · Technical impact: total, assessed 2025-02-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-10149 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-10149?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-10149?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-10149 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
exim:eximfrom 4.87 through 4.91
canonical:ubuntu_linux18.04
canonical:ubuntu_linux18.10
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9exim44.89-2+deb9u4DSA-4456-1
Debian12, 13, 14exim44.92~RC3-1DEBIAN-CVE-2019-10149
Ubuntu18.04:LTSexim44.90.1-1ubuntu1.2UBUNTU-CVE-2019-10149 USN-4010-1
SUSEPackage Hub 15 SP1exim4.94.2-bp151.2.4.1openSUSE-SU-2021:0753-1
SUSEPackage Hub 15 SP1libspf21.2.10-bp151.4.1openSUSE-SU-2021:0753-1
openSUSELeap 15.0, Leap 15.1exim4.88-lp151.4.3.1openSUSE-SU-2019:1524-1
openSUSETumbleweedexim4.94.2-4.2openSUSE-SU-2024:10746-1
Alpinev3.8exim4.91-r2ALPINE-CVE-2019-10149
Alpinev3.9, v3.10, v3.11 and 13 moreexim4.92-r0ALPINE-CVE-2019-10149

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Critical.

Red Hat's statement

Exim is vulnerable since version 4.87, therefore the version of exim package (exim-4.63) shipped with Red Hat Enterprise Linux 5 is not affected by this flaw.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5eximNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-10149.

Public exploits

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

  • Emerging Threats Open ET EXPLOIT Possible Exim 4.87-4.91 RCE Attempt Inbound (CVE-2019-10149) sid 2027442

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON