RCE in Python Pyxdg

CVE-2019-12761

A code injection issue was discovered in PyXDG before 0.26 via crafted Python code in a Category element of a Menu XML document in a .menu file. XDG_CONFIG_DIRS must be set up to trigger xdg.Menu.parse parsing within the directory containing this file. This is due to a lack of sanitization in xdg/Menu.py before an eval call.

Vulnerability class: RCE (Remote Code Execution)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.021 (81.0th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 81st percentile — 81.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2019-12761: held from 0.021 to 0.021.

EPSS over last 30 days · oldest: 0.021 · newest: 0.021 · change: 0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2019-12761?
CVE-2019-12761 is a high-severity vulnerability in Python Pyxdg, classified under Code Injection. CVSS score: 7.5/10. Published 2019-06-06.
How severe is CVE-2019-12761?
High severity. CVSS v3 base score is 7.5 out of 10.