CVE-2026-66140: High severity Exim Exim vulnerability

Published Jul 24, 2026
·
Updated

Exim before 4.99.5 allows directory traversal to access files outside of the spool area, and consequently gain privileges, because arguments related to queue-name are mishandled.

Affected Software

14 affected componentsFixes available
Exim Exim<4.99.5
Exim Exim<4.99.5
alpine/exim<4.98.5-r0
4.98.5-r0
ubuntu/exim4*
ubuntu/exim4*
ubuntu/exim4*
ubuntu/exim4*
ubuntu/exim4<4.95-4ubuntu2.11
4.95-4ubuntu2.11
ubuntu/exim4<4.97-4ubuntu4.7
4.97-4ubuntu4.7
ubuntu/exim4<4.99.1-1ubuntu1.4
4.99.1-1ubuntu1.4
debian/exim4<4.96-15+deb12u11
4.96-15+deb12u11
debian/exim4<4.98.2-1+deb13u4
4.98.2-1+deb13u4
debian/exim4<4.99.4-2
4.99.4-2
debian/exim4<=4.96-15+deb12u10
4.96-15+deb12u114.98.2-1+deb13u44.99.4-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade alpine/exim to a version that resolves this vulnerability.

    Fixed in 4.98.5-r0
  2. Upgrade

    Upgrade ubuntu/exim4 to a version that resolves this vulnerability.

    Fixed in 4.95-4ubuntu2.11
  3. Upgrade

    Upgrade ubuntu/exim4 to a version that resolves this vulnerability.

    Fixed in 4.97-4ubuntu4.7
  4. Upgrade

    Upgrade ubuntu/exim4 to a version that resolves this vulnerability.

    Fixed in 4.99.1-1ubuntu1.4
  5. Upgrade

    Upgrade debian/exim4 to a version that resolves this vulnerability.

    Fixed in 4.96-15+deb12u11
  6. Upgrade

    Upgrade debian/exim4 to a version that resolves this vulnerability.

    Fixed in 4.98.2-1+deb13u4
  7. Upgrade

    Upgrade debian/exim4 to a version that resolves this vulnerability.

    Fixed in 4.99.4-2
  8. Upgrade

    Upgrade debian/exim4 to a version that resolves this vulnerability.

    Fixed in 4.96-15+deb12u11Fixed in 4.98.2-1+deb13u4Fixed in 4.99.4-2

Event History

Jul 24, 2026
CVE Published
via MITRE·04:32 AM
Data Sourced
via MITRE·04:32 AM
DescriptionSeverityWeakness
Data Sourced
via OSV·05:16 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·05:16 AM
DescriptionSeverityWeakness
Aug 17, 2026
Data Sourced
via NVD·07:04 PM
Affected Software
Updated
via NVD·07:04 PM
Severity

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2026-66140?

The severity of CVE-2026-66140 is classified as high with a score of 8.4.

2

What does CVE-2026-66140 exploit in Exim?

CVE-2026-66140 exploits directory traversal vulnerabilities in Exim version prior to 4.99.5 to access files outside the spool area.

3

How can I fix CVE-2026-66140?

To fix CVE-2026-66140, update Exim to version 4.99.5 or higher to mitigate the vulnerability.

4

What are the potential impacts of CVE-2026-66140?

CVE-2026-66140 can lead to privilege escalation due to unauthorized access to sensitive files.

5

Which versions of Exim are affected by CVE-2026-66140?

CVE-2026-66140 affects all Exim versions prior to 4.99.5.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203