Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker probes SMTP service
-
DeliveryInitiates AUTH PLAIN/SPA negotiation
-
ExploitSends crafted SPA resource packet
-
ExecutionParser processes malformed buffer
-
PersistOut-of-bounds write or memory disclosure occurs
-
ImpactConnection crashes or heap data leaks
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Missing initialization of resource
|
| Exploitation Conditions | The SPA authentication driver must be enabled in Exim's configuration (typically configured in the authenticators section of exim.conf). Remote unauthenticated attackers must be able to reach the SMTP service and initiate an AUTH exchange; firewall restrictions on port 25/587 would prevent exploitation. The attacker must craft an adversarial SPA resource that triggers the specific buffer handling flaw-this is not a trivial or single-command exploit, consistent with the AC:H (high complexity) CVSS vector. Exploitation does not require authentication to Exim itself (PR:N) because the SPA driver processes untrusted input during the authentication handshake before verification. Limiting factors: organizations with SPA disabled, those not exposing SMTP to untrusted networks, or those running Exim 4.99.2+ are not affected. |
| Impact | CVSS 4.8 (AV:N/AC:H/PR:N/UI:N) indicates network-accessible vulnerability but with high attack complexity, limiting exploitation probability. The EPSS score is not provided, preventing quantification of real-world exploitation likelihood. KEV (Known Exploited Vulnerability) status is not indicated in available data, suggesting this may not yet be under active exploitation despite the descriptive richness. The dual impact (denial of service via crash AND information disclosure) is significant for mail infrastructure, but the AC:H vector signals that specific conditions or precise crafting of the SPA resource is required-this is not trivial remote exploitation. The vulnerability affects all Exim versions prior to 4.99.2 (per CPE cpe:3:a:exim:exim:*:*:*:*:*:*:*:*), making it a widespread concern for deployed mail servers if the SPA driver is in active use. Risk assessment requires confirmation of whether SPA is enabled by default and how prevalent AC:H exploitation complexity is in practice. |
| Exploit ScenarioDerived | A remote attacker connects to an Exim server on port 25 (or 587 if submission is enabled), initiates SMTP dialog, and triggers the SPA authentication mechanism. The attacker sends a specially crafted SPA authentication resource that violates the protocol parser's buffer assumptions, causing either a write beyond the allocated heap buffer (crashing the SMTP connection and potentially revealing heap contents before crash) or triggering uninitialized memory reads that leak sensitive data in the authentication response. A crafted resource might involve unusual length fields, nested structures, or encoding patterns that expose the memory handling flaw. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 30, 2026
Out-of-bounds write in Exim before 4.99.2 SPA authentication driver allows remote attackers to crash the mail server connection or leak uninitialized heap memory when processing adversarial SPA authentication resources, affecting confidentiality and availability of the mail service.
RemediationAI
Upgrade Exim to version 4.99.2 or later, which contains the fix confirmed in the upstream commit 68b963b9f75ca27b38e1c0f8c87037990199f505 (https://code.exim.org/exim/exim/commit/68b963b9f75ca27b38e1c0f8c87037990199f505). If immediate patching is not feasible, disable the SPA authentication driver in exim.conf by removing or commenting out any SPA driver configuration in the authenticators section. This eliminates the attack surface but may require alternative authentication methods (e.g., PLAIN, LOGIN, CRAM-MD5) if SPA is relied upon by specific clients. Verify SPA is not in use before disabling it to avoid breaking legitimate authentication workflows. Consult https://exim.org/static/doc/security/cve-2026-04.1/CVE2026-40687.assessment for deployment-specific guidance.
Affected VersionsENISA
Affected Packages
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's SPA (Simple Password Authentication) driver contains a buffer handling flaw (CWE-909: Missing Initialization with Hard-Coded Network Resource Configuration) when parsing SPA authentication protocol messages from remote clients. The vulnerability manifests as either an out-of-bounds write that terminates the SMTP connection or memory disclosure from uninitialized heap regions. The SPA driver is a pluggable authentication mechanism within Exim's SMTP server, making this remotely exploitable without prior authentication to the mail system.
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
Sources disagree (Medium–Critical)AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
In Exim before 4.99.2, when the SPA authentication driver is used with an adversarial SPA resource, there can be an out-of-bounds write that crashes the connection instance, or erroneous data processing that divulges data from uninitialized heap memory.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
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
EUVD-2026-26445
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB