Description
The daily mandb cleanup job in Man-db before 2.7.6.1-1 as packaged in Ubuntu and Debian allows local users with access to the man account to gain privileges via vectors involving insecure chown use.
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 | man-db | 2.7.6-1 | — |
| Debian 13 | man-db | 2.7.6-1 | — |
| Debian 12 | man-db | 2.7.6-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | man-db | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | man-db | 2.7.5-1ubuntu0.1~esm1 | USN-5334-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Man-db 2.6.7.1 - Local Privilege Escalation EDB-41158 · local · Dec 2, 2015 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- USN-5334-1 man-db vulnerability Ubuntu Security Notices (USN) · Jun 25, 2026
References
- https://bugs.launchpad.net/ubuntu/+source/man-db/+bug/1482786
- http://packetstormsecurity.com/files/140759/Man-db-2.6.7.1-Privilege-Escalation.html
- http://www.halfdog.net/Security/2015/MandbSymlinkLocalRootPrivilegeEscalation/
- http://people.canonical.com/~ubuntu-security/cve/2015/CVE-2015-1336.html
- 79723 vdb-entry
- GLSA-201707-12 vendor-advisory
- [oss-security] 20151214 Re: User man Local Root Exploit/Linux Kernel setgid Directory Privilege Escalation/PAM Owner Check Weakness mailing-list
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840357