Skip to main content

Exim Mail Server CVE-2026-40684

| EUVDEUVD-2026-26442 MEDIUM
Incorrect Provision of Specified Functionality (CWE-684)
2026-04-30 mitre
5.9
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
SUSE
MEDIUM
qualitative

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

6
Patch released
May 01, 2026 - 18:16 nvd
Patch available
Patch available
Apr 30, 2026 - 23:02 EUVD
Analysis Generated
Apr 30, 2026 - 22:00 vuln.today
EUVD ID Assigned
Apr 30, 2026 - 21:45 euvd
EUVD-2026-26442
Analysis Generated
Apr 30, 2026 - 21:45 vuln.today
CVE Published
Apr 30, 2026 - 00:00 nvd
MEDIUM 5.9

DescriptionCVE.org

In Exim before 4.99.2, on systems using musl libc (not glibc), an attacker can crash the connection instance when malformed DNS data is present in PTR records. This is caused by a dn_expand oddity in octal printing.

AnalysisAI

Denial of service in Exim before 4.99.2 on musl libc systems allows remote attackers to crash mail server connection instances by sending malformed DNS PTR records that trigger an octal printing bug in the dn_expand function. The vulnerability requires high network complexity to exploit but results in service unavailability for affected connections. No patch version confirmation available from provided references.

Technical ContextAI

Exim is a widely-deployed mail transfer agent (MTA) that processes incoming mail connections and performs DNS lookups, including reverse DNS (PTR) queries for sender verification. The vulnerability exists in how Exim handles DNS response parsing on systems using musl libc rather than glibc. The musl C library implements dn_expand (a DNS name decompression function) differently, and when processing malformed or maliciously crafted PTR records, an edge case in octal character printing causes memory corruption or buffer issues that crash the connection handler. CWE-684 (Incorrect Provision of Specified Functionality) indicates the root cause is improper handling of the DNS parsing output under musl-specific conditions.

RemediationAI

Upgrade Exim to version 4.99.2 or later, which corrects the octal printing handling in DNS response parsing. For systems unable to immediately patch, restrict inbound SMTP connections to trusted networks or implement rate-limiting on connection attempts to reduce the window for exploitation. Alternative mitigations include disabling PTR lookups in Exim's configuration (set 'host_lookup = no' in main config section) if not required for your mail policy, though this may impact sender verification and reputation checks. Organizations using Alpine Linux or musl-based Exim containers should prioritize patching through package manager updates or rebuilding container images with Exim 4.99.2. Monitor Exim logs for connection crashes and correlate with DNS lookup activity. Note: disabling PTR lookups may reduce security visibility; verify this aligns with your authentication and reputation framework before deploying.

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: Medium

Share

CVE-2026-40684 vulnerability details – vuln.today

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