mandb up to 2.8.4 on Gentoo /usr/bin/mandb incorrect execution-assigned permissions

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.

A vulnerability was found in mandb up to 2.8.4 on Gentoo and classified as critical. Affected by this issue is some unknown processing of the file /usr/bin/mandb. The manipulation with an unknown input leads to a incorrect execution-assigned permissions vulnerability. Using CWE to declare the problem leads to CWE-279. While it is executing, the software sets the permissions of an object in a way that violates the intended permissions that have been specified by the user. Impacted is confidentiality, integrity, and availability. CVE summarizes:

man-db before 2.8.5 on Gentoo allows local users (with access to the man user account) to gain root privileges because /usr/bin/mandb is executed by root but not owned by root. (Also, the owner can strip the setuid and setgid bits.)

The weakness was published 01/27/2023. The advisory is available at This vulnerability is handled as CVE-2018-25078 since 01/25/2023. Technical details are known, but there is no available exploit. This vulnerability is assigned to T1222 by the MITRE ATT&CK project.

Upgrading to version 2.8.5 eliminates this vulnerability.



CPE 2.3info

CPE 2.2info


VulDB Meta Base Score: 7.8
VulDB Meta Temp Score: 7.6

VulDB Base Score: 7.8
VulDB Temp Score: 7.5
VulDB Vector: 🔒
VulDB Reliability: 🔍

NVD Base Score: 7.8
NVD Vector: 🔒



VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍


Class: Incorrect execution-assigned permissions
CWE: CWE-279 / CWE-266
ATT&CK: T1222

Local: Yes
Remote: No

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒


Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍


Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: mandb 2.8.5


01/25/2023 CVE reserved
01/27/2023 +2 days Advisory disclosed
01/27/2023 +0 days VulDB entry created
02/20/2023 +24 days VulDB last update


Status: Confirmed

CVE: CVE-2018-25078 (🔒)


Created: 01/27/2023 10:31 AM
Updated: 02/20/2023 10:30 AM
Changes: 01/27/2023 10:31 AM (39), 02/20/2023 10:30 AM (10)
Complete: 🔍


No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!