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
Source GCVE Database
Not known to be exploited · CVSS 6.5 Medium.
Data as of 27 Oct 2026, 00:07 UTC
- Affects
- Exim before 4.99.2
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:HExploitation evidence
Disclosed: evidence found.
CVE published 30 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
Description
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.
References
- nvd.nist.gov/vuln/detail/CVE-2026-40685 (opens in a new tab)
- code.exim.org/exim/exim/commit/9fdc057e71b87c87a0d3d2288b2810a0efaaba57 (opens in a new tab)
- exim.org/static/doc/security/CVE-2025-40685.txt (opens in a new tab)
- exim.org/static/doc/security/CVE-2026-40685.txt (opens in a new tab)
- exim.org/static/doc/security/cve-2026-04.1/CVE2026-40685.assessment (opens in a new tab)
- openwall.com/lists/oss-security/2026/04/30/21 (opens in a new tab)