CVE-2026-40685

Published Apr 30, 2026
·
Updated

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.

Affected Software

2 affected components
Exim Exim<4.99.2
Exim Exim<4.99.2

Event History

Apr 30, 2026
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-40685?

CVE-2026-40685 has a high severity rating due to the potential for an out-of-bounds heap write which can lead to denial of service or code execution.

2

How do I fix CVE-2026-40685?

To fix CVE-2026-40685, upgrade Exim to version 4.99.2 or later where the vulnerability is patched.

3

What software is affected by CVE-2026-40685?

CVE-2026-40685 affects Exim versions prior to 4.99.2 when JSON lookup is enabled.

4

What is the attack vector for CVE-2026-40685?

The attack vector for CVE-2026-40685 involves sending malformed JSON within untrusted headers that triggers the out-of-bounds write.

5

Can CVE-2026-40685 be exploited remotely?

Yes, CVE-2026-40685 can be exploited remotely if an attacker can send specially crafted emails to the vulnerable Exim server.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203