CVE-2021-43618Integer Overflow or Wraparound in GMP

Severity
7.5HIGHNVD
EPSS
0.5%
top 35.81%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedNov 15
Latest updateMar 6

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages5 packages

debiandebian/gmp< gmp 2:6.2.1+dfsg-3 (bookworm)
Debiangmplib/gmp< 2:6.2.1+dfsg-1+deb11u1+3
NVDgmplib/gmp6.2.1

Also affects: Debian Linux 9.0

Patches

🔴Vulnerability Details

2
GHSA
GHSA-mfg4-w44m-wr4g: GNU Multiple Precision Arithmetic Library (GMP) through 62022-05-24
OSV
CVE-2021-43618: GNU Multiple Precision Arithmetic Library (GMP) through 62021-11-15

📋Vendor Advisories

5
Ubuntu
GMP vulnerability2023-03-06
Ubuntu
GMP vulnerability2022-10-12
Red Hat
gmp: Integer overflow and resultant buffer overflow via crafted input2021-11-15
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.2021-11-09
Debian
CVE-2021-43618: gmp - GNU Multiple Precision Arithmetic Library (GMP) through 6.2.1 has an mpz/inp_raw...2021