Input validation error in Exim - CVE-2026-40684

 

Input validation error in Exim - CVE-2026-40684

Published: May 7, 2026


Vulnerability identifier: #VU130454
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-40684
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to improper handling of malformed DNS data in PTR record processing when processing DNS responses on systems using musl libc. A remote attacker can provide specially crafted DNS data to cause a denial of service.

Only systems using musl libc are affected.


Affected software

Exim
Debian Linux
Gentoo Linux
exim4 (Debian package)
mail-mta/exim

How to mitigate CVE-2026-40684

Install security update from vendor's website.

Exim - update to 4.99.2
exim4 (Debian package) - addressed in versions 4.96-15+deb12u9, 4.98.2-1+deb13u2
mail-mta/exim - update to 4.99.4

External References

Related Security Bulletins