A flaw was found in Exim versions 4.87 to 4.91 (inclusive).
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.
- Published
- Jun 5, 2019
- Updated
- Jun 16, 2026
- EPSS
- 100.0% · 100th percentile
- CWE
- CWE-78
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
99
Now
Patch today or shut off access.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 30 / 30 · Listed
- EPSS
- 30 / 30 · 100.0%
CISA SSVC decision
- Exploitation
- active
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 9.8
- CNA · redhat
- 9.0
- 0.8 point gap
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Actively exploited in the wild
CISA added this to its Known Exploited Vulnerabilities catalog on Jan 10, 2022. That signals real attacks, not theory.
Remediation deadline for government agencies: Jul 10, 2022.
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| exim | exim | cpe:2.3:a:exim:exim |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Using exim? Add it to your stack and be the first to know about CVEs like this one. (Email server)
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- exim exim4.87 and later · up to 4.91 inclusive
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
exim exim
- 4.92affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | exim4 | before 4.92~RC3-1 | 4.92~RC3-1 |
| Debian:9 | exim4 | before 4.89-2+deb9u4 | 4.89-2+deb9u4 |
| openSUSE:Leap 15.0 | exim | before 4.88-lp151.4.3.1 | 4.88-lp151.4.3.1 |
| openSUSE:Tumbleweed | exim | before 4.94.2-4.2 | 4.94.2-4.2 |
| SUSE:Package Hub 15 SP1 | exim | before 4.94.2-bp151.2.4.1 | 4.94.2-bp151.2.4.1 |
| SUSE:Package Hub 15 SP1 | libspf2 | before 1.2.10-bp151.4.1 | 1.2.10-bp151.4.1 |
Same product
exim: all recordsOther highest-scoring records for the same primary product.
- CVE-2018-6789An issue was discovered in the base64d function in the SMTP listener in Exim before 4.90.1.KEV94Now
- CVE-2010-4344Heap-based buffer overflow in the string_vformat function in string.c in Exim before 4.70 allows remote attackers to execute arbitrary code KEV91Now
- CVE-2019-16928Exim 4.92 through 4.92.2 allows remote code execution, a different vulnerability than CVE-2019-15846.KEV81Now
- CVE-2010-4345Exim 4.72 and earlier allows local users to gain privileges by leveraging the ability of the exim user account to specify an alternate confiKEV66This week
- CVE-2025-26794Exim 4.98 before 4.98.1, when SQLite hints and ETRN serialization are used, allows remote SQL injection.62This week
- CVE-2020-28018Exim 4 before 4.94.2 allows Use After Free in smtp_reset in certain situations that may be common for builds with OpenSSL.56Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:exim4 | 4.92~RC3-1 · Debian:12 | Package registry (OSV) |
| opensuse:exim | 4.88-lp151.4.3.1 · openSUSE:Leap 15.0 | Package registry (OSV) |
| suse:exim | 4.94.2-bp151.2.4.1 · SUSE:Package Hub 15 SP1 | Package registry (OSV) |
| suse:libspf2 | 1.2.10-bp151.4.1 · SUSE:Package Hub 15 SP1 | Package registry (OSV) |
Exploit status
Weaponized
A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.
Evidence
- Metasploit module ×1
- Exploit-DB entry ×4
- Proof-of-concept repository on GitHub ×19
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | local | 2019-06-17 |
| Exploit-DB entry | local | 2019-08-26 |
| Exploit-DB entry | local | 2019-08-26 |
| Exploit-DB entry | remote | 2019-06-05 |
| Metasploit module | exploit/linux/local/exim4_deliver_message_priv_escExim 4.87 - 4.91 Local Privilege Escalationexploit | 2019-06-05 |
| Proof-of-concept repository on GitHub | stars:22 | 2019-06-10 |
| Proof-of-concept repository on GitHub | stars:14 | 2019-06-12 |
| Proof-of-concept repository on GitHub | stars:14 | 2019-06-13 |
| Proof-of-concept repository on GitHub | stars:1 | 2019-06-14 |
| Proof-of-concept repository on GitHub | stars:9 | 2019-06-27 |
| Proof-of-concept repository on GitHub | stars:3 | 2019-07-25 |
| Proof-of-concept repository on GitHub | stars:4 | 2019-09-05 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- First PoCsame day
- Metasploitsame day
- Published
- CISA KEV+950 d
- TodaySep 30, 2026+2674 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Root cause
User input is inserted as text into a shell command. The shell may interpret special characters in the input as part of the command.
The bug in code
The whole CWE-78 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const host = req.body.host;exec("ping -c 1 " + host, onResult);Fixed
const host = req.body.host;if (!/^[a-z0-9.-]{1,253}$/i.test(host)) return res.sendStatus(400);execFile("ping", ["-c", "1", host], onResult);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Command DelimitersCAPEC-15likelihood: High · High
- Exploiting Multiple Input Interpretation LayersCAPEC-43likelihood: Medium · High
- Argument InjectionCAPEC-6likelihood: High · High
- OS Command InjectionCAPEC-88likelihood: High · High
ATT&CK techniques
—
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- lists.opensuse.org/opensuse-security-announce/2019-06/msg00020.html
- seclists.org/fulldisclosure/2019/Jun/16
- www.openwall.com/lists/oss-security/2019/06/05/2
- www.openwall.com/lists/oss-security/2019/06/05/3
- www.openwall.com/lists/oss-security/2019/07/25/6
- www.openwall.com/lists/oss-security/2019/07/25/7
- www.openwall.com/lists/oss-security/2019/07/26/4
- www.openwall.com/lists/oss-security/2021/05/04/7
- www.securityfocus.com/bid/108679
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10149
- seclists.org/bugtraq/2019/Jun/5
- security.gentoo.org/glsa/201906-01
- usn.ubuntu.com/4010-1/
- www.debian.org/security/2019/dsa-4456
- www.exim.org/static/doc/security/CVE-2019-10149.txt
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-10149
Vendor advisories and official records. Exploit/PoC links are deliberately left out.