# CVE-2019-12761

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 0.26 (CNA); fix release not confirmed
- Status: published
- Published: 2019-06-06 · Modified: 2024-08-04
- Aliases: SUSE-SU-2022:2997-1, GHSA-r6v3-hpxj-r8rv, PYSEC-2019-199, SNYK-PYTHON-PYXDG-174562, UBUNTU-CVE-2019-12761, USN-4700-1, DEBIAN-CVE-2019-12761, DLA-1819-1, DLA-2727-1
- Record: https://cvemate.com/vulnerability/CVE-2019-12761 · JSON: https://cvemate.com/vulnerability/CVE-2019-12761/json

## Description

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

## Signals

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

## Affected

- debian pyxdg (Debian): \< 0.26-1 \| \< 0.25-4+deb8u1 \| \< 0.25-4+deb9u1
- ubuntu pyxdg (Ubuntu): \< 0.25-4ubuntu0.14.04.1~esm1 \| \< 0.25-4ubuntu0.16.04.1 \| \< 0.25-4ubuntu1.1
- PyPI pyxdg (PyPI): \< 0.26
- python pyxdg: \< 0.26
- suse python-pyxdg&distro=SUSE Enterprise Storage 6 (SUSE Linux Enterprise): \< 0.25-150000.3.3.1
- suse python-pyxdg&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS (SUSE Linux Enterprise): \< 0.25-150000.3.3.1
- suse python-pyxdg&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS (SUSE Linux Enterprise): \< 0.25-150000.3.3.1
- suse python-pyxdg&distro=SUSE Linux Enterprise High Performance Computing 15-ESPOS (SUSE Linux Enterprise): \< 0.25-150000.3.3.1
- suse python-pyxdg&distro=SUSE Linux Enterprise High Performance Computing 15-LTSS (SUSE Linux Enterprise): \< 0.25-150000.3.3.1
- suse python-pyxdg&distro=SUSE Linux Enterprise Server 15 SP1-BCL (SUSE Linux Enterprise): \< 0.25-150000.3.3.1
- suse python-pyxdg&distro=SUSE Linux Enterprise Server 15 SP1-LTSS (SUSE Linux Enterprise): \< 0.25-150000.3.3.1
- suse python-pyxdg&distro=SUSE Linux Enterprise Server 15-LTSS (SUSE Linux Enterprise): \< 0.25-150000.3.3.1
- suse python-pyxdg&distro=SUSE Linux Enterprise Server for SAP Applications 15 (SUSE Linux Enterprise): \< 0.25-150000.3.3.1
- suse python-pyxdg&distro=SUSE Linux Enterprise Server for SAP Applications 15 SP1 (SUSE Linux Enterprise): \< 0.25-150000.3.3.1

## References

- <https://gist.github.com/dhondta/b45cd41f4186110a354dc7272916feba>
- <https://snyk.io/vuln/SNYK-PYTHON-PYXDG-174562>
- <https://lists.debian.org/debian-lts-announce/2019/06/msg00006.html>
- <https://lists.debian.org/debian-lts-announce/2021/08/msg00003.html>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20222997-1/>
- <https://bugzilla.suse.com/1137627>
- <https://www.suse.com/security/cve/CVE-2019-12761>
- <https://nvd.nist.gov/vuln/detail/CVE-2019-12761>
- <https://github.com/pypa/advisory-database/tree/main/vulns/pyxdg/PYSEC-2019-199.yaml>
- <https://github.com/takluyver/pyxdg>
- <https://github.com/advisories/GHSA-r6v3-hpxj-r8rv>
- <https://ubuntu.com/security/CVE-2019-12761>
- <https://ubuntu.com/security/notices/USN-4700-1>
- <https://www.cve.org/CVERecord?id=CVE-2019-12761>
- <https://security-tracker.debian.org/tracker/CVE-2019-12761>

---

Data as of 2026-12-05T04:23:06.194Z. 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
