cve.bz

CVE-2023-42116 exim exim: Stack-based Buffer Overflow

9.8 criticalEPSS 3.8%

Critical (9.8) in exim exim. EPSS 3.8% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
3.8% (unchanged from 3.8% a week ago; 3.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 90th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-07-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-121 Stack-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-42116 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-42116?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-42116?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-42116 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
exim:eximbefore 4.96.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10exim44.92-8+deb10u8DLA-3599-1
Debian11exim44.94.2-7+deb11u1DSA-5512-1
Debian12exim44.96-15+deb12u2DEBIAN-CVE-2023-42116 DSA-5512-1
Debian13, 14exim44.97~RC1-2DEBIAN-CVE-2023-42116
Ubuntu20.04:LTSexim44.93-13ubuntu1.8UBUNTU-CVE-2023-42116 USN-6411-1
Ubuntu22.04:LTSexim44.95-4ubuntu2.3UBUNTU-CVE-2023-42116 USN-6411-1
UbuntuPro:14.04:LTSexim44.82-3ubuntu2.4+esm6UBUNTU-CVE-2023-42116 USN-6411-1
UbuntuPro:16.04:LTSexim44.86.2-2ubuntu2.6+esm4UBUNTU-CVE-2023-42116 USN-6411-1
UbuntuPro:18.04:LTSexim44.90.1-1ubuntu1.10+esm1UBUNTU-CVE-2023-42116 USN-6411-1
SUSEPackage Hub 15 SP4, Package Hub 15 SP5exim4.94.2-bp155.5.3.1openSUSE-SU-2023:0293-1
SUSEPackage Hub 15 SP5exim4.97.1-bp155.5.9.1openSUSE-SU-2024:0007-1
openSUSELeap 15.4, Leap 15.5exim4.94.2-bp155.5.3.1openSUSE-SU-2023:0293-1
openSUSELeap 15.5exim4.97.1-bp155.5.9.1openSUSE-SU-2024:0007-1
openSUSETumbleweedexim4.96.1-1.1openSUSE-SU-2024:13282-1
Alpinev3.17, v3.18, v3.19 and 5 moreexim4.96.1-r0ALPINE-CVE-2023-42116

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

The vulnerable package Exim is not shipped in any Red Hat products.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-42116.

References

Check your stackJSON