7.5

CVE-2019-12761: python pyxdg Code Injection

CVSS: 7.5v3.0HighModified
AliasesSUSE-SU-2022:2997-1GHSA-r6v3-hpxj-r8rvPYSEC-2019-199
Published 06-06-2019Last modified 04-08-2024

Vulnerability summary

CVE-2019-12761 is a high (CVSS 7.5) Code Injection vulnerability in python pyxdg. EPSS estimates a 2.10% chance of exploitation in the next 30 days, higher than 81.4% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
40/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.0 (NVD)
EPSS score
2.10%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Timeline

  1. 06-06-2019
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

2.10%

Chance of exploitation in the next 30 days

Percentile

81%

Versus all other CVEs

30-day change

0.00 pp

From 2.10% on 18-09-2026

18-09-202618-10-2026
EPSS score
2.10%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    B45Cd41F4186110A354Dc7272916Feba

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Suse10 products
  • python-pyxdg&distro=SUSE Enterprise Storage 6< 0.25-150000.3.3.1
  • python-pyxdg&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS< 0.25-150000.3.3.1
  • python-pyxdg&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS< 0.25-150000.3.3.1
  • python-pyxdg&distro=SUSE Linux Enterprise High Performance Computing 15-ESPOS< 0.25-150000.3.3.1
  • python-pyxdg&distro=SUSE Linux Enterprise High Performance Computing 15-LTSS< 0.25-150000.3.3.1
Debian1 product
  • pyxdg< 0.26-1 | < 0.25-4+deb9u1 | < 0.25-4+deb8u1
PyPI1 product
  • pyxdg< 0.26
Python1 product
Ubuntu1 product
  • pyxdg< 0.25-4ubuntu0.14.04.1~esm1 | < 0.25-4ubuntu0.16.04.1 | < 0.25-4ubuntu1.1

5 vendors · 14 products

References

15 links
Show all 15 references