cve.bz

CVE-2021-43618 Year 2038 problem, Y2K38, Y2038, Epochalypse

7.5 highExploit referenceEPSS 4.5%Fix available

High (7.5). EPSS 4.5% estimated probability of exploitation activity in the next 30 days.

On this page
GNU Multiple Precision Arithmetic Library (GMP) through 6.2.1 has an mpz/inp_raw.c integer overflow and resultant buffer overflow via crafted input, leading to a segmentation fault on 32-bit platforms.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
4.5% (unchanged from 4.5% a week ago; 4.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 92nd percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
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-2021-43618 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-43618?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-43618?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-2021-43618 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.

Badge for a README or a site

CVE-2021-43618

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2021-43618](https://cve.bz/cve/badge/CVE-2021-43618.svg)](https://cve.bz/cve/CVE-2021-43618)

HTML:

<a href="https://cve.bz/cve/CVE-2021-43618"><img src="https://cve.bz/cve/badge/CVE-2021-43618.svg" alt="CVE-2021-43618"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gmplib:gmpthrough 6.2.1
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9gmp2:6.1.2+dfsg-1+deb9u1DLA-2837-1
Debian12, 13, 14gmp2:6.2.1+dfsg-3DEBIAN-CVE-2021-43618
Ubuntu18.04:LTSgmp2:6.1.2+dfsg-2ubuntu0.1UBUNTU-CVE-2021-43618 USN-5672-1
Ubuntu20.04:LTSgmp2:6.2.0+dfsg-4ubuntu0.1UBUNTU-CVE-2021-43618 USN-5672-1
UbuntuPro:14.04:LTSgmp2:5.1.3+dfsg-1ubuntu1+esm1UBUNTU-CVE-2021-43618 USN-5672-2
UbuntuPro:16.04:LTSgmp2:6.1.0+dfsg-2ubuntu0.1~esm1UBUNTU-CVE-2021-43618 USN-5672-1
Red Hatenterprise_linux:8::baseosgmp, gmp-c++, gmp-devel and 3 more1:6.1.2-11.el8RHSA-2024:3214
Red Hatenterprise_linux:9::appstreamgmp-c++, gmp-devel, gmp-debuginfo and 2 more1:6.2.0-13.el9RHSA-2023:6661
Red Hatenterprise_linux:9::baseosgmp, gmp-debuginfo, gmp-debugsource and 1 more1:6.2.0-13.el9RHSA-2023:6661
Red Hatrhel_eus:8.6::baseosgmp, gmp-c++, gmp-devel and 3 more1:6.1.2-11.el8_6.1RHSA-2024:1102
Red Hatrhel_eus:8.8::baseosgmp, gmp-c++, gmp-devel and 3 more1:6.1.2-11.el8_8.1RHSA-2024:1412
SUSELinux Enterprise Micro 5.0, Linux Enterprise Micro 5.1, Linux Enterprise Module for Basesystem 15 SP2 and 3 moregmp6.1.2-4.9.1SUSE-SU-2021:3946-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5gmp5.1.3-4.3.1SUSE-SU-2021:3878-1
openSUSELeap 15.2gmp6.1.2-lp152.6.6.1openSUSE-SU-2021:1569-1
openSUSELeap 15.3gmp6.1.2-4.9.1openSUSE-SU-2021:3946-1
openSUSETumbleweedgmp6.2.1-4.1openSUSE-SU-2024:11636-1
AlmaLinux8gmp, gmp-c++, gmp-devel1:6.1.2-11.el8ALSA-2024:3214
AlmaLinux9gmp, gmp-c++, gmp-devel1:6.2.0-13.el9ALSA-2023:6661
Rocky Linux9gmp1:6.2.0-13.el9RLSA-2023:6661
Alpinev3.12, v3.13, v3.14 and 10 moregmp6.2.1-r1ALPINE-CVE-2021-43618
Azure Linux2gmp6.2.1-2AZL-6444

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Exploitation is only possible on 32-bit systems. The susceptible GMP package is not tethered to the network stack, so it can only be exploited via a file already on the local system. This can be achieved either by the attacker gaining local login credentials or alternatively; by tricking a user into loading then executing a malicious file. Because of these combined reasons Red Hat Product Security rates the impact as Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8gmp-1:6.1.2-11.el8Fixed 2024-05-22RHSA-2024:3214
Red Hat Enterprise Linux 8.6 Extended Update Supportgmp-1:6.1.2-11.el8_6.1Fixed 2024-03-05RHSA-2024:1102
Red Hat Enterprise Linux 8.8 Extended Update Supportgmp-1:6.1.2-11.el8_8.1Fixed 2024-03-19RHSA-2024:1412
Red Hat Enterprise Linux 9gmp-1:6.2.0-13.el9Fixed 2023-11-07RHSA-2023:6661
RHOL-5.6-RHEL-8openshift-logging/cluster-logging-operator-bundle:v5.6.18-16Fixed 2024-05-01RHSA-2024:2092
RHOL-5.6-RHEL-8openshift-logging/cluster-logging-rhel8-operator:v5.6.18-7Fixed 2024-05-01RHSA-2024:2092
RHOL-5.6-RHEL-8openshift-logging/elasticsearch6-rhel8:v6.8.1-409Fixed 2024-05-01RHSA-2024:2092
RHOL-5.6-RHEL-8openshift-logging/elasticsearch-operator-bundle:v5.6.18-16Fixed 2024-05-01RHSA-2024:2092
RHOL-5.6-RHEL-8openshift-logging/elasticsearch-proxy-rhel8:v1.0.0-481Fixed 2024-05-01RHSA-2024:2092
RHOL-5.6-RHEL-8openshift-logging/elasticsearch-rhel8-operator:v5.6.18-7Fixed 2024-05-01RHSA-2024:2092
RHOL-5.6-RHEL-8openshift-logging/eventrouter-rhel8:v0.4.0-246Fixed 2024-05-01RHSA-2024:2092
RHOL-5.6-RHEL-8openshift-logging/fluentd-rhel8:v1.14.6-216Fixed 2024-05-01RHSA-2024:2092
RHOL-5.6-RHEL-8openshift-logging/kibana6-rhel8:v6.8.1-430Fixed 2024-05-01RHSA-2024:2092
RHOL-5.6-RHEL-8openshift-logging/log-file-metric-exporter-rhel8:v1.1.0-226Fixed 2024-05-01RHSA-2024:2092
RHOL-5.6-RHEL-8openshift-logging/logging-curator5-rhel8:v5.8.1-472Fixed 2024-05-01RHSA-2024:2092
RHOL-5.6-RHEL-8openshift-logging/logging-loki-rhel8:v2.9.6-16Fixed 2024-05-01RHSA-2024:2092
RHOL-5.6-RHEL-8openshift-logging/logging-view-plugin-rhel8:v5.6.18-3Fixed 2024-05-01RHSA-2024:2092
RHOL-5.6-RHEL-8openshift-logging/loki-operator-bundle:v5.6.18-30Fixed 2024-05-01RHSA-2024:2092
Red Hat Enterprise Linux 6gmpOut of support scope
Red Hat Enterprise Linux 7gmpOut of support scope
22 more in the JSON and on Red Hat's page.

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-2021-43618.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON