Description
Debian tmpreaper version 1.6.13+nmu1 has a race condition when doing a (bind) mount via rename() which could result in local privilege escalation. Mounting via rename() could potentially lead to a file being placed elsewhereon the filesystem hierarchy (e.g. /etc/cron.d/) if the directory being cleaned up was on the same physical filesystem. Fixed versions include 1.6.13+nmu1+deb9u1 and 1.6.14.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Debian GNU/Linux | tmpreaper | 1.6.13+nmu1 | — |
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 | tmpreaper | 1.6.14 | — |
| Debian 13 | tmpreaper | 1.6.14 | — |
| Debian 12 | tmpreaper | 1.6.14 | — |
| Debian 9 | tmpreaper | 1.6.13+nmu1+deb9u1 | DSA-4365-1 |
| Debian 8 | tmpreaper | 1.6.13+nmu1+deb8u1 | DLA-1640-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | tmpreaper | 1.6.13+nmu1+deb9u1build0.18.04.1 | USN-4077-1 |
| Ubuntu 16.04 LTS | tmpreaper | 1.6.13+nmu1+deb9u1build0.16.04.1 | USN-4077-1 |
| Ubuntu 14.04 LTS | tmpreaper | No fix yet | — |
Advisories 3
- USN-4077-1 tmpreaper vulnerability Ubuntu Security Notices (USN) · Apr 27, 2026
- DSA-4365-1 tmpreaper - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1640-1 tmpreaper - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- [debian-lts-announce] 20190124 [SECURITY] [DLA 1640-1] tmpreaper security update mailing-list
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=918956
- DSA-4365 vendor-advisory
- USN-4077-1 vendor-advisory