Skip to content
Noroxi
CVE-2003-0358· NVD / CVE Program· CNA mitre

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 gai

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.

MediumCVSS 4.6 · v2.0—Proof of concept Fix available
Published
Jun 9, 2003
Updated
Jun 16, 2026
EPSS
1.2% · 67th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

18

Monitor

Low priority for now.

CVSS
18 / 40 · 4.6 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 1.2%

Affected systems

VendorProduct
nethacknethack
falconseye projectfalconseye
debiandebian linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • debian debian linux2.2
  • debian debian linux3.0
  • falconseye project falconseyeup to 1.9.3 inclusive
  • nethack nethackup to 3.4.0 inclusive

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12nethackbefore 3.4.1-13.4.1-1
Debian:12slashembefore 0.0.6E4F8-60.0.6E4F8-6
Debian:3.0falconseyebefore 1.9.3-7woody31.9.3-7woody3
Debian:3.0jnethackbefore 1.1.5-11woody21.1.5-11woody2
Debian:3.0nethackbefore 3.4.0-3.0woody33.4.0-3.0woody3
Debian:3.0slashembefore 0.0.6E4F8-4.0woody30.0.6E4F8-4.0woody3

Other highest-scoring records for the same primary product.

  • CVE-2019-19905NetHack 3.6.x before 3.6.4 is prone to a buffer overflow vulnerability when reading very long lines from configuration files.
    40Plan
  • CVE-2020-5253Privilege escalation in NetHack
    39Monitor
  • CVE-2020-5211NetHack AUTOCOMPLETE configuration file option is subject to a buffer overflow
    39Monitor
  • CVE-2020-5214NetHack error recovery after syntax error in configuration file is subject to a buffer overflow
    39Monitor
  • CVE-2020-5213NetHack SYMBOL configuration file option is subject to a buffer overflow
    39Monitor
  • CVE-2020-5212NetHack MENUCOLOR configuration file option is subject to a buffer overflow
    39Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:falconseye1.9.3-7woody3 · Debian:3.0Package registry (OSV)
debian:jnethack1.1.5-11woody2 · Debian:3.0Package registry (OSV)
debian:nethack3.4.1-1 · Debian:12Package registry (OSV)
debian:slashem0.0.6E4F8-6 · Debian:12Package registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Exploit-DB entry ×3
  • Proof-of-concept repository on GitHub ×2

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Exploit-DB entrylocal2003-02-10
Exploit-DB entrylocal2003-02-10
Exploit-DB entrylocal2003-02-10
Proof-of-concept repository on GitHubstars:02022-12-17
Proof-of-concept repository on GitHubstars:02023-11-22

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. First PoC-119 d
  2. Published
  3. TodaySep 30, 2026+8514 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • No special conditions are required; it is repeatable.

If successful

Confidentiality
P · data can be read
Integrity
P · data or configuration can be modified
Availability
P · the service can be disrupted
Attack complexity
Low
Confidentiality impact
P
Integrity impact
P
Availability impact
P

CVSS vector

AV:L/AC:L/Au:N/C:P/I:P/A:P

nvd-primary

Root cause

When data is copied, the source length is not compared with the size of the destination buffer. Excess data overwrites adjacent memory.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

c
char buf[256];memcpy(buf, pkt->data, pkt->len);

Fixed

c
char buf[256];if (pkt->len > sizeof(buf)) {  return -EINVAL;}memcpy(buf, pkt->data, pkt->len);

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records