{"schemaVersion":3,"id":"CVE-2016-2781","aliases":["UBUNTU-CVE-2016-2781","DEBIAN-CVE-2016-2781","CGA-69wv-r6x7-63w2","CGA-6v66-4w82-hwj8"],"status":"published","duplicateOf":null,"title":null,"description":"chroot in GNU coreutils, when used with --userspec, allows local users to escape to the parent session via a crafted TIOCSTI ioctl call, which pushes characters to the terminal's input buffer.","dates":{"published":"2017-02-07T15:00:00.000Z","modified":"2025-06-09T15:59:40.434Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.6,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.6,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":2.1,"severity":"low","vector":"AV:L/AC:L/Au:N/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":4.6,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","exploitability":3.8,"impact":4.5,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":6.5,"severity":"medium","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","exploitability":5.1,"impact":6.7,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":6.5,"severity":"medium","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","exploitability":5.1,"impact":6.7,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Wolfi","score":6.5,"severity":"medium","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","exploitability":5.1,"impact":6.7,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Chainguard","score":6.5,"severity":"medium","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","exploitability":5.1,"impact":6.7,"computed":true}]},"epss":{"probability":0.00428,"percentile":0.3574,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00428},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00437,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00428,"percentile":0.3574}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00437,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00428,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00428,"percentile":0.3574}]},"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-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"}],"affected":[{"vendor":"chainguard","product":"coreutils","name":"coreutils","label":"coreutils","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/coreutils","purlType":"apk","versions":[{"text":"< 9.6-r30","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.6-r30","eol":null,"hubHref":null},{"vendor":"wolfi","product":"coreutils","name":"coreutils","label":"coreutils","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/coreutils","purlType":"apk","versions":[{"text":"< 9.6-r30","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.6-r30","eol":null,"hubHref":null},{"vendor":"debian","product":"coreutils","name":"coreutils","label":"coreutils","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/coreutils","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 9.4-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 9.4-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"coreutils","name":"coreutils","label":"coreutils","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/coreutils","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://www.openwall.com/lists/oss-security/2016/02/28/2","label":"www.openwall.com/lists/oss-security/2016/02/28/2","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Third Party Advisory","Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2016/02/28/3","label":"www.openwall.com/lists/oss-security/2016/02/28/3","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Third Party Advisory","Advisory"]},{"url":"https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST","WEB"]},{"url":"https://ubuntu.com/security/CVE-2016-2781","label":"ubuntu.com/security/CVE-2016-2781","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"http://seclists.org/oss-sec/2016/q1/452","label":"seclists.org/oss-sec/2016/q1/452","hostname":"seclists.org","tags":["REPORT"]},{"url":"https://lore.kernel.org/patchwork/patch/793178/","label":"lore.kernel.org/patchwork/patch/793178/","hostname":"lore.kernel.org","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-2781","label":"www.cve.org/CVERecord?id=CVE-2016-2781","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.28/v2.28-ReleaseNotes","label":"mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.28/v2.28-ReleaseNotes","hostname":"mirrors.edge.kernel.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-2781","label":"security-tracker.debian.org/tracker/CVE-2016-2781","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-2781","label":"nvd.nist.gov/vuln/detail/CVE-2016-2781","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-758J-CQX5-PJX9","CGA-VRJH-C954-X45F"]},"timeline":[{"kind":"published","date":"2017-02-07T15:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-06-09T15:59:40.434Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T02:31:16.292Z","stale":false,"partial":false}}