CVE-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 a segmentation fault on 32-bit
02 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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 4.46% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 91.3% of scored records. A rank, not a probability.
- NVD base score
- 7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-10-14.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2021-11-15 00:00Z4 YR AGO
- Last updated
- 2026-10-14 11:53Z15 DAYS AGO
- Reserved
- 2021-11-15
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-190Integer Overflow or WraparoundBase
- Data version
- 5.2
- Document digest
- 3b7d5642ec03077de8aef04a63be34dbb1cc446487bc229e5515eebd1b26f512
05 Affected products
06 References
- gmplib.orghttps://gmplib.org/list-archives/gmp-bugs/2021-September/005077.html
- bugs.debian.orghttps://bugs.debian.org/994405
- gmplib.orghttps://gmplib.org/repo/gmp-6.2/rev/561a9c25298e
- lists.debian.org[debian-lts-announce] 20211202 [SECURITY] [DLA 2837-1] gmp security updatehttps://lists.debian.org/debian-lts-announce/2021/12/msg00001.html
- www.openwall.com[oss-security] 20221013 Re: sagemath denial of service with abort() in gmp: overflow in mpz typehttp://www.openwall.com/lists/oss-security/2022/10/13/3
- seclists.org20221016 Re: over 2000 packages depend on abort()ing libgmphttp://seclists.org/fulldisclosure/2022/Oct/8
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20221111-0001/
- security.gentoo.orgGLSA-202309-13https://security.gentoo.org/glsa/202309-13
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-398330.html
07 Fixed in
AlmaLinux 8
- gmp Fixed in 1:6.1.2-11.el8
- gmp-c++ Fixed in 1:6.1.2-11.el8
- gmp-devel Fixed in 1:6.1.2-11.el8
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
AlmaLinux 9
- gmp Fixed in 1:6.2.0-13.el9
- gmp-c++ Fixed in 1:6.2.0-13.el9
- gmp-devel Fixed in 1:6.2.0-13.el9
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Arch Linux
- gmp Not affected
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
CloudLinux 8
- gmp Fixed in 1:6.1.2-11.el8
- gmp-c++ Fixed in 1:6.1.2-11.el8
- gmp-devel Fixed in 1:6.1.2-11.el8
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 9
- gmp Fixed in 1:6.2.0-13.el9
- gmp-c++ Fixed in 1:6.2.0-13.el9
- gmp-devel Fixed in 1:6.2.0-13.el9
Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- gmp Fixed in 2:6.2.1+dfsg-3
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- gmp Fixed in 2:6.2.1+dfsg-3
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- gmp Fixed in 2:6.2.1+dfsg-3
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- gmp Fixed in 2:6.1.2+dfsg-2ubuntu0.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- gmp Fixed in 2:6.2.0+dfsg-4ubuntu0.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- gmp Fixed in 2:5.1.3+dfsg-1ubuntu1+esm1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- gmp Fixed in 2:6.1.0+dfsg-2ubuntu0.1~esm1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.