CVE-2003-0848: Heap-based buffer overflow in main.c of slocate 2.6, and possibly other versions, may allow local users to gai
CVE-2003-0848 is a medium-severity flaw (CVSS 4.6) affecting slocate. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
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 | 1.0% (top 38%) |
| CISA exploited list | No |
| Published | 2003-11-17 |
| 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.
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-0848?
slocate: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2003-0848 being exploited?
CVE-2003-0848 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-0848 affect?
CVE-2003-0848 affects slocate. Severity is medium (CVSS 4.6). 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.
How urgent is CVE-2003-0848?
Priority 37/100. Public exploit reference
Related CVEs
- CVE-2007-0227 MEDIUM 5.0 DOWNGRADE slocate 3.1 does not properly manage database entries that specify names of files in protected directories, wh
- CVE-2003-0326 MEDIUM 4.6 MITIGATE Integer overflow in parse_decode_path() of slocate may allow attackers to execute arbitrary code via a LOCATE_
- CVE-2003-0056 HIGH 7.2 DOWNGRADE Buffer overflow in secure locate (slocate) before 2.7 allows local users to execute arbitrary code via a long