Skip to main content

Exim EUVDEUVD-2026-26443

| CVE-2026-40685 CRITICAL
Incorrect Provision of Specified Functionality (CWE-684)
2026-04-30 mitre
Critical
Disputed · 9.8 NVD
View

Attack ChainAIDerived

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

  1. Access
    Send email with crafted untrusted header
  2. Delivery
    JSON operator parses malformed JSON
  3. Exploit
    Incorrect backslash-skip logic triggered
  4. Execution
    Out-of-bounds heap write
  5. Impact
    Potential remote code execution

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Incorrect provision of specified functionality
Exploitation Conditions

Exploitation requires Exim built/configured with JSON lookup support enabled AND a configuration that applies a JSON operator to an attacker-controllable, untrusted header; the trigger is malformed JSON whose backslash escaping defeats the incorrect '\' skipping, producing the out-of-bounds heap write. This is not a stock-default path: JSON lookup must be enabled and wired to untrusted input, which is the primary limiting factor and meaningfully narrows real exposure despite the PR:N/AC:L base vector. Only Exim versions before 4.99.2 are affected; updating to 4.99.2 is the vendor-stated fix.

Impact

Signals conflict sharply here, and the split matters. The CVSS 3.1 base vector (AV:N/AC:L/PR:N/UI:N, 9.8 Critical) and the vuln.today 'act_now' label argue for maximum urgency, and the mechanism - an out-of-bounds heap write reachable via an untrusted mail header in Exim, the internet's most widely deployed MTA - is genuinely dangerous. Against that, three independent exploitation signals all point LOW: EPSS is 0.05% (15th percentile), CISA KEV does not list it (no confirmed active exploitation), and CISA SSVC scores Exploitation=none, Automatable=no, Technical Impact=partial. The CVSS base vector also overstates real reachability: the description makes exploitation conditional on 'when JSON lookup is enabled' and on a JSON operator processing a malformed untrusted header - a non-default configuration that the base PR:N/AC:L vector does not capture. So this reads as a high-severity flaw in a ubiquitous product whose realistic attack surface is gated by configuration, with no exploitation observed to date. Treat the 'act_now' label as severity/patch-driven, not exploitation-driven: patch promptly because Exim is internet-facing and the impact is memory corruption, but current evidence indicates no widespread or automatable exploitation. Exploitation status: no public exploit identified at time of analysis.

Exploit ScenarioDerived

An attacker sends an email (or connects over SMTP) to an Exim server (before 4.99.2) that has JSON lookup support enabled and a configuration that feeds an untrusted header into a JSON operator. The attacker crafts a header containing malformed JSON with manipulated backslash escapes so that the flawed '\' skipping logic drives a write past the heap buffer. The exact weaponization path is not described in the available sources; no public exploit is identified, and the attack requires the non-default JSON-lookup configuration rather than a stock install.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – Nov 11, 2026

Exim before 4.99.2 can suffer an out-of-bounds heap write when JSON lookup support is enabled and a JSON operator processes malformed JSON from an untrusted header, because backslash escaping is skipped incorrectly. This is not a stock-default path: exposure depends on a configuration that applies JSON operators to attacker-controllable headers, which meaningfully narrows real-world risk despite the high severity score. No confirmed active exploitation (not in CISA KEV) or public exploit was identified in the supplied data, and EPSS is low at 0.05%, although the vendor has released 4.99.2 and priority guidance says act now.

Earlier versions of this analysis (1)
v1 Apr 30, 2026 - 22:00 CVSS 6.5

Out-of-bounds heap write in Exim before 4.99.2 allows unauthenticated remote attackers to cause denial of service and potentially corrupt memory when the JSON lookup feature is enabled and malformed JSON is present in untrusted email headers, due to incorrect backslash escape sequence handling in the JSON operator.

RemediationAI

Upgrade to Exim 4.99.2, which is the vendor-stated fix for versions before 4.99.2; see https://exim.org/static/doc/security/CVE-2026-40685.txt and the referenced upstream commit https://code.exim.org/exim/exim/commit/9fdc057e71b87c87a0d3d2288b2810a0efaaba57. Ubuntu users should follow USN-8228-1 at https://ubuntu.com/security/notices/USN-8228-1 for distribution-specific fixed packages. If upgrading cannot be done immediately, reduce exposure by disabling JSON lookup support or by ensuring that JSON operators are not applied to attacker-controllable, untrusted headers; this trades away JSON lookup functionality and requires a configuration review.

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

The flaw is in Exim's JSON lookup feature, which parses JSON data encountered by a JSON operator. When that input is malformed and contains backslash escaping, an incorrect implementation of '\' skipping can lead to an out-of-bounds heap write. The assigned CWE is CWE-684 (Incorrect Provision of Specified Functionality), while the practical consequence is memory corruption in the affected MTA. The independent assessment rates this AV:N/AC:H/PR:N/UI:N, reflecting that the attack is remote and unauthenticated but requires the non-default condition of JSON lookup being enabled and wired to untrusted header input; only Exim versions before 4.99.2 are affected, and 4.99.2 is the vendor-stated fix.

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.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.1 HIGH

Network-reachable and unauthenticated (AV:N/PR:N), but AC:H because exploitation depends on the non-default JSON-lookup configuration processing untrusted headers; heap write yields high memory-corruption impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 6.5 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H

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
High
Availability
High

Lifecycle Timeline

6
Analysis Updated
Nov 11, 2026 - 21:28 vuln.today
v2 - CVSS changed
Severity Changed
Nov 11, 2026 - 21:22 NVD
MEDIUM CRITICAL
CVSS changed
Nov 11, 2026 - 21:22 NVD
6.5 (MEDIUM) 9.8 (CRITICAL)
Patch released
May 01, 2026 - 17:51 nvd
Patch available
Patch available
Apr 30, 2026 - 23:02 EUVD
CVE Published
Apr 30, 2026 - 00:00 nvd
MEDIUM 6.5

DescriptionNVD

In Exim before 4.99.2, when JSON lookup is enabled, an out-of-bounds heap write can occur when a JSON operator encounters malformed JSON in an untrusted header, because of an incorrect implementation of \ skipping.

Executive ViewAI

Why It Matters

A critical heap memory corruption flaw in Exim mail transfer agent (versions before 4.99.2) could allow remote attackers to compromise mail-handling systems, but only where administrators have enabled JSON lookup operators against untrusted message headers - a non-default configuration. Organizations running Exim with custom JSON-processing rules on inbound mail should treat this as a priority remediation item, while standard deployments carry meaningfully reduced exposure. Leadership should care because mail infrastructure is a high-value, internet-facing target and any compromise could disrupt communications and enable broader network intrusion.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 85% exploitable
Prevalence
High
Exim is the most widely deployed internet MTA on Linux mail servers
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.0%
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

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