Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend email with crafted untrusted header
-
DeliveryJSON operator parses malformed JSON
-
ExploitIncorrect backslash-skip logic triggered
-
ExecutionOut-of-bounds heap write
-
ImpactPotential 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – 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)
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
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
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)AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
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
Lifecycle Timeline
6DescriptionNVD
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
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.
Apply vendor patch.
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-26443
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB