CVE-2003-0848 Memory corruption in n/a

Medium 4.6 Published Updated

Local attackers can gain privileges by exploiting a heap-based buffer overflow in slocate via a crafted database file.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2003-0848?

CVE-2003-0848 is a medium-severity memory corruption vulnerability in n/a, published on 9 Oct 2003. It can only be exploited from the same machine or local network, with no action from the victim.

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

Which versions are affected by CVE-2003-0848?

It affects 1 product.

Products include Slocate Slocate.

How do I fix CVE-2003-0848?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2003-0848 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2003-0848 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as DSA-428, GHSA-pv8c-73v5-8vpj.

Is CVE-2003-0848 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free