Exim 4.72 and earlier allows local users to gain privileges by leveraging the ability of the exim user account to specify an alternate confi
Exim 4.72 and earlier allows local users to gain privileges by leveraging the ability of the exim user account to specify an alternate configuration file with a directive that contains arbitrary commands, as demonstrated by the spool_directory directive.
- Published
- Dec 14, 2010
- Updated
- Jun 16, 2026
- EPSS
- 18.0% · 97th percentile
- CWE
- CWE-77
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
66
This week
Don’t wait for the next maintenance window.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 30 / 30 · Listed
- EPSS
- 5 / 30 · 18.0%
CISA SSVC decision
- Exploitation
- active
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
Actively exploited in the wild
CISA added this to its Known Exploited Vulnerabilities catalog on Mar 25, 2022. That signals real attacks, not theory.
Remediation deadline for government agencies: Apr 15, 2022.
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| exim | exim | cpe:2.3:a:exim:exim |
| opensuse | opensuse | cpe:2.3:o:opensuse:opensuse |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_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 eximup to 4.72 inclusive
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.72-3 | 4.72-3 |
| Debian:5.0 | exim4 | before 4.69-9+lenny3 | 4.69-9+lenny3 |
| openSUSE:Tumbleweed | exim | before 4.86.2-2.2 | 4.86.2-2.2 |
| Red Hat:enterprise_linux:4::as | exim | before 0:4.43-1.RHEL4.5.el4_8.3 | 0:4.43-1.RHEL4.5.el4_8.3 |
| Red Hat:enterprise_linux:4::as | exim-debuginfo | before 0:4.43-1.RHEL4.5.el4_8.3 | 0:4.43-1.RHEL4.5.el4_8.3 |
| Red Hat:enterprise_linux:4::as | exim-doc | before 0:4.43-1.RHEL4.5.el4_8.3 | 0:4.43-1.RHEL4.5.el4_8.3 |
| Red Hat:enterprise_linux:4::as | exim-mon | before 0:4.43-1.RHEL4.5.el4_8.3 | 0:4.43-1.RHEL4.5.el4_8.3 |
| Red Hat:enterprise_linux:4::as | exim-sa | before 0:4.43-1.RHEL4.5.el4_8.3 | 0:4.43-1.RHEL4.5.el4_8.3 |
| Red Hat:enterprise_linux:5::server | exim | before 0:4.63-5.el5_6.2 | 0:4.63-5.el5_6.2 |
| Red Hat:enterprise_linux:5::server | exim-debuginfo | before 0:4.63-5.el5_6.2 | 0:4.63-5.el5_6.2 |
| Red Hat:enterprise_linux:5::server | exim-mon | before 0:4.63-5.el5_6.2 | 0:4.63-5.el5_6.2 |
| Red Hat:enterprise_linux:5::server | exim-sa | before 0:4.63-5.el5_6.2 | 0:4.63-5.el5_6.2 |
Same product
exim: all recordsOther highest-scoring records for the same primary product.
- CVE-2019-10149A flaw was found in Exim versions 4.87 to 4.91 (inclusive).KEV99Now
- 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-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.72-3 · Debian:12 | Package registry (OSV) |
| opensuse:exim | 4.86.2-2.2 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:exim | 0:4.43-1.RHEL4.5.el4_8.3 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:exim-debuginfo | 0:4.43-1.RHEL4.5.el4_8.3 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:exim-doc | 0:4.43-1.RHEL4.5.el4_8.3 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:exim-mon | 0:4.43-1.RHEL4.5.el4_8.3 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:exim-sa | 0:4.43-1.RHEL4.5.el4_8.3 · Red Hat:enterprise_linux:4::as | 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 ×1
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 | remote | 2010-12-16 |
| Metasploit module | exploit/unix/smtp/exim4_string_formatExim4 string_format Function Heap Buffer Overflowexploit | 2010-12-07 |
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.
- Metasploit-8 d
- Published
- First PoC+1 d
- CISA KEV+4118 d
- TodaySep 30, 2026+5769 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
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- 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
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
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)
- LDAP InjectionCAPEC-136likelihood: High · High
- Command DelimitersCAPEC-15likelihood: High · High
- IMAP/SMTP Command InjectionCAPEC-183Medium
- Command InjectionCAPEC-248likelihood: Medium · High
- Manipulating Writeable Terminal DevicesCAPEC-40likelihood: High · Very High
- Exploiting Multiple Input Interpretation LayersCAPEC-43likelihood: Medium · High
- Manipulating Writeable Configuration FilesCAPEC-75likelihood: High · Very High
- Manipulating Web Input to File System CallsCAPEC-76likelihood: High · Very 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
- bugs.exim.org/show_bug.cgi?id=1044
- lists.exim.org/lurker/message/20101209.172233.abcba158.en.html
- lists.exim.org/lurker/message/20101210.164935.385e04d0.en.html
- lists.opensuse.org/opensuse-security-announce/2010-12/msg00003.html
- openwall.com/lists/oss-security/2010/12/10/1
- secunia.com/advisories/42576
- secunia.com/advisories/42930
- secunia.com/advisories/43128
- secunia.com/advisories/43243
- www.cpanel.net/2010/12/critical-exim-security-update.html
- www.debian.org/security/2010/dsa-2131
- www.debian.org/security/2011/dsa-2154
- www.exim.org/lurker/message/20101207.215955.bb32d4f2.en.html
- www.kb.cert.org/vuls/id/758489
- www.metasploit.com/modules/exploit/unix/smtp/exim4_string_format
- www.openwall.com/lists/oss-security/2021/05/04/7
- www.redhat.com/support/errata/RHSA-2011-0153.html
- www.securityfocus.com/archive/1/515172/100/0/threaded
- www.securityfocus.com/bid/45341
- www.securitytracker.com/id?1024859
Vendor advisories and official records. Exploit/PoC links are deliberately left out.