Skip to main content

Exim CVE-2026-66140

| EUVDEUVD-2026-48478 HIGH
Path Traversal: '../filedir' (CWE-24)
2026-07-24 mitre GHSA-5qxf-w5v2-m3rg
7.8
CVSS 3.1 · NVD
Share

Severity by source

Vendor (mitre) PRIMARY
HIGH
qualitative
NVD
7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI
7.8 HIGH

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.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE
HIGH
qualitative
Red Hat
8.4 HIGH
qualitative

Primary rating from Vendor (mitre).

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

6
Analysis Updated
Aug 17, 2026 - 19:18 vuln.today
v2 (cvss_changed)
Re-analysis Queued
Aug 17, 2026 - 19:07 vuln.today
cvss_changed
CVSS changed
Aug 17, 2026 - 19:07 NVD
8.4 (HIGH) 7.8 (HIGH)
Patch available
Jul 24, 2026 - 06:02 EUVD
Analysis Generated
Jul 24, 2026 - 05:17 vuln.today
CVE Published
Jul 24, 2026 - 04:32 cve.org
HIGH 8.4

DescriptionNVD

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.

More in Exim

View all
CVE-2017-16943 CRITICAL POC
9.8 Nov 25

The receive_msg function in receive.c in the SMTP daemon in Exim 4.88 and 4.89 allows remote attackers to execute arbitr

CVE-2017-16944 HIGH POC
7.5 Nov 25

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

CVE-2016-1531 HIGH POC
7.0 Apr 07

Exim before 4.86.2, when installed setuid root, allows local users to gain privileges via the perl_startup argument. Rat

CVE-2025-26794 HIGH
7.5 Feb 21

Exim mail server version 4.98 before 4.98.1 contains a remote SQL injection vulnerability when SQLite hints and ETRN ser

CVE-2019-10149 CRITICAL POC
9.8 Jun 05

A flaw was found in Exim versions 4.87 to 4.91 (inclusive). Rated critical severity (CVSS 9.8), this vulnerability is re

CVE-2012-5671 MEDIUM
6.8 Oct 31

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

CVE-2022-37452 CRITICAL POC
9.8 Aug 07

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

CVE-2019-16928 CRITICAL POC
9.8 Sep 27

Exim 4.92 through 4.92.2 allows remote code execution, a different vulnerability than CVE-2019-15846. Rated critical sev

CVE-2018-6789 CRITICAL POC
9.8 Feb 08

An issue was discovered in the base64d function in the SMTP listener in Exim before 4.90.1. Rated critical severity (CVS

CVE-2020-8015 HIGH POC
7.8 Apr 02

A UNIX Symbolic Link (Symlink) Following vulnerability in the packaging of exim in openSUSE Factory allows local attacke

CVE-2022-37451 HIGH POC
7.5 Aug 06

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

CVE-2020-12783 HIGH POC
7.5 May 11

Exim through 4.93 has an out-of-bounds read in the SPA authenticator that could result in SPA/NTLM authentication bypass

Vendor StatusVendor

SUSE

Severity: Important

Share

CVE-2026-66140 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy