{"id":"UBUNTU-CVE-2023-36328","details":"Integer Overflow vulnerability in mp_grow in libtom libtommath before commit beba892bc0d4e4ded4d667ab1d2a94f4d75109a9, allows attackers to execute arbitrary code and cause a denial of service (DoS).","modified":"2026-04-22T16:47:56.758788Z","published":"2023-09-01T16:15:00Z","related":["USN-6402-1","USN-6402-2"],"upstream":["CVE-2023-36328"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-36328"},{"type":"REPORT","url":"https://github.com/libtom/libtommath/pull/546"},{"type":"REPORT","url":"https://github.com/libtom/libtommath/commit/beba892bc0d4e4ded4d667ab1d2a94f4d75109a9"},{"type":"REPORT","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3H2PFUTBKQUDSOJXQQS7LUSZQWT3JTW2/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6402-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6402-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-36328"}],"affected":[{"package":{"name":"libtommath","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libtommath@0.42.0-1.2ubuntu0.1~esm1?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.42.0-1.2ubuntu0.1~esm1"}]}],"versions":["0.42.0-1.2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"libtommath-docs","binary_version":"0.42.0-1.2ubuntu0.1~esm1"},{"binary_name":"libtommath0","binary_version":"0.42.0-1.2ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-36328.json"}},{"package":{"name":"libtommath","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/libtommath@1.0.1-1ubuntu0.1~esm1?arch=source&distro=esm-infra/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.1-1ubuntu0.1~esm1"}]}],"versions":["1.0-4","1.0.1-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"1.0.1-1ubuntu0.1~esm1","binary_name":"libtommath-docs"},{"binary_name":"libtommath1","binary_version":"1.0.1-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-36328.json"}},{"package":{"name":"libtommath","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libtommath@1.2.0-3ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.0-3ubuntu0.1"}]}],"versions":["1.1.0-3","1.2.0-1","1.2.0-2","1.2.0-3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libtommath1","binary_version":"1.2.0-3ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-36328.json"}},{"package":{"name":"libtommath","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libtommath@1.2.0-6ubuntu0.22.04.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.0-6ubuntu0.22.04.1"}]}],"versions":["1.2.0-6build1","1.2.0-6build2","1.2.0-6build3"],"ecosystem_specific":{"binaries":[{"binary_name":"libtommath1","binary_version":"1.2.0-6ubuntu0.22.04.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-36328.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:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}