CVE-2026-40685

critical
Published 2026-04-30 · Modified 2026-05-01
CVSS v3
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v2
VIR risk
9.8

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.

Predictions

Exploit likelihood
97%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2026-40685

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — https://exim.org/static/doc/security/cve-2026-04.1/CVE2026-40685.assessment

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — https://code.exim.org/exim/exim/commit/9fdc057e71b87c87a0d3d2288b2810a0efaaba57

OS impact

OSVersionStatusFixed in
debian debianbookwormfixed4.96-15+deb12u9
debian debianbullseyeaffected
debian debianforkyfixed4.99.2-1
debian debiansidfixed4.99.2-1
debian debiantrixiefixed4.98.2-1+deb13u2

Application impact

VendorProductVersionsFixed
eximexim{"endExcluding":"4.99.2"}4.99.2

References

CWEs

CWE-684 CWE-787

Verify integrity in audit chain (admin only). AS-IS.