# CVE-2026-40684: 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 pre…

- Severity: Medium 5.9 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-04-30T00:00:00.000Z
- Modified: 2026-11-11T21:10:00.200Z
- Weaknesses: CWE-684
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Exim Exim: before 4.99.2

## Every score

- mitre: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://www.openwall.com/lists/oss-security/2026/04/30/21> (mailing-list, third-party-advisory)
- <https://exim.org/static/doc/security/cve-2026-04.1/CVE2026-40684.assessment> (vendor-advisory)
- <https://code.exim.org/exim/exim/commit/628bbaca7672748d941a12e7cd5f0122a4e18c81> (patch)
- <https://exim.org/static/doc/security/CVE-2026-40684.txt> (broken-link)
- <http://www.openwall.com/lists/oss-security/2026/05/01/11>

## Sources

- CVE List: [CVE-2026-40684](https://www.cve.org/CVERecord?id=CVE-2026-40684), CVE Terms of Use, modified 2026-05-01
- NVD: [CVE-2026-40684](https://nvd.nist.gov/vuln/detail/CVE-2026-40684), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-40684 · Whole record: https://cve.day/CVE-2026-40684.json · Rebuilt by cve.day 2026-11-25T22:59:20.312Z
