Description
The open_generic_xdg_mime function in xdg-open in xdg-utils 1.1.0 rc1 in Debian, when using dash, does not properly handle local variables, which allows remote attackers to execute arbitrary commands via a crafted file.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | xdg-utils | 1.1.0~rc1+git20111210-7.4 | — |
| Debian 13 | xdg-utils | 1.1.0~rc1+git20111210-7.4 | — |
| Debian 12 | xdg-utils | 1.1.0~rc1+git20111210-7.4 | — |
| Debian 7 | xdg-utils | 1.1.0~rc1+git20111210-6+deb7u3 | DSA-3165-1 |
| Debian 6.0 | xdg-utils | 1.0.2+cvs20100307-2+deb6u1 | DLA-217-1 |
Advisories 2
- DSA-3165-1 xdg-utils - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-217-1 xdg-utils - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://bugs.freedesktop.org/show_bug.cgi?id=89129
- http://www.openwall.com/lists/oss-security/2015/02/18/7
- http://www.openwall.com/lists/oss-security/2015/02/18/9
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=777722
- http://www.debian.org/security/2015/dsa-3165
- http://www.securityfocus.com/bid/72675