{"id":"CVE-2018-20167","url":"https://www.cyber-defence.io/tools/cve/CVE-2018-20167","generatedAt":"2026-10-29T01:52:32.109Z","title":"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.","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.","published":"2018-12-17T05:29:01.000Z","lastModified":"2026-06-17T01:52:23.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.0","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"},"cwe":["CWE-74"],"affected":["enlightenment/terminology"],"epss":{"score":0.02676,"percentile":0.85715,"date":"2026-10-27","history":[{"date":"2026-09-21","score":0.03938,"percentile":0.89946},{"date":"2026-09-22","score":0.02676,"percentile":0.85143}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (2.68%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://phab.enlightenment.org/T7504","tags":["Exploit","Mitigation","Vendor Advisory"],"source":"cve@mitre.org"},{"url":"https://phab.enlightenment.org/rTRM1ac204da9148e7bccb1b5f34b523e2094dfc39e2","tags":["Mitigation","Patch","Vendor Advisory"],"source":"cve@mitre.org"},{"url":"https://www.enlightenment.org/news/2018-12-16-terminology-1.3.1","tags":["Mitigation","Vendor Advisory"],"source":"cve@mitre.org"},{"url":"https://phab.enlightenment.org/T7504","tags":["Exploit","Mitigation","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://phab.enlightenment.org/rTRM1ac204da9148e7bccb1b5f34b523e2094dfc39e2","tags":["Mitigation","Patch","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.enlightenment.org/news/2018-12-16-terminology-1.3.1","tags":["Mitigation","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-20167","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}