cve.bz

CVE-2023-42118 libspf2 project libspf2: Integer Underflow (Wrap or Wraparound)

8.8 highEPSS 8.4%

High (8.8) in libspf2 project libspf2. EPSS 8.4% estimated probability of exploitation activity in the next 30 days.

On this page
Exim libspf2 Integer Underflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Exim libspf2. Authentication is not required to exploit this vulnerability. The specific flaw exists within the parsing of SPF macros. When parsing SPF macros, the process does not properly validate user-supplied data, which can result in an integer underflow before writing to memory. An attacker can leverage this vulnerability to execute code in the context of the service account. . Was ZDI-CAN-17578.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
8.4% (unchanged from 8.4% a week ago; 8.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th 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-03. 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-191 Integer Underflow (Wrap or Wraparound)
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-42118 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-42118?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-42118?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-42118 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 CNA's record in the CVE List.

ProductAffected
Exim libspf2exim 4.96-RC0-14-24b8ed847-XX

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14libspf2no fix listedDEBIAN-CVE-2023-42118
Ubuntu20.04:LTSlibspf2no fix listedUBUNTU-CVE-2023-42118
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 4 moreexim4, libspf2no fix listedUBUNTU-CVE-2023-42118
UbuntuPro:14.04:LTS, Pro:20.04:LTSexim4no fix listedUBUNTU-CVE-2023-42118
Alpinev3.18, v3.19, v3.20 and 4 morelibspf21.2.11-r3ALPINE-CVE-2023-42118

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 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 · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

The vulnerable package libspf2 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-42118.

References

Check your stackJSON