Description
kcleanup.cpp in KDirStat 2.7.3 does not properly quote strings when deleting a directory, which allows remote attackers to execute arbitrary commands via a ' (single quote) character in the directory name, a different vulnerability than CVE-2014-2527.
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 | k4dirstat | 2.7.5-1 | — |
| Debian 13 | k4dirstat | 2.7.5-1 | — |
| Debian 12 | k4dirstat | 2.7.5-1 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | kdirstat | 2.4.4-277.11 | openSUSE-SU-2024:10000-1 |
Advisories 1
- openSUSE-SU-2024:10000-1 kdirstat-2.4.4-277.11 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://bitbucket.org/jeromerobert/k4dirstat/commits/1ad2e96d73fa06cd9be0f3749b337c03575016aa#chg-src/kcleanup.cpp
- openSUSE-SU-2014:0984 vendor-advisory
- [oss-security] 20140317 CVE request: kdirstat, insufficient quote escaping leading to arbitrary command execution mailing-list
- [oss-security] 20140318 Re: CVE request: kdirstat, insufficient quote escaping leading to arbitrary command execution mailing-list
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741659