{"schemaVersion":3,"id":"CVE-2016-2226","aliases":["UBUNTU-CVE-2016-2226","DEBIAN-CVE-2016-2226"],"status":"published","duplicateOf":null,"title":null,"description":"Integer overflow in the string_appends function in cplus-dem.c in libiberty allows remote attackers to execute arbitrary code via a crafted executable, which triggers a buffer overflow.","dates":{"published":"2017-02-24T20:00:00.000Z","modified":"2024-08-05T23:24:48.604Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true}]},"epss":{"probability":0.07234,"percentile":0.94263,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":-0.032999999999999696,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.07267},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.07267,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.07267,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.07267,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.07267,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.07267,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.07267,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.07267,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.11761,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.07267,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.07267,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.07267,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.07267,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.07267,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.07267,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.07267,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.07267,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.07267,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.07267,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.07267,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.07234,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.07234,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.07234,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.07234,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.07234,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.07234,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.07234,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.07234,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.07234,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.07234,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.07234,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.07234,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.07234,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.07234,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.07234,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.07234,"percentile":0.94263}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.07267,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.07267,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.07267,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.11761,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.07267,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.07267,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.07267,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.07267,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.07267,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.07267,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.07267,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.07267,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.07267,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.07267,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.07267,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.07234,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.07234,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.07234,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.07234,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.07234,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.07234,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.07234,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.07234,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.07234,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.07234,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.07234,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.07234,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.07234,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.07234,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.07234,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.07234,"percentile":0.94263}]},"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":[{"id":"42386","name":"GNU libiberty - Buffer Overflow","source":"exploit-database","url":"https://www.exploit-db.com/exploits/42386","maturity":"poc","reliabilityScore":0.8,"verified":true,"type":"dos","platforms":["linux"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"dos","platform":"linux","file":"exploits/linux/dos/42386.txt","codes":["CVE-2016-2226"]},"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer","description":"The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/119.html"},{"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":"binutils","name":"binutils","label":"binutils","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/binutils","purlType":"deb","versions":[{"text":"< 2.27.51.20161102-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.27.51.20161102-1","eol":null,"hubHref":null},{"vendor":"debian","product":"ht","name":"ht","label":"ht","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/ht","purlType":"deb","versions":[{"text":"< 2.1.0+repack1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1.0+repack1-1","eol":null,"hubHref":null},{"vendor":"debian","product":"libiberty","name":"libiberty","label":"libiberty","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libiberty","purlType":"deb","versions":[{"text":"< 20161011-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 20161011-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"binutils","name":"binutils","label":"binutils","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/binutils","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 2.26.1-1ubuntu1~16.04.8+esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 2.26.1-1ubuntu1~16.04.8+esm1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"binutils-h8300-hms","name":"binutils-h8300-hms","label":"binutils-h8300-hms","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/binutils-h8300-hms","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"gcc-arm-none-eabi","name":"gcc-arm-none-eabi","label":"gcc-arm-none-eabi","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/gcc-arm-none-eabi","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"gcc-h8300-hms","name":"gcc-h8300-hms","label":"gcc-h8300-hms","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/gcc-h8300-hms","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"gccxml","name":"gccxml","label":"gccxml","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/gccxml","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"gdb","name":"gdb","label":"gdb","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/gdb","purlType":"deb","versions":[{"text":"< 7.7.1-0ubuntu5~14.04.3","noFixRecorded":false,"fixedIn":null},{"text":"< 7.11.1-0ubuntu1~16.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.7.1-0ubuntu5~14.04.3 | < 7.11.1-0ubuntu1~16.5","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ht","name":"ht","label":"ht","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ht","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libiberty","name":"libiberty","label":"libiberty","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libiberty","purlType":"deb","versions":[{"text":"< 20131116-1ubuntu0.2","noFixRecorded":false,"fixedIn":null},{"text":"< 20160215-1ubuntu0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 20131116-1ubuntu0.2 | < 20160215-1ubuntu0.2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"nescc","name":"nescc","label":"nescc","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/nescc","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"sdcc","name":"sdcc","label":"sdcc","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/sdcc","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"valgrind","name":"valgrind","label":"valgrind","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/valgrind","purlType":"deb","versions":[{"text":"< 1:3.10.1-1ubuntu3~14.5","noFixRecorded":false,"fixedIn":null},{"text":"< 1:3.11.0-1ubuntu4.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:3.10.1-1ubuntu3~14.5 | < 1:3.11.0-1ubuntu4.2","eol":null,"hubHref":null}],"affectedCount":14,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.exploit-db.com/exploits/42386/","label":"www.exploit-db.com/exploits/42386/","hostname":"www.exploit-db.com","tags":["Exploit","X Refsource EXPLOIT DB"]},{"url":"http://www.securityfocus.com/bid/90103","label":"www.securityfocus.com/bid/90103","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID"]},{"url":"http://www.openwall.com/lists/oss-security/2016/05/05/5","label":"www.openwall.com/lists/oss-security/2016/05/05/5","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69687","label":"gcc.gnu.org/bugzilla/show_bug.cgi?id=69687","hostname":"gcc.gnu.org","tags":["X Refsource CONFIRM","Issue Tracking"]},{"url":"https://ubuntu.com/security/CVE-2016-2226","label":"ubuntu.com/security/CVE-2016-2226","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-3337-1","label":"ubuntu.com/security/notices/USN-3337-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-3368-1","label":"ubuntu.com/security/notices/USN-3368-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-3367-1","label":"ubuntu.com/security/notices/USN-3367-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-4336-2","label":"ubuntu.com/security/notices/USN-4336-2","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-2226","label":"www.cve.org/CVERecord?id=CVE-2016-2226","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-2226","label":"security-tracker.debian.org/tracker/CVE-2016-2226","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-552-1","MGASA-2017-0222","MGASA-2018-0034","MGASA-2018-0046","USN-3337-1","USN-3367-1","USN-3368-1","USN-4336-2"],"duplicates":[],"related":["USN-3337-1","USN-3367-1","USN-3368-1","USN-4336-2"]},"timeline":[{"kind":"published","date":"2017-02-24T20:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T23:24:48.604Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":43,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T13:37:40.904Z","stale":false,"partial":false}}