{"schemaVersion":3,"id":"CVE-2018-20167","aliases":["MGASA-2019-0031","UBUNTU-CVE-2018-20167","DEBIAN-CVE-2018-20167"],"status":"published","duplicateOf":null,"title":null,"description":"Terminology before 1.3.1 allows Remote Code Execution because popmedia is mishandled, as demonstrated by an unsafe \"cat README.md\" command when \\e}pn is used. A popmedia control sequence can allow the malicious execution of executable file formats registered in the X desktop share MIME types (/usr/share/applications). The control sequence defers unknown file types to the handle_unknown_media() function, which executes xdg-open against the filename specified in the sequence. The use of xdg-open for all unknown file types allows executable file formats with a registered shared MIME type to be executed. An attacker can achieve remote code execution by introducing an executable file and a plain text file containing the control sequence through a fake software project (e.g., in Git or a tarball). When the control sequence is rendered (such as with cat), the executable file will be run.","dates":{"published":"2018-12-17T05:00:00.000Z","modified":"2024-08-05T11:51:19.283Z","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.02676,"percentile":0.85582,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.021999999999999797,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.02654},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02654,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02654,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02654,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02654,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02654,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02654,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02654,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03938,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02676,"percentile":0.85582}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.02654,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02654,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03938,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02676,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02676,"percentile":0.85582}]},"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":"REF_58D9D2E84DE623B7","name":"Exploit Reference (phab.enlightenment.org)","source":"reference","url":"https://phab.enlightenment.org/T7504","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')","description":"The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/74.html"}],"affected":[{"vendor":"debian","product":"terminology","name":"terminology","label":"terminology","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/terminology","purlType":"deb","versions":[{"text":"< 1.3.1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.3.1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"terminology","name":"terminology","label":"terminology","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/terminology","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"enlightenment","product":"terminology","name":"terminology","label":"terminology","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.3.1","eol":null,"hubHref":"/vendor/enlightenment/terminology"},{"vendor":"mageia","product":"terminology","name":"terminology","label":"terminology","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/terminology","purlType":"rpm","versions":[{"text":"< 1.1.0-1.1.mga6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.1.0-1.1.mga6","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.enlightenment.org/news/2018-12-16-terminology-1.3.1","label":"www.enlightenment.org/news/2018-12-16-terminology-1.3.1","hostname":"www.enlightenment.org","tags":["X Refsource MISC","Mitigation","Vendor Advisory","REPORT"]},{"url":"https://phab.enlightenment.org/T7504","label":"phab.enlightenment.org/T7504","hostname":"phab.enlightenment.org","tags":["X Refsource MISC","Exploit","Mitigation","Vendor Advisory","REPORT"]},{"url":"https://phab.enlightenment.org/rTRM1ac204da9148e7bccb1b5f34b523e2094dfc39e2","label":"phab.enlightenment.org/rTRM1ac204da9148e7bccb1b5f34b523e2094dfc39e2","hostname":"phab.enlightenment.org","tags":["X Refsource MISC","Mitigation","Patch","Vendor Advisory","WEB","REPORT"]},{"url":"https://advisories.mageia.org/MGASA-2019-0031.html","label":"advisories.mageia.org/MGASA-2019-0031.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=24110","label":"bugs.mageia.org/show_bug.cgi?id=24110","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2018-20167","label":"ubuntu.com/security/CVE-2018-20167","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://git.enlightenment.org/apps/terminology.git/commit/?id=1ac204da9148e7bccb1b5f34b523e2094dfc39e2","label":"git.enlightenment.org/apps/terminology.git/commit/?id=1ac204da9148e7bccb1b5f34b523e2094dfc39e2","hostname":"git.enlightenment.org","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-20167","label":"www.cve.org/CVERecord?id=CVE-2018-20167","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-20167","label":"security-tracker.debian.org/tracker/CVE-2018-20167","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2018-12-17T05:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T11:51:19.283Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":42,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T16:13:33.930Z","stale":false,"partial":false}}