CVE & CISA-KEV Catalog

CVE-2023-42116

CRITICALEPSS 86th pctl
9.8
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
exim4Debian
Fixed in:4.94.2-7+deb11u1CVE-2023-42116
Fixed in:4.96-15+deb12u2CVE-2023-42116
Fixed in:4.97~RC1-2CVE-2023-42116
Fixed in:4.97~RC1-2CVE-2023-42116
exim4Ubuntu
Fixed in:4.82-3ubuntu2.4+esm6USN-6411-1
Fixed in:4.86.2-2ubuntu2.6+esm4USN-6411-1
Fixed in:4.90.1-1ubuntu1.10+esm1USN-6411-1
Fixed in:4.93-13ubuntu1.8USN-6411-1
Fixed in:4.95-4ubuntu2.3USN-6411-1
Fixed in:4.96-14ubuntu1.2USN-6411-1
exim4-baseUbuntu
Fixed in:4.82-3ubuntu2.4+esm6USN-6411-1
Fixed in:4.86.2-2ubuntu2.6+esm4USN-6411-1
Fixed in:4.90.1-1ubuntu1.10+esm1USN-6411-1
Fixed in:4.93-13ubuntu1.8USN-6411-1
Fixed in:4.95-4ubuntu2.3USN-6411-1
Fixed in:4.96-14ubuntu1.2USN-6411-1
exim4-daemon-heavyUbuntu
Fixed in:4.82-3ubuntu2.4+esm6USN-6411-1
Fixed in:4.86.2-2ubuntu2.6+esm4USN-6411-1
Fixed in:4.90.1-1ubuntu1.10+esm1USN-6411-1
Fixed in:4.93-13ubuntu1.8USN-6411-1
Fixed in:4.95-4ubuntu2.3USN-6411-1
Fixed in:4.96-14ubuntu1.2USN-6411-1
exim4-daemon-lightUbuntu
Fixed in:4.82-3ubuntu2.4+esm6USN-6411-1
Fixed in:4.86.2-2ubuntu2.6+esm4USN-6411-1
Fixed in:4.90.1-1ubuntu1.10+esm1USN-6411-1
Fixed in:4.93-13ubuntu1.8USN-6411-1
Fixed in:4.95-4ubuntu2.3USN-6411-1
Fixed in:4.96-14ubuntu1.2USN-6411-1
eximon4Ubuntu
Fixed in:4.82-3ubuntu2.4+esm6USN-6411-1
Fixed in:4.86.2-2ubuntu2.6+esm4USN-6411-1
Fixed in:4.90.1-1ubuntu1.10+esm1USN-6411-1
Fixed in:4.93-13ubuntu1.8USN-6411-1
Fixed in:4.95-4ubuntu2.3USN-6411-1
Fixed in:4.96-14ubuntu1.2USN-6411-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

3.16%probability of exploitation in 30 days
86thpercentile

Elevated risk: more likely to be exploited than 86% of all known CVEs.

References

Third-Party Advisory1
Other references1

Related Vulnerabilities

Other CWE-121 (Stack-based Buffer Overflow) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-22457Critical9.0100%KEV + RansomFix
CVE-2025-0282Critical9.0100%KEV + Ransom-
CVE-2021-20038Critical9.8100%KEV + Ransom-
CVE-2009-0927High8.897%KEVFix
CVE-2020-10924High8.887%--
CVE-2022-20705Critical10.080%--
Embed a live status badge for CVE-2023-42116
CVE-2023-42116 severity badge

Markdown

[![CVE-2023-42116](https://tridentstack.com/cve/badge/CVE-2023-42116.svg)](https://tridentstack.com/cve/CVE-2023-42116)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-42116"><img src="https://tridentstack.com/cve/badge/CVE-2023-42116.svg" alt="CVE-2023-42116"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-04.