CVE-2026-40685: 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…
CVE-2026-40685 affects 133 listed versions of Exim in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Exim
133 of 141 listed versions are affected. Fixed in 4.99.2. The newest release, 4.100.3, is not affected.
4.99.1 4.99 4.98.2 4.98.1 4.98 4.97.1 4.97 4.96.2 4.96.1 4.96 4.96-RC1-11-315206fbf 4.96-RC0-14-24b8ed847-XX 4.95 4.94.2 4.94.1 4.94 4.93.0.4 4.93.0.3 4.93.0.2 4.93.0.1 4.93 4.92.3 4.92.2 4.92.1 4.92 4.91 4.90.1 4.90.0.27 4.90.0.22 4.90 4.89.1 4.89 4.89-rc7 4.89-rc6 4.89-rc5 4.89-rc4 4.89-rc3 4.89-rc2 4.89-rc1 4.88 4.88-rc6 4.88-rc5 4.88-rc4 4.88-rc3 4.88-rc2 4.88-rc1 4.87.1 4.87 4.86.2 4.86.1 4.86 4.85.2 4.85.1 4.85 4.84.2 4.84.1 4.83 4.82.1 4.82 4.80.1 and 73 more
What it is
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)
Published by MITRE on 30 April 2026. Last changed 11 November 2026.
Sources
Check one version you run: look CVE-2026-40685 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.