{"id":"USN-6402-1","summary":"libtommath vulnerability","details":"It was discovered that LibTomMath incorrectly handled certain inputs.\nAn attacker could possibly use this issue to execute arbitrary code\nand cause a denial of service (DoS).\n","modified":"2026-02-10T04:43:20Z","published":"2023-10-02T14:27:58Z","related":["UBUNTU-CVE-2023-36328"],"upstream":["CVE-2023-36328","UBUNTU-CVE-2023-36328"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6402-1"},{"type":"REPORT","url":"https://ubuntu.com/security/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":{"binaries":[{"binary_name":"libtommath-dev","binary_version":"0.42.0-1.2ubuntu0.1~esm1"},{"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"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2023-36328","severity":[{"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":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:Pro:16.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6402-1.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":{"binaries":[{"binary_name":"libtommath-dev","binary_version":"1.0.1-1ubuntu0.1~esm1"},{"binary_name":"libtommath-docs","binary_version":"1.0.1-1ubuntu0.1~esm1"},{"binary_name":"libtommath1","binary_version":"1.0.1-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2023-36328","severity":[{"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":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:Pro:18.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6402-1.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":{"binaries":[{"binary_name":"libtommath-dev","binary_version":"1.2.0-3ubuntu0.1"},{"binary_name":"libtommath1","binary_version":"1.2.0-3ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2023-36328","severity":[{"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":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:20.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6402-1.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":"libtommath-dev","binary_version":"1.2.0-6ubuntu0.22.04.1"},{"binary_name":"libtommath1","binary_version":"1.2.0-6ubuntu0.22.04.1"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2023-36328","severity":[{"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":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:22.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6402-1.json"}}],"schema_version":"1.7.3"}