Skip to content
Fencer Vulns
medium 4.8

CVE-2026-40687 json

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…

published 2026-04-30 6 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-26445

cvss
4.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 31%
public exploits
0
none known

Summary

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.

Patch / fix

  • Exim Exim 4.99.2
  • exim4 Debian 12 4.96-15+deb12u9
  • exim4 Debian 13 4.98.2-1+deb13u2
  • exim4 Debian 14 4.99.2-1

debian advisories DEBIAN-CVE-2026-40687

  • exim4 Ubuntu 22.04 LTS 4.95-4ubuntu2.7
  • exim4 Ubuntu 24.04 LTS 4.97-4ubuntu4.4
  • exim4 Ubuntu 25.10 4.98.2-1ubuntu2.1
  • exim4 Ubuntu 26.04 LTS 4.99.1-1ubuntu1.1
  • exim4 Ubuntu Pro 20.04 LTS 4.93-13ubuntu1.12+esm1

ubuntu advisories UBUNTU-CVE-2026-40687

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • exim Alpine 3.24, Alpine 3.23 4.98.2-r0

alpine advisories ALPINE-CVE-2026-40687

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-40687 updated cvss 4.8

Exim: Exim: Denial of Service and Information Disclosure via SPA authentication driver vulnerability

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
6 mo ago

Exploit prediction

0.37% chance of exploitation in the next 30 days, higher than 31% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 4.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
NVD 3.1 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Affected products

  • Exim Exim

Classification

Weakness
  • CWE-909 Missing Initialization of Resource

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.