Skip to main content

Exim EUVDEUVD-2026-26445

| CVE-2026-40687 CRITICAL
Missing Initialization of Resource (CWE-909)
2026-04-30 mitre
Critical
Disputed · 9.1 NVD
View

Attack ChainAIDerived

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

  1. Access
    Attacker probes SMTP service
  2. Delivery
    Initiates AUTH PLAIN/SPA negotiation
  3. Exploit
    Sends crafted SPA resource packet
  4. Execution
    Parser processes malformed buffer
  5. Persist
    Out-of-bounds write or memory disclosure occurs
  6. Impact
    Connection 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.1% 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 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

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'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)
NVD PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
SUSE 4.8 MEDIUM
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

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

Lifecycle Timeline

5
Severity Changed
Nov 11, 2026 - 21:22 NVD
MEDIUM CRITICAL
CVSS changed
Nov 11, 2026 - 21:22 NVD
4.8 (MEDIUM) 9.1 (CRITICAL)
Patch released
May 01, 2026 - 19:17 nvd
Patch available
Patch available
Apr 30, 2026 - 23:02 EUVD
CVE Published
Apr 30, 2026 - 00:00 nvd
MEDIUM 4.8

DescriptionNVD

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

EPSS Score
0.1%
Top 84% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
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.

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

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