Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Local attack requiring low-privileged user to supply queue-name arguments; full C/I/A impact because arbitrary file access enables privilege escalation to root.
Primary rating from Vendor (mitre).
CVSS VectorNVD
Lifecycle Timeline
6DescriptionNVD
Exim before 4.99.5 allows directory traversal to access files outside of the spool area, and consequently gain privileges, because arguments related to queue-name are mishandled.
AnalysisAI
Directory traversal in Exim before 4.99.5 enables low-privileged local users to escape the mail spool directory boundary and read or manipulate arbitrary files on the host filesystem, ultimately achieving privilege escalation. The flaw is rooted in improper validation of queue-name arguments (CWE-24), affecting Exim from version 4.88 through 4.99.4. No public exploit has been identified at time of analysis, and EPSS at 0.27% (19th percentile) reflects limited exploitation activity, though SSVC assesses the technical impact as total given successful exploitation yields full system compromise.
Technical ContextAI
Exim is a widely-deployed open-source Mail Transfer Agent (MTA) used predominantly on Unix/Linux systems. It maintains a spool directory where in-transit messages and queue metadata are stored. The affected code path handles queue-name arguments used in queue management operations; CWE-24 (Path Traversal with '../filedir') indicates that user-supplied queue-name values are not canonicalized or stripped of traversal sequences before being used in filesystem operations. This allows an attacker to construct a queue-name containing '../' sequences to reference paths outside the intended spool directory boundary. The CPE string cpe:2.3:a:exim:exim:*:*:*:*:*:*:*:* with version range 4.88 to 4.99.4 confirms the scope is the Exim application itself, not OS-level packages.
RemediationAI
Upgrade to Exim 4.99.5, which contains the vendor-released patch addressing the queue-name argument handling flaw. The upstream disclosure is documented at https://openwall.com/lists/oss-security/2026/07/22/9. If immediate upgrade is not possible, restrict local system access to Exim queue management commands by limiting which local accounts can invoke Exim's queue-management flags (e.g., via sudo rules or filesystem ACLs on the Exim binary), accepting the trade-off that legitimate queue inspection by non-root users will also be blocked. Additionally, monitor filesystem access patterns from the Exim process user for anomalous reads outside the spool directory as a detection compensating control. The patch from the vendor is confirmed available; no exact commit or PR reference was provided in the source data, so obtaining the fix via the official Exim 4.99.5 release is the recommended path.
The receive_msg function in receive.c in the SMTP daemon in Exim 4.88 and 4.89 allows remote attackers to execute arbitr
The receive_msg function in receive.c in the SMTP daemon in Exim 4.88 and 4.89 allows remote attackers to cause a denial
Exim before 4.86.2, when installed setuid root, allows local users to gain privileges via the perl_startup argument. Rat
Exim mail server version 4.98 before 4.98.1 contains a remote SQL injection vulnerability when SQLite hints and ETRN ser
A flaw was found in Exim versions 4.87 to 4.91 (inclusive). Rated critical severity (CVSS 9.8), this vulnerability is re
Heap-based buffer overflow in the dkim_exim_query_dns_txt function in dkim.c in Exim 4.70 through 4.80, when DKIM suppor
Exim before 4.95 has a heap-based buffer overflow for the alias list in host_name_lookup in host.c when sender_host_name
Exim 4.92 through 4.92.2 allows remote code execution, a different vulnerability than CVE-2019-15846. Rated critical sev
An issue was discovered in the base64d function in the SMTP listener in Exim before 4.90.1. Rated critical severity (CVS
A UNIX Symbolic Link (Symlink) Following vulnerability in the packaging of exim in openSUSE Factory allows local attacke
Exim before 4.96 has an invalid free in pam_converse in auths/call_pam.c because store_free is not used after store_mall
Exim through 4.93 has an out-of-bounds read in the SPA authenticator that could result in SPA/NTLM authentication bypass
Same weakness CWE-24 – Path Traversal: '../filedir'
View allSame technique Path Traversal
View allVendor StatusVendor
SUSE
Severity: ImportantShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-48478
GHSA-5qxf-w5v2-m3rg