Skip to main content

Exim CVE-2026-40686

| EUVDEUVD-2026-26444 LOW
Out-of-bounds Read (CWE-125)
2026-04-30 mitre
3.7
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft email with malformed UTF-8 in headers
  2. Delivery
    Send via SMTP to Exim server
  3. Exploit
    Trigger out-of-bounds read in UTF-8 parser
  4. Execution
    Expose adjacent memory region
  5. Persist
    Include leaked data in error message
  6. Impact
    Attacker receives information-disclosing error response

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

UTF-8 operators must be explicitly enabled in the Exim configuration. This is a non-default setting-standard Exim deployments do not enable UTF-8 operators by default, so only instances with explicit utf8 operator directives or expansions in ACLs are vulnerable. The attacker must craft malformed UTF-8 headers containing large trailing characters (incomplete or oversized multi-byte sequences) that exceed the buffer size used by the UTF-8 parsing function. Default network-facing SMTP configuration is required; the vulnerability is triggered during email reception over SMTP (port 25, 587, or other configured submission ports). No authentication is required to send the malicious email. The information leak is passive and occurs only when error messages are generated during subsequent, unrelated email processing.

Impact

CVSS 3.7 with AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N indicates low-severity information disclosure with network attack vector but high complexity. The high complexity requirement (AC:H) is the primary limiting factor-the attacker must craft malformed UTF-8 headers with precise trailing character encoding to trigger the out-of-bounds read, making reliable exploitation non-trivial. No EPSS score, KEV status, or POC availability data provided, so real-world exploitation probability cannot be independently assessed. The attack produces information leakage only through error messages during unrelated email processing, limiting the confidentiality impact to accidental disclosure of transient process memory. This is a genuine but narrow vulnerability: it requires UTF-8 operators enabled (non-default in many deployments) and skillful payload construction, making it a lower-priority patch compared to network-vector RCE or authentication bypass issues, though it should be addressed during normal maintenance windows.

Exploit ScenarioDerived

An attacker sends a specially crafted email message with malformed UTF-8 sequences embedded in headers (such as oversized trailing byte sequences) to an Exim server with UTF-8 operators enabled. The UTF-8 parsing code attempts to process the malformed header, reading beyond buffer boundaries and exposing nearby process memory. When Exim generates an error message in response to this email, the leaked memory contents may be appended to the error output, divulging sensitive data such as configuration values or authentication tokens from the running process. The attack succeeds only if the attacker precisely constructs the UTF-8 payload to trigger the boundary violation.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 30, 2026

Out-of-bounds read in Exim before 4.99.2 when UTF-8 operators are enabled allows remote unauthenticated attackers to leak sensitive information through error messages by sending email with malformed UTF-8 trailing characters in headers. The vulnerability has high attack complexity due to the requirement for UTF-8 operator enablement and specific malformed input crafting, but requires no user interaction and operates over the network on default deployments.

RemediationAI

Upgrade Exim to version 4.99.2 or later as the primary remediation. The upstream fix is available via commit f2570bde16fb4d4a1242ff363a4c4eecf6372efc in the Exim code repository. For deployments unable to immediately upgrade, disable UTF-8 operator functionality if operationally feasible-review the Exim configuration to disable any utf8 operators in ACLs, string expansions, or header processing rules. This workaround eliminates the attack surface but may impact email processing for non-ASCII headers; verify compatibility with organizational requirements before implementation. Consult https://exim.org/static/doc/security/cve-2026-04.1/CVE2026-40686.assessment for vendor assessment details and patch availability timelines.

Affected VersionsENISA

exim 0 <4.99.2

Affected Packages

euvd exim fix: 4.99.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Exim is a message transfer agent (MTA) that processes email headers and body content. The vulnerability resides in the UTF-8 operator handling code when processing email headers containing malformed UTF-8 sequences, specifically oversized trailing characters that exceed buffer boundaries. CWE-125 (Out-of-bounds Read) indicates the UTF-8 parsing logic fails to validate character boundaries before accessing memory, allowing the parser to read beyond allocated buffer regions. The affected CPE cpe:2.3:a:exim:exim:*:*:*:*:*:*:*:* confirms all Exim versions prior to 4.99.2 are vulnerable when the UTF-8 operator feature is active.

Know when Exim gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 3.7 LOW
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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

Lifecycle Timeline

3
Patch released
May 01, 2026 - 17:44 nvd
Patch available
Patch available
Apr 30, 2026 - 23:02 EUVD
CVE Published
Apr 30, 2026 - 00:00 nvd
LOW 3.7

DescriptionCVE.org

In Exim before 4.99.2, when utf8 operators are enabled, there is an out-of-bounds read if large UTF-8 trailing characters are present (malformed UTF-8 header data). Information might be divulged within an error message produced during handling of an unrelated e-mail message.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

18
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +18
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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

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