CVE-2026-40685
In Exim before 4.99.2, when JSON lookup is enabled, an …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- code.exim.org/exim/exim/commit/9fdc057e71b87c87a0d3d2288b2810a0efaaba57
- exim.org/static/doc/security/CVE-2025-40685.txt
- exim.org/static/doc/security/cve-2026-04.1/CVE2026-40685.assessment
- www.openwall.com/lists/oss-security/2026/04/30/21
- exim.org/static/doc/security/CVE-2026-40685.txt
- nvd.nist.gov/vuln/detail/CVE-2026-40685
- cve.org/CVERecord?id=CVE-2026-40685
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.