# CVE-2026-40687: 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 tha…

- Severity: Medium 4.8 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 34% of CVEs (2026-12-01)
- Published: 2026-04-30T00:00:00.000Z
- Modified: 2026-11-11T21:10:00.200Z
- Weaknesses: CWE-909
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Exim Exim: before 4.99.2

## Every score

- mitre: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://www.openwall.com/lists/oss-security/2026/04/30/21> (mailing-list, third-party-advisory)
- <https://exim.org/static/doc/security/cve-2026-04.1/CVE2026-40687.assessment> (vendor-advisory)
- <https://code.exim.org/exim/exim/commit/68b963b9f75ca27b38e1c0f8c87037990199f505> (patch)
- <https://exim.org/static/doc/security/CVE-2026-40687.txt> (broken-link)

## Sources

- CVE List: [CVE-2026-40687](https://www.cve.org/CVERecord?id=CVE-2026-40687), CVE Terms of Use, modified 2026-05-01
- NVD: [CVE-2026-40687](https://nvd.nist.gov/vuln/detail/CVE-2026-40687), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-40687 · Whole record: https://cve.day/CVE-2026-40687.json · Rebuilt by cve.day 2026-11-25T22:59:20.313Z
