# CVE-2018-20167

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability: affected before 1.3.1 (CNA); fix release not confirmed
- Status: published
- Published: 2018-12-17 · Modified: 2024-08-05
- Aliases: MGASA-2019-0031, UBUNTU-CVE-2018-20167, DEBIAN-CVE-2018-20167
- Record: https://cvemate.com/vulnerability/CVE-2018-20167 · JSON: https://cvemate.com/vulnerability/CVE-2018-20167/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.0, NVD) CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 2.676%, percentile 86.282%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- debian terminology (Debian): \< 1.3.1-1
- ubuntu terminology (Ubuntu): All versions (No fix recorded)
- enlightenment terminology: \< 1.3.1
- mageia terminology (Mageia): \< 1.1.0-1.1.mga6

## References

- <https://www.enlightenment.org/news/2018-12-16-terminology-1.3.1>
- <https://phab.enlightenment.org/T7504>
- <https://phab.enlightenment.org/rTRM1ac204da9148e7bccb1b5f34b523e2094dfc39e2>
- <https://advisories.mageia.org/MGASA-2019-0031.html>
- <https://bugs.mageia.org/show_bug.cgi?id=24110>
- <https://ubuntu.com/security/CVE-2018-20167>
- <https://git.enlightenment.org/apps/terminology.git/commit/?id=1ac204da9148e7bccb1b5f34b523e2094dfc39e2>
- <https://www.cve.org/CVERecord?id=CVE-2018-20167>
- <https://security-tracker.debian.org/tracker/CVE-2018-20167>

---

Data as of 2026-12-05T04:02:16.567Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
