CVEfocus › CVE database › CVE-2026-40684

CVE-2026-40684

CVSS 5.9 MediumEPSS 0.6% (higher than 43% of CVEs)Published 2026-04-30Updated 2026-05-01Assigner: mitre

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-684

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
4Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04exim4Not affected
vulnerable_code_not_present
Ubuntu 25.10exim4Not affected
vulnerable_code_not_present
Ubuntu 24.04exim4Not affected
vulnerable_code_not_present
Ubuntu 22.04exim4Not affected
vulnerable_code_not_present
Debian 14exim4Fixed4.99.2-1DEBIAN-CVE-2026-40684
Debian 13exim4Fixed4.98.2-1+deb13u2DEBIAN-CVE-2026-40684
Debian 12exim4Fixed4.96-15+deb12u9DEBIAN-CVE-2026-40684
Alpine Linux 3.24eximFixed4.98.2-r0ALPINE-CVE-2026-40684
Alpine Linux 3.23eximFixed4.98.2-r0ALPINE-CVE-2026-40684

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.