# JLSEC-2026-1168: GMP has an integer overflow with crafted inputs on 32-bit builds in `int_raw.c`, leading to buffer overflow

- Severity: High 7.5 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-08-05T21:11:23.872Z
- Modified: 2026-12-01T20:15:02.447Z
- Related: CVE-2021-43618

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

(As written by Julia Security Advisories.)

## Affected

- GMP_jll (Julia): before 6.2.1+2

## Every score

- Julia Security Advisories: CVSS:2.0 `AV:N/AC:L/Au:N/C:N/I:N/A:P`
- Julia Security Advisories: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

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

## Sources

- Julia Security Advisories: [JLSEC-2026-1168](https://osv.dev/vulnerability/JLSEC-2026-1168), CC-BY-4.0, modified 2026-12-01

---

Page: https://cve.day/JLSEC-2026-1168 · Whole record: https://cve.day/JLSEC-2026-1168.json · Rebuilt by cve.day 2026-12-01T20:37:24.759Z
