Description
In wallpaper.c in feh before v2.18.3, if a malicious client pretends to be the E17 window manager, it is possible to trigger an out-of-boundary heap write while receiving an IPC message. An integer overflow leads to a buffer overflow and/or a double free.
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 | 2.18-2 | — |
| Debian 13 | feh | 2.18-2 | — |
| Debian 12 | feh | 2.18-2 | — |
| Debian 8 | feh | 2.12-1+deb8u1 | DLA-2219-1 |
| Debian 7 | feh | 2.3-2+deb7u1 | DLA-899-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | feh | 2.14-1ubuntu0.1~esm1 | USN-8982-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | feh | 3.7-1.3 | openSUSE-SU-2024:10751-1 |
Advisories 4
- USN-8982-1 feh vulnerability Ubuntu Security Notices (USN) · Nov 4, 2026
- DLA-899-1 feh - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2219-1 feh - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10751-1 feh-3.7-1.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026