CVE-2021-43618 Integer overflow in n/a

High 7.5 Published Updated

Crafted input triggers an integer overflow in GMP, causing a segmentation fault and denial of service on 32-bit platforms.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-43618?

CVE-2021-43618 is a high-severity vulnerability in Debian Debian Linux, published on 15 Nov 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-190

Which versions are affected by CVE-2021-43618?

It affects 8 products.

Linux distribution packages (40)
gmp AlmaLinux:8All versions1:6.1.2-11.el8
gmp-c++ AlmaLinux:8All versions1:6.1.2-11.el8
gmp-devel AlmaLinux:8All versions1:6.1.2-11.el8
gmp AlmaLinux:9All versions1:6.2.0-13.el9
gmp-c++ AlmaLinux:9All versions1:6.2.0-13.el9
gmp-devel AlmaLinux:9All versions1:6.2.0-13.el9
gmp Red Hat:enterprise_linux:8::baseosAll versions1:6.1.2-11.el8
gmp-c++ Red Hat:enterprise_linux:8::baseosAll versions1:6.1.2-11.el8
gmp-c++-debuginfo Red Hat:enterprise_linux:8::baseosAll versions1:6.1.2-11.el8
gmp-debuginfo Red Hat:enterprise_linux:8::baseosAll versions1:6.1.2-11.el8
gmp-debugsource Red Hat:enterprise_linux:8::baseosAll versions1:6.1.2-11.el8
gmp-devel Red Hat:enterprise_linux:8::baseosAll versions1:6.1.2-11.el8
gmp-c++ Red Hat:enterprise_linux:9::appstreamAll versions1:6.2.0-13.el9
gmp-c++-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions1:6.2.0-13.el9
gmp-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions1:6.2.0-13.el9
gmp-debugsource Red Hat:enterprise_linux:9::appstreamAll versions1:6.2.0-13.el9
gmp-devel Red Hat:enterprise_linux:9::appstreamAll versions1:6.2.0-13.el9
gmp Red Hat:enterprise_linux:9::baseosAll versions1:6.2.0-13.el9
gmp-c++-debuginfo Red Hat:enterprise_linux:9::baseosAll versions1:6.2.0-13.el9
gmp-debuginfo Red Hat:enterprise_linux:9::baseosAll versions1:6.2.0-13.el9
gmp-debugsource Red Hat:enterprise_linux:9::baseosAll versions1:6.2.0-13.el9
gmp Red Hat:rhel_eus:8.6::baseosAll versions1:6.1.2-11.el8_6.1
gmp-c++ Red Hat:rhel_eus:8.6::baseosAll versions1:6.1.2-11.el8_6.1
gmp-c++-debuginfo Red Hat:rhel_eus:8.6::baseosAll versions1:6.1.2-11.el8_6.1
gmp-debuginfo Red Hat:rhel_eus:8.6::baseosAll versions1:6.1.2-11.el8_6.1
gmp-debugsource Red Hat:rhel_eus:8.6::baseosAll versions1:6.1.2-11.el8_6.1
gmp-devel Red Hat:rhel_eus:8.6::baseosAll versions1:6.1.2-11.el8_6.1
gmp Red Hat:rhel_eus:8.8::baseosAll versions1:6.1.2-11.el8_8.1
gmp-c++ Red Hat:rhel_eus:8.8::baseosAll versions1:6.1.2-11.el8_8.1
gmp-c++-debuginfo Red Hat:rhel_eus:8.8::baseosAll versions1:6.1.2-11.el8_8.1
gmp-debuginfo Red Hat:rhel_eus:8.8::baseosAll versions1:6.1.2-11.el8_8.1
gmp-debugsource Red Hat:rhel_eus:8.8::baseosAll versions1:6.1.2-11.el8_8.1
gmp-devel Red Hat:rhel_eus:8.8::baseosAll versions1:6.1.2-11.el8_8.1
gmp Rocky Linux:9All versions1:6.2.0-13.el9
gmp SUSE:Linux Enterprise Micro 5.0All versions6.1.2-4.9.1
gmp SUSE:Linux Enterprise Micro 5.1All versions6.1.2-4.9.1
gmp SUSE:Linux Enterprise Module for Basesystem 15 SP2All versions6.1.2-4.9.1
gmp SUSE:Linux Enterprise Module for Basesystem 15 SP3All versions6.1.2-4.9.1
gmp SUSE:Linux Enterprise Module for Development Tools 15 SP2All versions6.1.2-4.9.1
gmp SUSE:Linux Enterprise Module for Development Tools 15 SP3All versions6.1.2-4.9.1

Products include Debian Debian Linux, Gmplib Gmp, Netapp Active Iq Unified Manager, Netapp H300s Firmware, Netapp H410c Firmware, Netapp H410s Firmware and 2 more.

How do I fix CVE-2021-43618?

Upgrade to a fixed version.

Is CVE-2021-43618 being exploited?

There is no known exploitation of CVE-2021-43618 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2021-43618, ALSA-2023:6661, ALSA-2024:3214, AZL-6444, CLEANSTART-2024-FU19222, CLSA-2024-1711477070 and 21 more.

Is CVE-2021-43618 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free