{"id":"UBUNTU-CVE-2021-43618","details":"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.","modified":"2026-04-22T13:02:20.738375Z","published":"2021-11-15T04:15:00Z","related":["USN-5672-1","USN-5672-2"],"upstream":["CVE-2021-43618"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-43618"},{"type":"REPORT","url":"https://gmplib.org/list-archives/gmp-bugs/2021-September/005077.html"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5672-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5672-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-43618"}],"affected":[{"package":{"name":"gmp","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/gmp@2:5.1.3+dfsg-1ubuntu1+esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:5.1.3+dfsg-1ubuntu1+esm1"}]}],"versions":["2:5.1.2+dfsg-2ubuntu1","2:5.1.2+dfsg-3ubuntu2","2:5.1.2+dfsg-3ubuntu3","2:5.1.3+dfsg-1ubuntu1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"libgmp10","binary_version":"2:5.1.3+dfsg-1ubuntu1+esm1"},{"binary_name":"libgmpxx4ldbl","binary_version":"2:5.1.3+dfsg-1ubuntu1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-43618.json"}},{"package":{"name":"gmp","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/gmp@2:6.1.0+dfsg-2ubuntu0.1~esm1?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:6.1.0+dfsg-2ubuntu0.1~esm1"}]}],"versions":["2:6.0.0+dfsg-7","2:6.1.0+dfsg-2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"libgmp10","binary_version":"2:6.1.0+dfsg-2ubuntu0.1~esm1"},{"binary_name":"libgmpxx4ldbl","binary_version":"2:6.1.0+dfsg-2ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-43618.json"}},{"package":{"name":"gmp","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/gmp@2:6.1.2+dfsg-2ubuntu0.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:6.1.2+dfsg-2ubuntu0.1"}]}],"versions":["2:6.1.2+dfsg-1","2:6.1.2+dfsg-2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libgmp10","binary_version":"2:6.1.2+dfsg-2ubuntu0.1"},{"binary_name":"libgmpxx4ldbl","binary_version":"2:6.1.2+dfsg-2ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-43618.json"}},{"package":{"name":"gmp","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/gmp@2:6.2.0+dfsg-4ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:6.2.0+dfsg-4ubuntu0.1"}]}],"versions":["2:6.1.2+dfsg-4","2:6.2.0+dfsg-3","2:6.2.0+dfsg-4"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libgmp10","binary_version":"2:6.2.0+dfsg-4ubuntu0.1"},{"binary_name":"libgmpxx4ldbl","binary_version":"2:6.2.0+dfsg-4ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-43618.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]}