CVE-2003-0620: Multiple buffer overflows in man-db 2.4.1 and earlier, when installed setuid, allow local users to gain privil
CVE-2003-0620 is a medium-severity flaw (CVSS 4.6) affecting man. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 4.6 (Medium) |
| EPSS exploit chance | 0.8% (top 43%) |
| CISA exploited list | No |
| Published | 2003-08-27 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Exploit-DB: ManDB Utility 2.3/2.4 - Local Buffer Overflow
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2003-0620?
man: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2003-0620 being exploited?
CVE-2003-0620 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2003-0620 affect?
CVE-2003-0620 affects man. Severity is medium (CVSS 4.6). 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 i
How urgent is CVE-2003-0620?
Priority 35/100. Public exploit reference
Related CVEs
- CVE-2003-0645 MEDIUM 4.6 DOWNGRADE man-db 2.3.12 and 2.3.18 to 2.4.1 uses certain user-controlled DEFINE directives from the ~/.manpath file, eve
- CVE-2003-0124 MEDIUM 4.6 DOWNGRADE man before 1.5l allows attackers to execute arbitrary code via a malformed man file with improper quotes, whic