---
id: CVE-2021-43618
title: >-
  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.
summary: >-
  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.
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-190
vendor: gmplib
product: gmp
affected:
  - gmp <= 6.2.1
  - debian_linux = 9.0
  - active_iq_unified_manager
  - h300s_firmware
  - h500s_firmware
  - h700s_firmware
  - h410s_firmware
  - h410c_firmware
published: '2021-11-15'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T12:17:16.350'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2021-43618'
references:
  - url: 'http://seclists.org/fulldisclosure/2022/Oct/8'
    label: cve@mitre.org
  - url: 'http://www.openwall.com/lists/oss-security/2022/10/13/3'
    label: cve@mitre.org
  - url: 'https://bugs.debian.org/994405'
    label: cve@mitre.org
  - url: 'https://gmplib.org/list-archives/gmp-bugs/2021-September/005077.html'
    label: cve@mitre.org
  - url: 'https://gmplib.org/repo/gmp-6.2/rev/561a9c25298e'
    label: cve@mitre.org
  - url: 'https://lists.debian.org/debian-lts-announce/2021/12/msg00001.html'
    label: cve@mitre.org
  - url: 'https://security.gentoo.org/glsa/202309-13'
    label: cve@mitre.org
  - url: 'https://security.netapp.com/advisory/ntap-20221111-0001/'
    label: cve@mitre.org
  - url: 'http://seclists.org/fulldisclosure/2022/Oct/8'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.openwall.com/lists/oss-security/2022/10/13/3'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://bugs.debian.org/994405'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://gmplib.org/list-archives/gmp-bugs/2021-September/005077.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://gmplib.org/repo/gmp-6.2/rev/561a9c25298e'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2021/12/msg00001.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.gentoo.org/glsa/202309-13'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20221111-0001/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
epss: 0.03712
epssPercentile: 0.89524
ingestedAt: '2026-10-14T12:29:10.828Z'
---

## Overview

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

- `gmp <= 6.2.1`
- `debian_linux = 9.0`
- `active_iq_unified_manager`
- `h300s_firmware`
- `h500s_firmware`
- `h700s_firmware`
- `h410s_firmware`
- `h410c_firmware`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
