CVE-2023-42116: (0Day) Exim SMTP Challenge Stack-based Buffer Overflow Remote Code Execution Vulnerability

Published Sep 28, 2023
·
Updated

[Exim SMTP Challenge Stack-based Buffer Overflow Remote Code Execution Vulnerability]

Other sources

Exim SMTP Challenge Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Exim. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the handling of NTLM challenge requests. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the service account. . Was ZDI-CAN-17515.

MITRE

Exim SMTP Challenge Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Exim. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the handling of NTLM challenge requests. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-17515.

NVD

Affected Software

11 affected componentsFixes available
ubuntu/exim4<4.90.1-1ubuntu1.10+
4.90.1-1ubuntu1.10+
ubuntu/exim4<4.93-13ubuntu1.8
4.93-13ubuntu1.8
ubuntu/exim4<4.95-4ubuntu2.3
4.95-4ubuntu2.3
ubuntu/exim4<4.96-14ubuntu1.2
4.96-14ubuntu1.2
ubuntu/exim4<4.96-17ubuntu2
4.96-17ubuntu2
ubuntu/exim4<4.82-3ubuntu2.4+
4.82-3ubuntu2.4+
ubuntu/exim4<4.96.1
4.96.1
ubuntu/exim4<4.86.2-2ubuntu2.6+
4.86.2-2ubuntu2.6+
debian/exim4<=4.92-8+deb10u6
4.92-8+deb10u94.94.2-7+deb11u24.96-15+deb12u44.97-8
Exim Exim
Exim Exim<4.96.1

Event History

Sep 28, 2023
CVE Published
via Ubuntu·12:00 AM
May 3, 2024
CVE Published
via MITRE·02:13 AM
Data Sourced
via MITRE·02:13 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 AM
Affected Software
Jan 29, 2025
Advisory Published
via ZDI·11:26 PM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-42116?

CVE-2023-42116 is a vulnerability that allows remote attackers to execute arbitrary code on affected installations of Exim.

2

Is authentication required to exploit CVE-2023-42116?

No, authentication is not required to exploit this vulnerability.

3

What is the severity of CVE-2023-42116?

CVE-2023-42116 has a severity rating of 8.1 (high).

4

Which versions of Exim are affected by CVE-2023-42116?

Versions 4.90.1-1ubuntu1.10+ to 4.96.1 of Exim are affected by CVE-2023-42116.

5

How do I fix CVE-2023-42116?

To fix CVE-2023-42116, update your Exim installation to version 4.90.1-1ubuntu1.10+ or higher.

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