Debian Security Advisory

DLA-2727-1 pyxdg -- LTS security update

Date Reported:
03 Aug 2021
Affected Packages:
Security database references:
In Mitre's CVE dictionary: CVE-2019-12761.
More information:

It was discovered that there was a code injection issue in PyXDG, a library used to locate configuration/cache/etc. directories.

  • 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/ before an eval call.

For Debian 9 Stretch, these problems have been fixed in version 0.25-4+deb9u1.

We recommend that you upgrade your pyxdg packages.

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: