{"schemaVersion":3,"id":"CVE-2016-7787","aliases":["MGASA-2017-0473","openSUSE-SU-2016:2495-1","openSUSE-SU-2016:2498-1","UBUNTU-CVE-2016-7787","DEBIAN-CVE-2016-7787"],"status":"published","duplicateOf":null,"title":null,"description":"A maliciously crafted command line for kdesu can result in the user only seeing part of the commands that will actually get executed as super user.","dates":{"published":"2016-12-23T22:00:00.000Z","modified":"2024-08-06T02:04:56.068Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.9,"severity":"medium","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":4.9,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":4.9,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","exploitability":3.1,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":4.9,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","exploitability":3.1,"impact":6,"computed":true}]},"epss":{"probability":0.01661,"percentile":0.76332,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01661},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01687,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01661,"percentile":0.76332}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01687,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01661,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01661,"percentile":0.76332}]},"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-94","name":"Improper Control of Generation of Code ('Code Injection')","description":"The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/94.html"}],"affected":[{"vendor":"debian","product":"kde-cli-tools","name":"kde-cli-tools","label":"kde-cli-tools","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/kde-cli-tools","purlType":"deb","versions":[{"text":"< 4:5.8.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4:5.8.0-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"kde-cli-tools","name":"kde-cli-tools","label":"kde-cli-tools","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/kde-cli-tools","purlType":"deb","versions":[{"text":"< 4:5.5.5-0ubuntu1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4:5.5.5-0ubuntu1.1","eol":null,"hubHref":null},{"vendor":"kde","product":"kde-cli-tools","name":"kde-cli-tools","label":"kde-cli-tools","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/kde/kde-cli-tools"},{"vendor":"mageia","product":"kdebase4-runtime","name":"kdebase4-runtime","label":"kdebase4-runtime","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/kdebase4-runtime","purlType":"rpm","versions":[{"text":"< 4.14.3-5.1.mga5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.14.3-5.1.mga5","eol":null,"hubHref":null},{"vendor":"opensuse","product":"leap","name":"leap","label":"leap","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"42.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"42.1","eol":{"isEol":true,"eolDate":"2017-05-17T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"42.1","label":"Leap 42.1","eolFrom":"2017-05-17T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"opensuse","label":"openSUSE","category":"os"}},"hubHref":"/vendor/opensuse/leap"},{"vendor":"opensuse","product":"opensuse","name":"opensuse","label":"opensuse","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"13.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"13.2","eol":{"isEol":true,"eolDate":"2017-01-17T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"13.2","label":"13.2","eolFrom":"2017-01-17T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"opensuse","label":"openSUSE","category":"os"}},"hubHref":"/vendor/opensuse/opensuse"},{"vendor":"suse","product":"kde-cli-tools5&distro=SUSE Package Hub 12 SP1","name":"kde-cli-tools5","label":"kde-cli-tools5&distro=SUSE Package Hub 12 SP1","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/kde-cli-tools5&distro=SUSE Package Hub 12 SP1","purlType":"rpm","versions":[{"text":"< 5.5.5-12.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.5.5-12.1","eol":null,"hubHref":null}],"affectedCount":7,"eol":{"hasEol":true,"count":2},"references":[{"url":"http://lists.opensuse.org/opensuse-updates/2016-10/msg00031.html","label":"lists.opensuse.org/opensuse-updates/2016-10/msg00031.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-updates/2016-10/msg00034.html","label":"lists.opensuse.org/opensuse-updates/2016-10/msg00034.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Third Party Advisory"]},{"url":"http://www.securityfocus.com/bid/93224","label":"www.securityfocus.com/bid/93224","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2016/09/29/7","label":"www.openwall.com/lists/oss-security/2016/09/29/7","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Patch","Third Party Advisory","VDB Entry"]},{"url":"https://advisories.mageia.org/MGASA-2017-0473.html","label":"advisories.mageia.org/MGASA-2017-0473.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=19488","label":"bugs.mageia.org/show_bug.cgi?id=19488","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"http://openwall.com/lists/oss-security/2016/09/29/7","label":"openwall.com/lists/oss-security/2016/09/29/7","hostname":"openwall.com","tags":["WEB"]},{"url":"https://lists.opensuse.org/opensuse-updates/2016-10/msg00034.html","label":"lists.opensuse.org/opensuse-updates/2016-10/msg00034.html","hostname":"lists.opensuse.org","tags":["WEB"]},{"url":"https://bugzilla.suse.com/1001916","label":"bugzilla.suse.com/1001916","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2016-7787","label":"www.suse.com/security/cve/CVE-2016-7787","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2016-7787","label":"ubuntu.com/security/CVE-2016-7787","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.kde.org/info/security/advisory-20160930-1.txt","label":"www.kde.org/info/security/advisory-20160930-1.txt","hostname":"www.kde.org","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-7787","label":"www.cve.org/CVERecord?id=CVE-2016-7787","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-7787","label":"security-tracker.debian.org/tracker/CVE-2016-7787","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2016-12-23T22:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T02:04:56.068Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":20,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T00:52:49.413Z","stale":false,"partial":false}}