Security Resilience

CVE-2026-40684

Exim ≤ 4.99.2

Published
30 April 2026
Modified
11 November 2026
Patch / advisory
CVSS Score v3.1 5.9
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.0061 43th percentile
Risk Priority 48 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-40684 is a medium-severity Incorrect Provision of Specified Functionality (CWE-684) vulnerability in Exim. Its CVSS base score is 5.9 (Medium).

Operationally, ranked at the 43th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SA-15 (Development Process, Standards, and Tools) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-40684 affects Exim versions before 4.99.2 on systems using musl libc, excluding those with glibc. The vulnerability stems from an oddity in the dn_expand function during octal printing, enabling an attacker to crash a connection instance when malformed DNS data appears in PTR records. Published on 2026-04-30, it carries a CVSS v3.1 base score of 5.9 (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H) and is linked to CWE-684.

A remote attacker with network access can exploit this without privileges or user interaction, though it demands high attack complexity. Exploitation crashes the targeted connection instance, resulting in a denial-of-service impact limited to availability disruption for that specific session.

Exim advisories recommend upgrading to version 4.99.2 or later for mitigation, with the fix implemented in commit 628bbaca7672748d941a12e7cd5f0122a4e18c81 available at https://code.exim.org/exim/exim/commit/628bbaca7672748d941a12e7cd5f0122a4e18c81. Further details appear in https://exim.org/static/doc/security/CVE-2026-40684.txt and https://exim.org/static/doc/security/cve-2026-04.1/CVE2026-40684.assessment, alongside announcements on oss-security lists at https://www.openwall.com/lists/oss-security/2026/04/30/21 and http://www.openwall.com/lists/oss-security/2026/05/01/11.

EU & UK References

Vulnerability Data

In Exim before 4.99.2, on systems using musl libc (not glibc), an attacker can crash the connection instance when malformed DNS data is present in PTR records. This is caused by a dn_expand oddity in octal printing.

CWE(s)

Related Threats

CVEs Like This One

CVE-2026-40685Same product: Exim Exim
CVE-2026-40687Same product: Exim Exim
CVE-2026-94056Same product: Exim Exim
CVE-2023-42119Same product: Exim Exim
CVE-2025-30232Same product: Exim Exim
CVE-2025-26794Same product: Exim Exim
CVE-2024-39929Same product: Exim Exim
CVE-2026-66140Same product: Exim Exim
CVE-2023-42116Same product: Exim Exim
CVE-2025-67896Same product: Exim Exim

Affected Assets

exim
exim
≤ 4.99.2

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and evaluation activities are performed precisely to discover when delivered functionality fails to match published specifications.

Requiring a documented development process and supporting tools reduces the chance that specified functionality will be implemented incorrectly.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development and acceptance validates that implemented functionality conforms to specifications before release.

blocks

Change management processes reduce the chance of unintended functional deviations during updates, though they do not directly address initial specification conformance.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-684, a class-level weakness, and none of its children carries one either.

References