CVE-2003-0102 Memory corruption in n/a

Medium 4.6 Published Updated

A buffer overflow in the file command allows attackers to execute arbitrary code by providing a crafted ELF file with a large entity size.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2003-0102?

CVE-2003-0102 is a medium-severity memory corruption vulnerability in Netbsd Netbsd, published on 1 Sep 2004. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Buffer overflow in tryelf() in readelf.c of the file command allows attackers to execute arbitrary code as the user running file, possibly via a large entity size value in an ELF header (elfhdr.e_shentsize).

Which versions are affected by CVE-2003-0102?

It affects 2 products.

Products include File File, Netbsd Netbsd.

How do I fix CVE-2003-0102?

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-0102 being exploited?

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

Public exploit code: 2 Exploit-DB entries.

All Netbsd Netbsd vulnerabilities

Sources

Also known as DEBIAN-CVE-2003-0102, DSA-260, GHSA-8hj3-wvpv-xrpr.

Is CVE-2003-0102 in your software?

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

Check your SBOMs for free