{"schemaVersion":3,"id":"CVE-2023-36328","aliases":["MGASA-2023-0265","UBUNTU-CVE-2023-36328","USN-6402-1","DEBIAN-CVE-2023-36328","DLA-3857-1"],"status":"published","duplicateOf":null,"title":null,"description":"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).","dates":{"published":"2023-09-01T00:00:00.000Z","modified":"2025-06-26T13:55:14.341Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01265,"percentile":0.69327,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01265},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01265,"percentile":0.69327}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01265,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01265,"percentile":0.69327}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-190","name":"Integer Overflow or Wraparound","description":"The product performs a calculation that can\n         produce an integer overflow or wraparound when the logic\n         assumes that the resulting value will always be larger than\n         the original value. This occurs when an integer value is\n         incremented to a value that is too large to store in the\n         associated representation. When this occurs, the value may\n         become a very small or negative number.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/190.html"}],"affected":[{"vendor":"debian","product":"libtommath","name":"libtommath","label":"libtommath","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libtommath","purlType":"deb","versions":[{"text":"< 1.2.0-6+deb12u1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.2.1-1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.2.0-6+deb11u1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.0-6+deb12u1 | < 1.2.1-1 | < 1.2.0-6+deb11u1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libtommath","name":"libtommath","label":"libtommath","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libtommath","purlType":"deb","versions":[{"text":"< 0.42.0-1.2ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.0.1-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.2.0-3ubuntu0.1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.2.0-6ubuntu0.22.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.42.0-1.2ubuntu0.1~esm1 | < 1.0.1-1ubuntu0.1~esm1 | < 1.2.0-3ubuntu0.1 | < 1.2.0-6ubuntu0.22.04.1","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"37","noFixRecorded":false,"fixedIn":null},{"text":"38","noFixRecorded":false,"fixedIn":null},{"text":"39","noFixRecorded":false,"fixedIn":null}],"versionsText":"37 | 38 | 39","eol":{"isEol":true,"eolDate":"2023-12-05T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"37","label":"37","eolFrom":"2023-12-05T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"libtom","product":"libtommath","name":"libtommath","label":"libtommath","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.1","eol":null,"hubHref":"/vendor/libtom/libtommath"},{"vendor":"mageia","product":"libtommath","name":"libtommath","label":"libtommath","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/libtommath","purlType":"rpm","versions":[{"text":"< 1.2.1-1.mga8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.1-1.mga8","eol":null,"hubHref":null},{"vendor":"mageia","product":"libtommath","name":"libtommath","label":"libtommath","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/libtommath","purlType":"rpm","versions":[{"text":"< 1.2.1-1.mga9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.1-1.mga9","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/libtom/libtommath/pull/546","label":"github.com/libtom/libtommath/pull/546","hostname":"github.com","tags":["WEB","REPORT","Issue Tracking","Patch"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3H2PFUTBKQUDSOJXQQS7LUSZQWT3JTW2/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6ZUPWZGPFJ4JOI2NIP7YLRKZD5YXQTBK/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/46GORAXZ34MHQNUGJBKS7PJ5NSMIAJGC/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","Mailing List","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00011.html","label":"lists.debian.org/debian-lts-announce/2024/09/msg00011.html","hostname":"lists.debian.org","tags":[]},{"url":"https://advisories.mageia.org/MGASA-2023-0265.html","label":"advisories.mageia.org/MGASA-2023-0265.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=32247","label":"bugs.mageia.org/show_bug.cgi?id=32247","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2023-36328","label":"ubuntu.com/security/CVE-2023-36328","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://github.com/libtom/libtommath/commit/beba892bc0d4e4ded4d667ab1d2a94f4d75109a9","label":"github.com/libtom/libtommath/commit/beba892bc0d4e4ded4d667ab1d2a94f4d75109a9","hostname":"github.com","tags":["REPORT"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3H2PFUTBKQUDSOJXQQS7LUSZQWT3JTW2/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6402-1","label":"ubuntu.com/security/notices/USN-6402-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-6402-2","label":"ubuntu.com/security/notices/USN-6402-2","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-36328","label":"www.cve.org/CVERecord?id=CVE-2023-36328","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-36328","label":"security-tracker.debian.org/tracker/CVE-2023-36328","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-36328","label":"nvd.nist.gov/vuln/detail/CVE-2023-36328","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["USN-6402-2"]},"timeline":[{"kind":"published","date":"2023-09-01T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-06-26T13:55:14.341Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T00:31:14.274Z","stale":false,"partial":false}}