CVE-2026-40687

Out‑of‑Bounds Write and Data Disclosure via Exim SPA Authentication Driver

Published Apr 30, 2026 CVSS 3.1 · 4.8 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability involves an out‑of‑bounds write in Exim’s SPA authentication driver when processing a malicious SPA resource. The write can crash the connection instance or cause erroneous data processing that leaks uninitialized heap memory. The resulting impact includes service disruption and potential leakage of sensitive data; the flaw is classified as CWE‑909, a memory corruption weakness.

Affected Systems

Exim, versions prior to 4.99.2 are affected. No other vendors are listed. An attacker can exploit any Exim deployment running a pre‑4.99.2 build with the SPA authentication driver enabled.

Risk and Exploitability

The CVSS score is 4.8, indicating a moderate risk. EPSS information is unavailable, so the likelihood of exploitation is unclear. The vulnerability is not present in the CISA KEV catalog. The attack likely requires an attacker who can send crafted SMTP traffic to the Exim server with an adversarial SPA resource; the flaw appears during normal authentication processing, so a successful exploit could lead to a crash or data leakage but does not provide remote code execution or privilege escalation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update to Exim 4.99.2 or later
  • Restrict or validate SPA resource input to eliminate malformed data
  • If the SPA authentication driver is not required, disable it or replace it with a more secure authentication method

Generated by OpenCVE AI on May 1, 2026 at 05:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6265-1 exim4 security update
Ubuntu USN Ubuntu USN USN-8228-1 Exim vulnerabilities
Ubuntu USN Ubuntu USN USN-8382-1 Exim vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Out‑of‑Bounds Write and Data Disclosure via Exim SPA Authentication Driver
Type Values Removed Values Added
Description 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.
First Time appeared Exim
Exim exim
Weaknesses CWE-909
CPEs cpe:2.3:a:exim:exim:*:*:*:*:*:*:*:*
Vendors & Products Exim
Exim exim
References
Metrics cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L'}

Weaknesses
  • CWE-909

    Missing Initialization of Resource

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
May 1, 2026, 2:25 PM
Reserved
Apr 14, 2026, 12:00 AM
Status
Analyzed
Published
Apr 30, 2026, 10:16 PM
Modified
Nov 11, 2026, 9:10 PM