Skip to main content
No exploitation reportedFix available

CVE-2019-12761

No exploitation reported by the sources we read.

  • Published2019-06-06
  • Fixed in0.26
  • WeaknessCWE-94

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2019-06-0619:29CVE publishedNVD

Versions per branch

NVD · OSV
Python pyxdg
BranchAffectedFixed in
0.26< 0.260.26

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • python-pyxdgSUSE:Linux Enterprise Server for SAP Applications 15 SP1all versions · fixed in 0.25-150000.3.3.1
  • python-pyxdgSUSE:Linux Enterprise Server for SAP Applications 15all versions · fixed in 0.25-150000.3.3.1
  • python-pyxdgSUSE:Linux Enterprise Server 15-LTSSall versions · fixed in 0.25-150000.3.3.1
  • python-pyxdgSUSE:Linux Enterprise Server 15 SP1-LTSSall versions · fixed in 0.25-150000.3.3.1
  • python-pyxdgSUSE:Linux Enterprise Server 15 SP1-BCLall versions · fixed in 0.25-150000.3.3.1
  • python-pyxdgSUSE:Linux Enterprise High Performance Computing 15-LTSSall versions · fixed in 0.25-150000.3.3.1
  • python-pyxdgSUSE:Linux Enterprise High Performance Computing 15-ESPOSall versions · fixed in 0.25-150000.3.3.1
  • python-pyxdgSUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSall versions · fixed in 0.25-150000.3.3.1

10 more package ranges on OSV.dev

Vendor advisories

  • CVE-2019-12761 Red Hat Product Security2 known affected

    pyxdg: code injection via crafted python code

    pyxdg.src as a component of Red Hat Enterprise Linux 6 · python3-pyxdg as a component of Red Hat Enterprise Linux 8

Full record on NVD

Fix

  1. Update Python pyxdg to 0.26
  2. No fix planned, says the vendor Red Hat Product Security CVE-2019-12761 · 1 productOut of support scope
  3. No fix planned, says the vendor Red Hat Product Security CVE-2019-12761 · 1 productWill not fix

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
2019-06-06
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-r6v3-hpxj-r8rv

Frequently asked questions

What is 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.

Is CVE-2019-12761 actively exploited?

Active exploitation of CVE-2019-12761 has not been confirmed. Its EPSS score was 2.1% on 2026-11-08, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2019-12761?

CVE-2019-12761 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H.

Running pyxdg? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record