CVE-2003-0056: Buffer overflow in secure locate (slocate) before 2.7 allows local users to execute arbitrary code via a long
CVE-2003-0056 is a high-severity flaw (CVSS 7.2) affecting slocate. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 7.2 (High) |
| EPSS exploit chance | 1.1% (top 35%) |
| CISA exploited list | No |
| Published | 2003-02-19 |
| 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: slocate 2.5/2.6 - Local Buffer Overrun
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-0056?
slocate: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2003-0056 being exploited?
CVE-2003-0056 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-0056 affect?
CVE-2003-0056 affects slocate. Severity is high (CVSS 7.2). 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.
How urgent is CVE-2003-0056?
Priority 47/100. High severity; 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-0848 MEDIUM 4.6 DOWNGRADE Heap-based buffer overflow in main.c of slocate 2.6, and possibly other versions, may allow local users to gai
- 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_