CVE-2026-40684: High severity Exim Exim vulnerability
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 dnexpand oddity in octal printing.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
alpine/eximto a version that resolves this vulnerability.Fixed in 4.98.2-r0 - Upgrade
Upgrade
debian/exim4to a version that resolves this vulnerability.Fixed in 4.96-15+deb12u9 - Upgrade
Upgrade
debian/exim4to a version that resolves this vulnerability.Fixed in 4.98.2-1+deb13u2 - Upgrade
Upgrade
debian/exim4to a version that resolves this vulnerability.Fixed in 4.99.2-1 - Upgrade
Upgrade
debian/exim4to a version that resolves this vulnerability.Fixed in 4.96-15+deb12u9Fixed in 4.98.2-1+deb13u2Fixed in 4.99.2-1
Event History
Frequently Asked Questions
What is the severity of CVE-2026-40684?
CVE-2026-40684 is considered a moderate severity vulnerability that can cause a connection instance crash.
How do I fix CVE-2026-40684?
To fix CVE-2026-40684, upgrade Exim to version 4.99.2 or later.
What systems are affected by CVE-2026-40684?
CVE-2026-40684 affects Exim versions prior to 4.99.2 on systems using musl libc.
What is the exploit mechanism for CVE-2026-40684?
CVE-2026-40684 can be exploited by sending malformed DNS data in PTR records.
Is CVE-2026-40684 related to glibc or musl libc?
CVE-2026-40684 specifically affects systems using musl libc, not glibc.