{"id":"CVE-2003-0848","aliases":["DEBIAN-CVE-2003-0848","DSA-428","EUVD-2003-0839","GHSA-pv8c-73v5-8vpj","RHSA-2004:041"],"status":"published","title":"Heap-based buffer overflow in main.c of slocate 2.6, and possibly other versions, may allow local...","description":"Heap-based buffer overflow in main.c of slocate 2.6, and possibly other versions, may allow local users to gain privileges via a modified slocate database that causes a negative \"pathlen\" value to be used.","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-06","score":0.00987,"percentile":0.62572,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"published":"2003-10-09T04:00:00Z","modified":"2026-06-26T10:01:00Z","exploits":[{"source":"exploitdb","id":"EDB-23228","title":"SLocate 2.6 - User-Supplied Database Heap Overflow","type":"local","platform":"linux","date":"2003-10-06","verified":true,"url":"https://www.exploit-db.com/exploits/23228"}],"fixes":[{"ecosystem":"Debian:3.0","package":"slocate","fixed_in":["2.6-1.3.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:3.0","package":"slocate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6-1.3.2"}]}],"versions":["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":"ftp://ftp.sco.com/pub/updates/OpenLinux/3.1.1/Workstation/CSSA-2004-001.0/CSSA-2004-001.0.txt","tags":["vendor-advisory","x_refsource_SCO","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://rhn.redhat.com/errata/RHSA-2004-040.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"ftp://patches.sgi.com/support/free/security/advisories/20040201-01-U.asc","tags":["vendor-advisory","x_refsource_SGI","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2004-041.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.ebitech.sk/patrik/SA/SA-20031006-A.txt","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://secunia.com/advisories/10720","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/10686","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/10722","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2004:004","tags":["vendor-advisory","x_refsource_MANDRAKE","x_transferred"]},{"url":"http://secunia.com/advisories/10702","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.ebitech.sk/patrik/SA/SA-20031006.txt","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.debian.org/security/2004/dsa-428","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Patch","Vendor Advisory"]},{"url":"http://marc.info/?l=bugtraq\u0026m=106589631819348\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://secunia.com/advisories/10683","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/9962/","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.redhat.com/archives/fedora-announce-list/2004-January/msg00009.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11033","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]},{"url":"http://secunia.com/advisories/10670","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://marc.info/?l=bugtraq\u0026m=106546447321274\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://secunia.com/advisories/10698","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.trustix.org/errata/misc/2004/TSL-2004-0005-slocate.asc.txt","tags":["vendor-advisory","x_refsource_TRUSTIX","x_transferred"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A821","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2003-0848","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-pv8c-73v5-8vpj"},{"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://nvd.nist.gov/vuln/detail/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"]}],"sources":{"cve":[{"id":"CVE-2003-0848","description":"Heap-based buffer overflow in main.c of slocate 2.6, and possibly other versions, may allow local users to gain privileges via a modified slocate database that causes a negative \"pathlen\" value to be used.","status":"published","published":"2003-10-09T04:00:00Z","modified":"2024-08-08T02:05:12.648Z","updated_at":"2026-11-02T14:20:16.757505Z"}],"euvd":[{"id":"EUVD-2003-0839","description":"Heap-based buffer overflow in main.c of slocate 2.6, and possibly other versions, may allow local users to gain privileges via a modified slocate database that causes a negative \"pathlen\" value to be used.","status":"published","published":"2003-10-09T04:00:00Z","modified":"2024-08-08T02:05:12Z","updated_at":"2026-11-03T01:15:06.016782Z"}],"ghsa":[{"id":"GHSA-pv8c-73v5-8vpj","title":"Heap-based buffer overflow in main.c of slocate 2.6, and possibly other versions, may allow local...","description":"Heap-based buffer overflow in main.c of slocate 2.6, and possibly other versions, may allow local users to gain privileges via a modified slocate database that causes a negative \"pathlen\" value to be used.","status":"published","published":"2022-05-03T03:09:47Z","modified":"2023-02-01T05:01:02Z","updated_at":"2026-11-02T14:49:39.648637Z"}],"nvd":[{"id":"CVE-2003-0848","description":"Heap-based buffer overflow in main.c of slocate 2.6, and possibly other versions, may allow local users to gain privileges via a modified slocate database that causes a negative \"pathlen\" value to be used.","status":"published","published":"2003-11-17T05:00:00Z","modified":"2026-06-16T22:03:04.43Z","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":"DSA-428","title":"slocate - buffer overflow","status":"published","published":"2004-01-20T00:00:00Z","modified":"2026-03-09T02:11:32.194148Z","updated_at":"2026-11-02T15:46:16.862196Z"},{"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"}]}}
