Integer overflow in Gmplib Gmp
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 platforms.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.045, 91.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 5 other repositories (ARPSyndicate/cvemon, flexiondotorg/CNCF-02, kenlavbah/log4jnotes, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- gmplib.org/list-archives/gmp-bugs/2021-September/005077.html (Exploit, Third Party Advisory)
- bugs.debian.org/994405 (Mailing List, Third Party Advisory)
- gmplib.org/repo/gmp-6.2/rev/561a9c25298e (Patch, Third Party Advisory)
- [debian-lts-announce] 20211202 [SECURITY] [DLA 2837-1] gmp security update (mailing-list, Mailing List, Third Party Advisory)
- [oss-security] 20221013 Re: sagemath denial of service with abort() in gmp: overflow in mpz type (mailing-list, Mailing List, Third Party Advisory)
- 20221016 Re: over 2000 packages depend on abort()ing libgmp (mailing-list, Mailing List, Third Party Advisory)
- security.netapp.com/advisory/ntap-20221111-0001/ (Third Party Advisory)
- GLSA-202309-13 (vendor-advisory)
- cert-portal.siemens.com/productcert/html/ssa-398330.html