{"id":"CVE-2003-0056","aliases":["DEBIAN-CVE-2003-0056","DSA-252","EUVD-2003-0052","GHSA-g52f-4wx9-cj5q","RHSA-2004:041"],"status":"published","title":"Buffer overflow in secure locate (slocate) before 2.7 allows local users to execute arbitrary...","description":"Buffer overflow in secure locate (slocate) before 2.7 allows local users to execute arbitrary code via a long (1) -c or (2) -r command line argument.","severity":{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01091,"percentile":0.65608,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"published":"2003-02-01T05:00:00Z","modified":"2026-06-26T10:01:00Z","exploits":[{"source":"exploitdb","id":"EDB-22197","title":"slocate 2.5/2.6 - Local Buffer Overrun","type":"dos","platform":"linux","date":"2003-01-24","verified":true,"url":"https://www.exploit-db.com/exploits/22197"}],"fixes":[{"ecosystem":"Debian:3.0","package":"slocate","fixed_in":["2.6-1.3.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:3.0","package":"slocate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6-1.3.1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"slocate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.7-3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"slocate-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.7-3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"slocate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.7-3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"slocate-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.7-3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"slocate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.7-3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"slocate-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.7-3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"slocate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.7-3"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"slocate-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.7-3"}]}],"bundled":2}],"products":[{"vendor":"slocate","product":"slocate"}],"references":[{"url":"http://secunia.com/advisories/8236","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.net-security.org/advisory.php?id=2010","tags":["vendor-advisory","x_refsource_CONECTIVA","x_transferred"]},{"url":"ftp://patches.sgi.com/support/free/security/advisories/20040202-01-U.asc","tags":["vendor-advisory","x_refsource_SGI","x_transferred"]},{"url":"http://secunia.com/advisories/7982","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.usg.org.uk/advisories/2003.001.txt","tags":["x_refsource_MISC","x_transferred","Vendor Advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2003:015","tags":["vendor-advisory","x_refsource_MANDRAKE","x_transferred"]},{"url":"http://secunia.com/advisories/10720","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.debian.org/security/2003/dsa-252","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Patch","Vendor Advisory"]},{"url":"http://marc.info/?l=bugtraq\u0026m=104348607205691\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://marc.info/?l=bugtraq\u0026m=104428624705363\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://secunia.com/advisories/8118/","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11369","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2004-041.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://marc.info/?l=bugtraq\u0026m=104342864418213\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://secunia.com/advisories/8749","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"ftp://ftp.sco.com/pub/security/OpenLinux/CSSA-2003-009.0.txt","tags":["vendor-advisory","x_refsource_CALDERA","x_transferred"]},{"url":"http://secunia.com/advisories/7947","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/8007","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2003-0056","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-g52f-4wx9-cj5q"},{"url":"https://access.redhat.com/errata/RHSA-2004:041","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=114013","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=114016","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2004/rhsa-2004_041.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2003-0056","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1616944","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2003-0056","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2003-0848","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617089","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2003-0848","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2003-0848","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2003-0056","description":"Buffer overflow in secure locate (slocate) before 2.7 allows local users to execute arbitrary code via a long (1) -c or (2) -r command line argument.","status":"published","published":"2003-02-01T05:00:00Z","modified":"2024-08-08T01:43:35.492Z","updated_at":"2026-11-02T14:20:16.411288Z"}],"euvd":[{"id":"EUVD-2003-0052","description":"Buffer overflow in secure locate (slocate) before 2.7 allows local users to execute arbitrary code via a long (1) -c or (2) -r command line argument.","status":"published","published":"2003-02-01T05:00:00Z","modified":"2024-08-08T01:43:35Z","updated_at":"2026-11-03T01:15:08.689521Z"}],"ghsa":[{"id":"GHSA-g52f-4wx9-cj5q","title":"Buffer overflow in secure locate (slocate) before 2.7 allows local users to execute arbitrary...","description":"Buffer overflow in secure locate (slocate) before 2.7 allows local users to execute arbitrary code via a long (1) -c or (2) -r command line argument.","status":"published","published":"2022-05-03T03:09:37Z","modified":"2023-02-01T05:01:00Z","updated_at":"2026-11-02T14:49:39.185404Z"}],"nvd":[{"id":"CVE-2003-0056","description":"Buffer overflow in secure locate (slocate) before 2.7 allows local users to execute arbitrary code via a long (1) -c or (2) -r command line argument.","status":"published","published":"2003-02-19T05:00:00Z","modified":"2026-06-16T22:01:25.77Z","cvss":[{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:00:46.710758Z"}],"osv":[{"id":"DSA-252","title":"slocate - buffer overflow","status":"published","published":"2003-02-21T00:00:00Z","modified":"2026-03-09T01:22:46.392948Z","updated_at":"2026-11-02T15:46:15.489951Z"},{"id":"RHSA-2004:041","title":"Red Hat Security Advisory: slocate security update","status":"published","published":"2024-09-12T22:07:07Z","modified":"2026-06-26T10:01:00Z","updated_at":"2026-11-02T15:52:59.135214Z"}]}}
