Description
lisp/net/tramp-sh.el in GNU Emacs 24.3 and earlier allows local users to overwrite arbitrary files via a symlink attack on a /tmp/tramp.##### temporary 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.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | emacs | 25.1-1.1 | openSUSE-SU-2024:10469-1 |
Advisories 1
- openSUSE-SU-2024:10469-1 emacs-25.1-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- [oss-security] 20140507 Re: CVE Request - Predictable temporary filenames in GNU Emacs mailing-list
- [emacs-diffs] 20140506 emacs-24 r117071: Fix Bug#17415. mailing-list
- MDVSA-2015:117 vendor-advisory
- http://advisories.mageia.org/MGASA-2014-0250.html
- http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17428#8