CVE-2003-0620

man-db < 2.4.1 - Multiple Buffer Overflow Vulnerabilities

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2003-0620. PoCs published by V9.

AI-analyzed exploit summary This exploit demonstrates multiple local buffer overflow vulnerabilities in the mandb utility due to insufficient bounds checking on user-supplied data. The PoC triggers segmentation faults by manipulating environment variables and command-line arguments, potentially allowing arbitrary code execution in the context of the mandb utility.

Description

Multiple buffer overflows in man-db 2.4.1 and earlier, when installed setuid, allow local users to gain privileges via (1) MANDATORY_MANPATH, MANPATH_MAP, and MANDB_MAP arguments to add_to_dirlist in manp.c, (2) a long pathname to ult_src in ult_src.c, (3) a long .so argument to test_for_include in ult_src.c, (4) a long MANPATH environment variable, or (5) a long PATH environment variable.

Exploits (1)

exploitdb WORKING POC VERIFIED
by V9 · textlocallinux
https://www.exploit-db.com/exploits/22971

This exploit demonstrates multiple local buffer overflow vulnerabilities in the mandb utility due to insufficient bounds checking on user-supplied data. The PoC triggers segmentation faults by manipulating environment variables and command-line arguments, potentially allowing arbitrary code execution in the context of the mandb utility.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Trivial
Reliability
Reliable
Target: mandb (versions affected by CVE-2003-0620)
No auth needed
Prerequisites: Local access to the target system · Presence of vulnerable mandb utility
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (3)

Core 3
Core References
Mailing List mailing-list x_refsource_bugtraq
http://marc.info/?l=bugtraq&m=105960276803617&w=2
Mailing List mailing-list x_refsource_bugtraq
http://marc.info/?l=bugtraq&m=105951284512898&w=2
Patch, Vendor Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2003/dsa-364

Scores

EPSS 0.0080
EPSS Percentile 51.9%

Details

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