# CVE-2026-40687

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-30 · Modified: 2026-05-01
- Aliases: UBUNTU-CVE-2026-40687, DEBIAN-CVE-2026-40687, CGA-6grc-8v5r-wx6h, CGA-6mq4-255v-rwhx, CGA-7gmh-xj9r-jp98, CGA-7p2w-2c4g-px94, CGA-7p47-m6vh-4fg5, CGA-98p9-8xj4-7jx6, CGA-cmgm-hh56-qfpm, CGA-cpxw-3v6w-j7j2, CGA-g3rc-mjhr-4mx6, CGA-gh7g-333c-36r6, CGA-gq39-xqv4-gx84, CGA-h2xg-fvp9-wf45, CGA-jwq3-gh32-j6xr, CGA-pj67-74q5-jqg7, CGA-q7p4-p7fw-6m6h, CGA-qm6p-6h6g-hvc9, CGA-r58c-6244-9phf, CGA-w9r5-4729-wpwg, CGA-x32x-xm7p-x6p6, CGA-x953-x8pm-mmgp, ALPINE-CVE-2026-40687
- Record: https://cvemate.com/vulnerability/CVE-2026-40687 · JSON: https://cvemate.com/vulnerability/CVE-2026-40687/json

## Description

```text
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.
```

## Signals

- CVSS: 9.1 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- EPSS: 0.387%, percentile 34.94%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 24)

- alpine exim (Alpine Linux): \< 4.98.2-r0
- chainguard exim (Chainguard): \< 4.99.5-r0
- chainguard exim-cdb (Chainguard): \< 4.99.5-r0
- chainguard exim-dbmdb (Chainguard): \< 4.99.5-r0
- chainguard exim-dnsdb (Chainguard): \< 4.99.5-r0
- chainguard exim-doc (Chainguard): \< 4.99.5-r0
- chainguard exim-mysql (Chainguard): \< 4.99.5-r0
- chainguard exim-pgsql (Chainguard): \< 4.99.5-r0
- chainguard exim-scripts (Chainguard): \< 4.99.5-r0
- chainguard exim-sqlite (Chainguard): \< 4.99.5-r0
- chainguard exim-utils (Chainguard): \< 4.99.5-r0
- wolfi exim (Wolfi): \< 4.99.5-r0
- wolfi exim-cdb (Wolfi): \< 4.99.5-r0
- wolfi exim-dbmdb (Wolfi): \< 4.99.5-r0
- wolfi exim-dnsdb (Wolfi): \< 4.99.5-r0
- wolfi exim-doc (Wolfi): \< 4.99.5-r0
- wolfi exim-mysql (Wolfi): \< 4.99.5-r0
- wolfi exim-pgsql (Wolfi): \< 4.99.5-r0
- wolfi exim-scripts (Wolfi): \< 4.99.5-r0
- wolfi exim-sqlite (Wolfi): \< 4.99.5-r0

## References

- <https://www.openwall.com/lists/oss-security/2026/04/30/21>
- <https://exim.org/static/doc/security/cve-2026-04.1/CVE2026-40687.assessment>
- <https://code.exim.org/exim/exim/commit/68b963b9f75ca27b38e1c0f8c87037990199f505>
- <https://exim.org/static/doc/security/CVE-2026-40687.txt>
- <https://ubuntu.com/security/CVE-2026-40687>
- <https://www.cve.org/CVERecord?id=CVE-2026-40687>
- <https://lists.exim.org/lurker/message/20260429.121733.f58d9686.en.html>
- <https://ubuntu.com/security/notices/USN-8228-1>
- <https://ubuntu.com/security/notices/USN-8382-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-40687>
- <https://security.alpinelinux.org/vuln/CVE-2026-40687>

---

Data as of 2026-12-05T06:23:33.731Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
