Heap-based buffer overflow in main.c of slocate 2.6, and possibly other versions, may…
Priority LOW 23Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat.
Summary
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 it matters now
EPSS 0.00987 62nd percentileScored 2026-11-07
Fix Fixed Red Hat: 2 advisories
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:slocate:slocate:2.1:*:*:*:*:*:*:* | 2.1 | Vulnerable | Slocate |
| cpe:2.3:a:slocate:slocate:2.2:*:*:*:*:*:*:* | 2.2 | Vulnerable | Slocate |
| cpe:2.3:a:slocate:slocate:2.3:*:*:*:*:*:*:* | 2.3 | Vulnerable | Slocate |
| cpe:2.3:a:slocate:slocate:2.4:*:*:*:*:*:*:* | 2.4 | Vulnerable | Slocate |
| cpe:2.3:a:slocate:slocate:2.5:*:*:*:*:*:*:* | 2.5 | Vulnerable | Slocate |
| cpe:2.3:a:slocate:slocate:2.6:*:*:*:*:*:*:* | 2.6 | Vulnerable | Slocate |
- cpe:2.3:a:slocate:slocate:2.1:*:*:*:*:*:*:* Versions 2.1 Vulnerable ·Slocate
- cpe:2.3:a:slocate:slocate:2.2:*:*:*:*:*:*:* Versions 2.2 Vulnerable ·Slocate
- cpe:2.3:a:slocate:slocate:2.3:*:*:*:*:*:*:* Versions 2.3 Vulnerable ·Slocate
- cpe:2.3:a:slocate:slocate:2.4:*:*:*:*:*:*:* Versions 2.4 Vulnerable ·Slocate
- cpe:2.3:a:slocate:slocate:2.5:*:*:*:*:*:*:* Versions 2.5 Vulnerable ·Slocate
- cpe:2.3:a:slocate:slocate:2.6:*:*:*:*:*:*:* Versions 2.6 Vulnerable ·Slocate
Remediation
Red Hat 2 advisories
- RHSA-2004:041 Released 2004-01-26 · Red Hat rating Moderateslocate security update
- Red Hat Desktop version 3 slocate-2.7-3, slocate-2.7-3.i386
- Red Hat Enterprise Linux AS version 3 slocate-2.7-3, slocate-2.7-3.i386, slocate-2.7-3.ia64 +1
- Red Hat Enterprise Linux ES version 3 slocate-2.7-3, slocate-2.7-3.i386, slocate-2.7-3.ia64
- Red Hat Enterprise Linux WS version 3 slocate-2.7-3, slocate-2.7-3.i386, slocate-2.7-3.ia64
- RHSA-2004:040 Released 2004-01-22 · Red Hat rating Moderate: Updated slocate packages fix vulnerability
- Red Hat Linux 9
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Desktop version 3 | Fixed | RHSA-2004:041 |
| Red Hat Enterprise Linux AS version 3 | Fixed | RHSA-2004:041 |
| Red Hat Enterprise Linux ES version 3 | Fixed | RHSA-2004:041 |
| Red Hat Enterprise Linux WS version 3 | Fixed | RHSA-2004:041 |
| Red Hat Linux 9 | Fixed | RHSA-2004:040 |
Timeline
- 2026-10-02 Threatist record created from CVE-2003-0848
- 2026-10-03 Alias added: GHSA-pv8c-73v5-8vpj
References
Patch 1
More Slocate vulnerabilities
- TI-2003-00052 Buffer overflow in secure locate (slocate) before 2.7 allows local users to execute… CVSS 2.0HIGH 7.2
- TI-2007-00220 slocate 3.1 does not properly manage database entries that specify names of files in… CVSS 2.0MEDIUM 5.0
- TI-2003-00306 Integer overflow in parse_decode_path() of slocate may allow attackers to execute… CVSS 2.0MEDIUM 4.6
- TI-2005-02365 slocate before 2.7 does not properly process very long paths, which allows local users to… CVSS 2.0LOW 2.1
Sources
- CVE-2003-0848 · CVE Program
- CVE-2003-0848 · NVD
- FIRST EPSS
- GHSA-pv8c-73v5-8vpj · GitHub Advisory Database · CC BY 4.0
- CVE-2003-0848 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences