CVE-2026-40685
CVE-2026-40685 is a medium-severity vulnerability in Exim with a CVSS 3.x base score of 6.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-787.
Key facts
- Severity: Medium (CVSS 3.x base score 6.5)
- EPSS exploit prediction: 0% (24th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-26443
- Weakness: CWE-787
- Affected product: Exim
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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 in an untrusted header, because of an incorrect implementation of \ skipping.
- How severe is CVE-2026-40685?
- CVE-2026-40685 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity low, and availability high.
- Is CVE-2026-40685 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (24th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-40685?
- CVE-2026-40685 affects Exim. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-40685?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2026-40685 have an EU (EUVD) identifier?
- Yes. CVE-2026-40685 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-26443.
- When was CVE-2026-40685 published?
- CVE-2026-40685 was published on 2026-04-30 and last updated on 2026-06-17.
References
- https://code.exim.org/exim/exim/commit/9fdc057e71b87c87a0d3d2288b2810a0efaaba57
- https://exim.org/static/doc/security/CVE-2026-40685.txt
- https://exim.org/static/doc/security/cve-2026-04.1/CVE2026-40685.assessment
- https://www.openwall.com/lists/oss-security/2026/04/30/21
Affected products (1)
- cpe:2.3:a:exim:exim:*:*:*:*:*:*:*:*
More vulnerabilities in Exim
- CVE-2026-45185 — Critical (CVSS 9.8): Exim before 4.99.3, in certain GnuTLS configurations, has a remotely reachable use-after-free in the BDAT body parsing…
- CVE-2023-42117 — Critical (CVSS 9.8): Exim Improper Neutralization of Special Elements Remote Code Execution Vulnerability. This vulnerability allows remote…
- CVE-2023-42116 — Critical (CVSS 9.8): Exim SMTP Challenge Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote…
- CVE-2023-42115 — Critical (CVSS 9.8): Exim AUTH Out-Of-Bounds Write Remote Code Execution Vulnerability. This vulnerability allows remote attackers to…
- CVE-2022-37452 — Critical (CVSS 9.8): Exim before 4.95 has a heap-based buffer overflow for the alias list in host_name_lookup in host.c when…
- CVE-2020-28026 — Critical (CVSS 9.8): Exim 4 before 4.94.2 has Improper Neutralization of Line Delimiters, relevant in non-default configurations that enable…
Other CWE-787 (Out-of-bounds Write) vulnerabilities
- CVE-2026-42369 — Critical (CVSS 10.0): GV-VMS V20 is a Video Monitoring Software used to gather the feeds of many surveillance cameras and manage other…
- CVE-2026-4746 — Critical (CVSS 10.0): Out-of-bounds Write vulnerability in timeplus-io proton (base/poco/Foundation/src modules). This vulnerability is…
- CVE-2025-43300 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in iOS 15.8.5 and iPadOS…
- CVE-2025-24201 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved checks to prevent unauthorized actions. This issue is fixed in…
- CVE-2024-42479 — Critical (CVSS 10.0): llama.cpp provides LLM inference in C/C++. The unsafe `data` pointer member in the `rpc_tensor` structure can cause…
- CVE-2024-39791 — Critical (CVSS 10.0): Stack-based buffer overflow vulnerabilities affecting Vonets industrial wifi bridge relays and wifi bridge…
Browse all CWE-787 (Out-of-bounds Write) vulnerabilities →
Threat intelligence
Threat-intel indicators referencing this CVE:
- 193.202.11.112 (ipv4-addr)
- 76.12.128.249 (ipv4-addr)
- 50.116.72.139 (ipv4-addr)
- 166.62.41.190 (ipv4-addr)
- 160.187.147.124 (ipv4-addr)
- 132.148.155.138 (ipv4-addr)
- 77.221.151.241 (ipv4-addr)
- 37.221.254.200 (ipv4-addr)