Integer Overflow or Wraparound Affecting gmp-c++ package, versions <1:6.1.2-11.el8


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
4.46% (92nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX8-GMPC-7166844
  • published30 May 2024
  • disclosed7 Nov 2023

Introduced: 7 Nov 2023

CVE-2021-43618  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 gmp-c++ to version 1:6.1.2-11.el8 or higher.
This issue was patched in ALSA-2024:3214.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gmp-c++ package and not the gmp-c++ package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1