{"schemaVersion":3,"id":"CVE-2016-9132","aliases":["UBUNTU-CVE-2016-9132","DLA-786-1"],"status":"published","duplicateOf":null,"title":null,"description":"In Botan 1.8.0 through 1.11.33, when decoding BER data an integer overflow could occur, which would cause an incorrect length field to be computed. Some API callers may use the returned (incorrect and attacker controlled) length field in a way which later causes memory corruption or other failure.","dates":{"published":"2017-01-30T22:00:00.000Z","modified":"2024-08-06T02:42:10.498Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true}]},"epss":{"probability":0.02321,"percentile":0.83311,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.68,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.01641},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0223,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0223,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0223,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0223,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02321,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02321,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02321,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02321,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02321,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02321,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02321,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.02321,"percentile":0.83311}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.01641,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01978,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0223,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0223,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0223,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0223,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02321,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02321,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02321,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02321,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02321,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02321,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02321,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.02321,"percentile":0.83311}]},"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":"botan_project","product":"botan","name":"botan","label":"botan","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.8.0","noFixRecorded":false,"fixedIn":null},{"text":"1.8.1","noFixRecorded":false,"fixedIn":null},{"text":"1.8.2","noFixRecorded":false,"fixedIn":null},{"text":"1.8.3","noFixRecorded":false,"fixedIn":null},{"text":"1.8.4","noFixRecorded":false,"fixedIn":null},{"text":"1.8.5","noFixRecorded":false,"fixedIn":null},{"text":"1.8.6","noFixRecorded":false,"fixedIn":null},{"text":"1.8.7","noFixRecorded":false,"fixedIn":null},{"text":"1.8.8","noFixRecorded":false,"fixedIn":null},{"text":"1.8.9","noFixRecorded":false,"fixedIn":null},{"text":"1.8.10","noFixRecorded":false,"fixedIn":null},{"text":"1.8.11","noFixRecorded":false,"fixedIn":null},{"text":"1.8.12","noFixRecorded":false,"fixedIn":null},{"text":"1.8.13","noFixRecorded":false,"fixedIn":null},{"text":"1.8.14","noFixRecorded":false,"fixedIn":null},{"text":"1.8.15","noFixRecorded":false,"fixedIn":null},{"text":"1.9.0","noFixRecorded":false,"fixedIn":null},{"text":"1.9.1","noFixRecorded":false,"fixedIn":null},{"text":"1.9.2","noFixRecorded":false,"fixedIn":null},{"text":"1.9.3","noFixRecorded":false,"fixedIn":null},{"text":"1.9.4","noFixRecorded":false,"fixedIn":null},{"text":"1.9.5","noFixRecorded":false,"fixedIn":null},{"text":"1.9.6","noFixRecorded":false,"fixedIn":null},{"text":"1.9.7","noFixRecorded":false,"fixedIn":null},{"text":"1.9.8","noFixRecorded":false,"fixedIn":null},{"text":"1.9.9","noFixRecorded":false,"fixedIn":null},{"text":"1.9.10","noFixRecorded":false,"fixedIn":null},{"text":"1.9.11","noFixRecorded":false,"fixedIn":null},{"text":"1.9.12","noFixRecorded":false,"fixedIn":null},{"text":"1.9.13","noFixRecorded":false,"fixedIn":null},{"text":"1.9.14","noFixRecorded":false,"fixedIn":null},{"text":"1.9.15","noFixRecorded":false,"fixedIn":null},{"text":"1.9.16","noFixRecorded":false,"fixedIn":null},{"text":"1.9.17","noFixRecorded":false,"fixedIn":null},{"text":"1.9.18","noFixRecorded":false,"fixedIn":null},{"text":"1.10.0","noFixRecorded":false,"fixedIn":null},{"text":"1.10.1","noFixRecorded":false,"fixedIn":null},{"text":"1.10.2","noFixRecorded":false,"fixedIn":null},{"text":"1.10.3","noFixRecorded":false,"fixedIn":null},{"text":"1.10.4","noFixRecorded":false,"fixedIn":null},{"text":"1.10.5","noFixRecorded":false,"fixedIn":null},{"text":"1.10.6","noFixRecorded":false,"fixedIn":null},{"text":"1.10.7","noFixRecorded":false,"fixedIn":null},{"text":"1.10.8","noFixRecorded":false,"fixedIn":null},{"text":"1.10.9","noFixRecorded":false,"fixedIn":null},{"text":"1.10.10","noFixRecorded":false,"fixedIn":null},{"text":"1.10.11","noFixRecorded":false,"fixedIn":null},{"text":"1.10.12","noFixRecorded":false,"fixedIn":null},{"text":"1.10.13","noFixRecorded":false,"fixedIn":null},{"text":"1.10.14","noFixRecorded":false,"fixedIn":null},{"text":"1.10.15","noFixRecorded":false,"fixedIn":null},{"text":"1.11.0","noFixRecorded":false,"fixedIn":null},{"text":"1.11.1","noFixRecorded":false,"fixedIn":null},{"text":"1.11.2","noFixRecorded":false,"fixedIn":null},{"text":"1.11.3","noFixRecorded":false,"fixedIn":null},{"text":"1.11.4","noFixRecorded":false,"fixedIn":null},{"text":"1.11.5","noFixRecorded":false,"fixedIn":null},{"text":"1.11.6","noFixRecorded":false,"fixedIn":null},{"text":"1.11.7","noFixRecorded":false,"fixedIn":null},{"text":"1.11.8","noFixRecorded":false,"fixedIn":null},{"text":"1.11.9","noFixRecorded":false,"fixedIn":null},{"text":"1.11.10","noFixRecorded":false,"fixedIn":null},{"text":"1.11.11","noFixRecorded":false,"fixedIn":null},{"text":"1.11.12","noFixRecorded":false,"fixedIn":null},{"text":"1.11.13","noFixRecorded":false,"fixedIn":null},{"text":"1.11.14","noFixRecorded":false,"fixedIn":null},{"text":"1.11.15","noFixRecorded":false,"fixedIn":null},{"text":"1.11.16","noFixRecorded":false,"fixedIn":null},{"text":"1.11.17","noFixRecorded":false,"fixedIn":null},{"text":"1.11.18","noFixRecorded":false,"fixedIn":null},{"text":"1.11.19","noFixRecorded":false,"fixedIn":null},{"text":"1.11.20","noFixRecorded":false,"fixedIn":null},{"text":"1.11.21","noFixRecorded":false,"fixedIn":null},{"text":"1.11.23","noFixRecorded":false,"fixedIn":null},{"text":"1.11.24","noFixRecorded":false,"fixedIn":null},{"text":"1.11.25","noFixRecorded":false,"fixedIn":null},{"text":"1.11.26","noFixRecorded":false,"fixedIn":null},{"text":"1.11.27","noFixRecorded":false,"fixedIn":null},{"text":"1.11.28","noFixRecorded":false,"fixedIn":null},{"text":"1.11.29","noFixRecorded":false,"fixedIn":null},{"text":"1.11.30","noFixRecorded":false,"fixedIn":null},{"text":"1.11.31","noFixRecorded":false,"fixedIn":null},{"text":"1.11.32","noFixRecorded":false,"fixedIn":null},{"text":"1.11.33","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.8.0 | 1.8.1 | 1.8.2 | 1.8.3 | 1.8.4 | 1.8.5 | 1.8.6 | 1.8.7 | 1.8.8 | 1.8.9 | 1.8.10 | 1.8.11 | 1.8.12 | 1.8.13 | 1.8.14 | 1.8.15 | 1.9.0 | 1.9.1 | 1.9.2 | 1.9.3 | 1.9.4 | 1.9.5 | 1.9.6 | 1.9.7 | 1.9.8 | 1.9.9 | 1.9.10 | 1.9.11 | 1.9.12 | 1.9.13 | 1.9.14 | 1.9.15 | 1.9.16 | 1.9.17 | 1.9.18 | 1.10.0 | 1.10.1 | 1.10.2 | 1.10.3 | 1.10.4 | 1.10.5 | 1.10.6 | 1.10.7 | 1.10.8 | 1.10.9 | 1.10.10 | 1.10.11 | 1.10.12 | 1.10.13 | 1.10.14 | 1.10.15 | 1.11.0 | 1.11.1 | 1.11.2 | 1.11.3 | 1.11.4 | 1.11.5 | 1.11.6 | 1.11.7 | 1.11.8 | 1.11.9 | 1.11.10 | 1.11.11 | 1.11.12 | 1.11.13 | 1.11.14 | 1.11.15 | 1.11.16 | 1.11.17 | 1.11.18 | 1.11.19 | 1.11.20 | 1.11.21 | 1.11.23 | 1.11.24 | 1.11.25 | 1.11.26 | 1.11.27 | 1.11.28 | 1.11.29 | 1.11.30 | 1.11.31 | 1.11.32 | 1.11.33","eol":null,"hubHref":"/vendor/botan_project/botan"},{"vendor":"debian","product":"botan1.10","name":"botan1.10","label":"botan1.10","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/botan1.10","purlType":"deb","versions":[{"text":"< 1.10.5-1+deb7u2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.10.5-1+deb7u2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"botan1.10","name":"botan1.10","label":"botan1.10","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/botan1.10","purlType":"deb","versions":[{"text":"< 1.10.5-1+deb7u1ubuntu0.14.04.1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"< 1.10.5-1+deb7u1ubuntu0.14.04.1+esm1 | All versions (No fix recorded)","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z2Y3JLMTE3VIV4X5X6SXVZTJBDDLCS3D/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://github.com/randombit/botan/commit/987ad747db6d0d7e36f840398f3cf02e2fbfd90f","label":"github.com/randombit/botan/commit/987ad747db6d0d7e36f840398f3cf02e2fbfd90f","hostname":"github.com","tags":["X Refsource CONFIRM","Patch"]},{"url":"http://www.securityfocus.com/bid/95879","label":"www.securityfocus.com/bid/95879","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4OUDGVRQYQUL7F5MRP3LAV7EHRJG4BBE/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://ubuntu.com/security/CVE-2016-9132","label":"ubuntu.com/security/CVE-2016-9132","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-9132","label":"www.cve.org/CVERecord?id=CVE-2016-9132","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["MGASA-2017-0321","OPENSUSE-SU-2024:10594-1","SUSE-SU-2017:1222-1","SUSE-SU-2017:1305-1","SUSE-SU-2017:1351-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:10594-1","SUSE-SU-2017:1222-1","SUSE-SU-2017:1305-1","SUSE-SU-2017:1351-1"]},"timeline":[{"kind":"published","date":"2017-01-30T22:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T02:42:10.498Z","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-22T07:49:15.513Z","stale":false,"partial":false}}