CVE-2003-0645

man-db <2.4.1 - Privilege Escalation

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2003-0645. PoCs published by vade79.

AI-analyzed exploit summary This exploit leverages a privileged execve() call in man-db (v2.4.1 and earlier) to execute arbitrary code with the privileges of the 'man' user. It manipulates the compressor configuration to execute a malicious binary, resulting in a local privilege escalation (LPE).

Description

man-db 2.3.12 and 2.3.18 to 2.4.1 uses certain user-controlled DEFINE directives from the ~/.manpath file, even when running setuid, which could allow local users to gain privileges.

Exploits (1)

exploitdb WORKING POC VERIFIED
by vade79 · bashlocallinux
https://www.exploit-db.com/exploits/75

This exploit leverages a privileged execve() call in man-db (v2.4.1 and earlier) to execute arbitrary code with the privileges of the 'man' user. It manipulates the compressor configuration to execute a malicious binary, resulting in a local privilege escalation (LPE).

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: man-db v2.4.1 and earlier
No auth needed
Prerequisites: man-db installed · ability to write to /tmp and home directory
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (4)

Core 4
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/8352
Mailing List mailing-list x_refsource_bugtraq
http://marc.info/?l=bugtraq&m=106018504800341&w=2
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/12848
Patch, Vendor Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2003/dsa-364

Scores

EPSS 0.0075
EPSS Percentile 50.0%

Details

Status published
Products (2)
andries_brouwer/man 2.3.20
andries_brouwer/man 2.4.1
Published Aug 27, 2003
Tracked Since Feb 18, 2026