CVE-2003-0645: 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-0645 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.
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.
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.7% (top 45%) |
| 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: man-db 2.4.1 - 'open_cat_stream()' Local uid=man
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-0645?
man: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2003-0645 being exploited?
CVE-2003-0645 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-0645 affect?
CVE-2003-0645 affects man. Severity is medium (CVSS 4.6). 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.
How urgent is CVE-2003-0645?
Priority 35/100. Public exploit reference
Related CVEs
- CVE-2003-0620 MEDIUM 4.6 DOWNGRADE Multiple buffer overflows in man-db 2.4.1 and earlier, when installed setuid, allow local users to gain privil
- 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