Description
The feh_unique_filename function in utils.c in feh before 1.11.2 might allow local users to overwrite arbitrary files via a symlink attack on a /tmp/feh_ 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | feh | 1.12-1 | — |
| Debian 13 | feh | 1.12-1 | — |
| Debian 12 | feh | 1.12-1 | — |
References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=612035
- [oss-security] 20110209 CVE request for feh mailing-list
- https://github.com/derf/feh/issues/#issue/32
- https://derf.homelinux.org/git/feh/commit/?id=29ab0855f044ef2fe9c295b72abefcb37f0861a5
- 43221 third-party-advisory
- https://bugs.launchpad.net/ubuntu/+source/feh/+bug/607328
- https://bugzilla.redhat.com/show_bug.cgi?id=676389
- [oss-security] 20110209 Re: CVE request for feh mailing-list
- https://derf.homelinux.org/git/feh/commit/?id=23421a86cc826dd30f3dc4f62057fafb04b3ac40