CVE-2003-0358 Memory corruption in n/a

Medium 4.6 Published Updated

Local attackers can exploit a buffer overflow in Nethack via the -s option to execute arbitrary code and gain elevated privileges.

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-0358?

CVE-2003-0358 is a medium-severity memory corruption vulnerability in Debian Debian Linux, published on 30 May 2003. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Buffer overflow in (1) nethack 3.4.0 and earlier, and (2) falconseye 1.9.3 and earlier, which is based on nethack, allows local users to gain privileges via a long -s command line option.

Weakness: CWE-120

Which versions are affected by CVE-2003-0358?

It affects 3 products.

Products include Debian Debian Linux, Falconseye Project Falconseye, Nethack Nethack.

How do I fix CVE-2003-0358?

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

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

Public exploit code: 3 Exploit-DB entries and 2 proofs of concept on GitHub.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2003-0358, DSA-316-2, DSA-350, GHSA-h59w-g68x-v974.

Is CVE-2003-0358 in your software?

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

Check your SBOMs for free