{"id":"CVE-2003-0620","aliases":["DEBIAN-CVE-2003-0620","DSA-364","EUVD-2003-0614","GHSA-57q8-53w4-9h6q"],"status":"published","title":"Multiple buffer overflows in man-db 2.4.1 and earlier, when installed setuid, allow local users...","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.","severity":{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.00804,"percentile":0.56966,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"published":"2003-08-01T04:00:00Z","modified":"2026-10-22T23:47:25Z","exploits":[{"source":"exploitdb","id":"EDB-22971","title":"ManDB Utility 2.3/2.4 - Local Buffer Overflow","type":"local","platform":"linux","date":"2003-07-29","verified":true,"url":"https://www.exploit-db.com/exploits/22971"}],"fixes":[{"ecosystem":"Debian:12","package":"man-db","fixed_in":["2.4.1-13"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"man-db","fixed_in":["2.4.1-13"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"man-db","fixed_in":["2.4.1-13"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"man-db","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.1-13"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"man-db","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.1-13"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"man-db","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.1-13"}]}]},{"source":"osv","ecosystem":"Debian:3.0","package":"man-db","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.20-18.woody.2"}]}],"bundled":2}],"products":[{"vendor":"andries_brouwer","product":"man"}],"references":[{"url":"http://marc.info/?l=bugtraq\u0026m=105951284512898\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://marc.info/?l=bugtraq\u0026m=105960276803617\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://www.debian.org/security/2003/dsa-364","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2003-0620"},{"url":"https://github.com/advisories/GHSA-57q8-53w4-9h6q"},{"url":"https://security-tracker.debian.org/tracker/CVE-2003-0620","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2003-0620","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.","status":"published","published":"2003-08-01T04:00:00Z","modified":"2024-08-08T01:58:11.113Z","updated_at":"2026-11-02T14:20:16.757505Z"}],"euvd":[{"id":"EUVD-2003-0614","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.","status":"published","published":"2003-08-01T04:00:00Z","modified":"2024-08-08T01:58:11Z","updated_at":"2026-11-03T01:15:06.435593Z"}],"ghsa":[{"id":"GHSA-57q8-53w4-9h6q","title":"Multiple buffer overflows in man-db 2.4.1 and earlier, when installed setuid, allow local users...","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.","status":"published","published":"2022-04-29T01:26:43Z","modified":"2023-01-30T05:01:23Z","updated_at":"2026-11-02T14:46:24.052847Z"}],"nvd":[{"id":"CVE-2003-0620","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.","status":"published","published":"2003-08-27T04:00:00Z","modified":"2026-06-16T22:02:31.97Z","cvss":[{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:00:47.41445Z"}],"osv":[{"id":"CVE-2003-0620","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.","status":"published","published":"2003-08-27T04:00:00Z","modified":"2026-04-10T03:36:10.642485Z","updated_at":"2026-11-02T15:43:55.998148Z"},{"id":"DEBIAN-CVE-2003-0620","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.","status":"published","published":"2003-08-27T04:00:00Z","modified":"2026-10-22T23:47:25.226299023Z","updated_at":"2026-11-02T15:45:22.55978Z"},{"id":"DSA-364","title":"man-db - buffer overflows, arbitrary command execution","status":"published","published":"2003-08-04T00:00:00Z","modified":"2026-03-09T01:19:46.535605Z","updated_at":"2026-11-02T15:46:16.199525Z"}]}}
