CVE-2026-40684
In Exim before 4.99.2, on systems using musl libc (not glibc), an …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- code.exim.org/exim/exim/commit/628bbaca7672748d941a12e7cd5f0122a4e18c81
- exim.org/static/doc/security/CVE-2025-40684.txt
- exim.org/static/doc/security/cve-2026-04.1/CVE2026-40684.assessment
- www.openwall.com/lists/oss-security/2026/04/30/21
- exim.org/static/doc/security/CVE-2026-40684.txt
- www.openwall.com/lists/oss-security/2026/05/01/11
- nvd.nist.gov/vuln/detail/CVE-2026-40684
- cve.org/CVERecord?id=CVE-2026-40684
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.