Back to Security Advisories

Exim CVE-2026-40684, CVE-2026-40685, CVE-2026-40686, and CVE-2026-40687

Exim before 4.99.2 contains four reported vulnerabilities, CVE-2026-40684 to CVE-2026-40687 (the highest CVSS score among them is 5.9). cPanel ships the updated Exim package in cPanel & WHM 136.0.7, 134.0.23, 118.0.64 and 110.0.112, so update to one of these builds or later. One of the flaws, CVE-2026-40684, lets an attacker crash a connection instance on musl-based systems through malformed DNS data in PTR records.

High 5.9 CVSS
cPanel

Default Update CMD

yum update exim && systemctl restart exim

What this means under a SharedLicense license

On systems using musl libc, malformed DNS data in PTR records can crash an Exim connection instance (CVE-2026-40684). cPanel's advisory lists the other three CVEs without further detail; the NVD entries linked above describe each one.

Situation

Several security vulnerabilities were reported in Exim, impacting versions prior to 4.99.2:

Impact

An updated Exim package has already been released and is available in the following cPanel versions:

  • 136.0.7
  • 134.0.23
  • 118.0.64
  • 110.0.112

This can be seen in the cPanel & WHM Change Logs:

  • Fixed CPANEL-53011: Update cpanel-exim to 4.99.2 Fixes: CVE-2026-40684, CVE-2026-40685, CVE-2026-40686, and CVE-2026-40687.

The cPanel & WHM Change Logs can be found via the following URL:

cPanel & WHM Change Log

Call to Action

Please update cPanel & WHM to one of the above patched build versions.

Frequently Asked Questions

What is 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 present in PTR records, caused by a dn_expand oddity in octal printing.
Which cPanel & WHM versions contain the Exim 4.99.2 fix?
136.0.7, 134.0.23, 118.0.64 and 110.0.112; the change log entry CPANEL-53011 (Update cpanel-exim to 4.99.2) names all four CVEs. Every later build includes the fix as well.
What about CVE-2026-40685, CVE-2026-40686 and CVE-2026-40687?
They are fixed by the same Exim 4.99.2 package. cPanel's advisory lists them without further detail; the NVD entries linked above describe each one.
How do I update?
Run /scripts/upcp to bring cPanel & WHM to one of the patched builds, then confirm the version with /usr/local/cpanel/cpanel -V.
Is my cPanel license affected?
No. These are flaws in Exim, the mail server shipped with cPanel & WHM, not in licensing. Licenses keep working after the update.

Check your system for vulnerabilities

Select your product and operating system to see the exact fix commands that apply to you.

Check Your System