CVE-2026-40687: Exim - Out of Bounds Read & Write
- Cve: CVE-2026-40687
- Name: Exim - Out of Bounds Read & Write
- Description: In Exim before 4.99.2, when the SPA authentication driver is used with an adversarial SPA resource, there can be an out-of-bounds write that crashes the connection instance, or erroneous data processing that divulges data from uninitialized heap memory.
- Impact: Attackers can crash the connection or access sensitive uninitialized heap memory, potentially leading to denial of service or information disclosure.
- Remediation: Update to version 4.99.2 or later.
- Vulnerability type: out_of_bounds_rw
- Vulnerability impact: denial_of_service, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- Epss score: 0.00373
- Epss percentile: 0.31613
- Assignee: [email protected]
- Published at: 2026-04-30T22:16:25Z
- Age in days: 208
- Modified at: 2026-11-11T21:10:00Z
- Patch available: yes
- References total: 3
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-40687
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-909 | Missing Initialization of Resource |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://code.exim.org/exim/exim/commit/68b963b9f75ca27b38e1c0f8c87037990199f505 | Patch |
| https://exim.org/static/doc/security/cve-2026-04.1/CVE2026-40687.assessment | Vendor Advisory |
| https://www.openwall.com/lists/oss-security/2026/04/30/21 | Mailing List, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| exim:exim | < 4.99.2 | no | nvd | /v1/products/exim/exim |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 2015302
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports