CVE-2021-43618
published 2021-11-15CVE-2021-43618: 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…
PriorityP339high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
3.43%
87.7th percentile
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.
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | gmp | < gmp 2:6.2.1+dfsg-3 (bookworm) | gmp 2:6.2.1+dfsg-3 (bookworm) |
| gmplib | gmp | <= 6.2.1 | — |
| gmplib | gmp | >= 0 < 2:6.2.1+dfsg-1+deb11u1 | 2:6.2.1+dfsg-1+deb11u1 |
| gmplib | gmp | >= 0 < 2:6.2.1+dfsg-3 | 2:6.2.1+dfsg-3 |
| gmplib | gmp | >= 0 < 2:6.2.1+dfsg-3 | 2:6.2.1+dfsg-3 |
| gmplib | gmp | >= 0 < 2:6.2.1+dfsg-3 | 2:6.2.1+dfsg-3 |
| msrc | cbl2_gmp_6.2.1-2_on_cbl_mariner_2.0 | — | — |
| msrc | cm1_gmp_6.1.2-6_on_cbl_mariner_1.0 | — | — |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv7.5HIGH
vendor_debian7.5HIGH
vendor_msrc7.5HIGH
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-mfg4-w44m-wr4g: GNU Multiple Precision Arithmetic Library (GMP) through 6
ghsa_unreviewed·2022-05-24
CVE-2021-43618 [HIGH] CWE-190 GHSA-mfg4-w44m-wr4g: GNU Multiple Precision Arithmetic Library (GMP) through 6
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.
OSV
CVE-2021-43618: GNU Multiple Precision Arithmetic Library (GMP) through 6
osv·2021-11-15·CVSS 7.5
CVE-2021-43618 [HIGH] CVE-2021-43618: GNU Multiple Precision Arithmetic Library (GMP) through 6
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.
Ubuntu
GMP vulnerability
vendor_ubuntu·2023-03-06
CVE-2021-43618 GMP vulnerability
Title: GMP vulnerability
Summary: GMP could be made to crash if it received specially crafted
input.
USN-5672-1 fixed a vulnerability in GMP. This update provides
the corresponsing update for Ubuntu 14.04 ESM.
Original advisory details:
It was discovered that GMP did not properly manage memory
on 32-bit platforms when processing a specially crafted
input. An attacker could possibly use this issue to cause
applications using GMP to crash, resulting in a denial of
service.
Instructions: In general, a standard system update will make all the necessary changes.
Ubuntu
GMP vulnerability
vendor_ubuntu·2022-10-12
CVE-2021-43618 GMP vulnerability
Title: GMP vulnerability
Summary: GMP could be made to crash if it received specially crafted
input.
It was discovered that GMP did not properly manage memory
on 32-bit platforms when processing a specially crafted
input. An attacker could possibly use this issue to cause
applications using GMP to crash, resulting in a denial of
service.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
gmp: Integer overflow and resultant buffer overflow via crafted input
vendor_redhat·2021-11-15·CVSS 7.5
CVE-2021-43618 [HIGH] CWE-190 gmp: Integer overflow and resultant buffer overflow via crafted input
gmp: Integer overflow and resultant buffer overflow via crafted input
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.
A flaw was found in gmp. An integer overflow vulnerability could allow an attacker to input an integer value leading to a crash. The highest threat from this vulnerability is to system availability.
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 e
Microsoft
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.
vendor_msrc·2021-11-09·CVSS 7.5
CVE-2021-43618 [HIGH] CWE-190 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.
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.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the
Debian
CVE-2021-43618: gmp - GNU Multiple Precision Arithmetic Library (GMP) through 6.2.1 has an mpz/inp_raw...
vendor_debian·2021·CVSS 7.5
CVE-2021-43618 [HIGH] CVE-2021-43618: gmp - GNU Multiple Precision Arithmetic Library (GMP) through 6.2.1 has an mpz/inp_raw...
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.
Scope: local
bookworm: resolved (fixed in 2:6.2.1+dfsg-3)
bullseye: resolved (fixed in 2:6.2.1+dfsg-1+deb11u1)
forky: resolved (fixed in 2:6.2.1+dfsg-3)
sid: resolved (fixed in 2:6.2.1+dfsg-3)
trixie: resolved (fixed in 2:6.2.1+dfsg-3)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
http://seclists.org/fulldisclosure/2022/Oct/8http://www.openwall.com/lists/oss-security/2022/10/13/3https://bugs.debian.org/994405https://gmplib.org/list-archives/gmp-bugs/2021-September/005077.htmlhttps://gmplib.org/repo/gmp-6.2/rev/561a9c25298ehttps://lists.debian.org/debian-lts-announce/2021/12/msg00001.htmlhttps://security.gentoo.org/glsa/202309-13https://security.netapp.com/advisory/ntap-20221111-0001/http://seclists.org/fulldisclosure/2022/Oct/8http://www.openwall.com/lists/oss-security/2022/10/13/3https://bugs.debian.org/994405https://gmplib.org/list-archives/gmp-bugs/2021-September/005077.htmlhttps://gmplib.org/repo/gmp-6.2/rev/561a9c25298ehttps://lists.debian.org/debian-lts-announce/2021/12/msg00001.htmlhttps://security.gentoo.org/glsa/202309-13https://security.netapp.com/advisory/ntap-20221111-0001/
2021-11-15
Published