CVE-2003-0358: 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…
Noroxi assessment
Priority: Monitor (action score 18/100)
- Public proof-of-concept code exists (Exploit-DB, GitHub); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 1.2% (FIRST EPSS); higher than 69% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: nethack (Debian:12) 3.4.1-1; slashem (Debian:12) 0.0.6E4F8-6; falconseye (Debian:3.0) 1.9.3-7woody3.
Low priority for now. Upgrade to nethack (Debian:12) 3.4.1-1; slashem (Debian:12) 0.0.6E4F8-6; falconseye (Debian:3.0) 1.9.3-7woody3 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Jun 9, 2003
- Updated
- Jun 16, 2026
- EPSS
- 1.2% · 69th percentile
- CWE
- CWE-120
Report tools
Action score
18
Low priority for now.
- CVSS
- 18 / 40 · 4.6 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 1.2%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| nethack | nethack | cpe:2.3:a:nethack:nethack |
| falconseye project | falconseye | cpe:2.3:a:falconseye_project:falconseye |
| debian | debian linux | cpe:2.3:o:debian:debian_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.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | nethack | before 3.4.1-1 | 3.4.1-1 |
| Debian:12 | slashem | before 0.0.6E4F8-6 | 0.0.6E4F8-6 |
| Debian:3.0 | falconseye | before 1.9.3-7woody3 | 1.9.3-7woody3 |
| Debian:3.0 | jnethack | before 1.1.5-11woody2 | 1.1.5-11woody2 |
| Debian:3.0 | nethack | before 3.4.0-3.0woody3 | 3.4.0-3.0woody3 |
| Debian:3.0 | slashem | before 0.0.6E4F8-4.0woody3 | 0.0.6E4F8-4.0woody3 |
Same product
nethack: all recordsOther 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 NetHack39Monitor
- CVE-2020-5211NetHack AUTOCOMPLETE configuration file option is subject to a buffer overflow39Monitor
Published before and after this one in the same product
- Later →CVE-2020-5209Jan 28, 2020 · NetHack command line parsing of options starting with -de and -i is subject to a buffer overflow31Monitor
- Later →CVE-2020-5210Jan 28, 2020 · NetHack command line -w option parsing is subject to a buffer overflow31Monitor
- Later →CVE-2020-5212Jan 28, 2020 · NetHack MENUCOLOR configuration file option is subject to a buffer overflow39Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:falconseye | 1.9.3-7woody3 · Debian:3.0 | Package registry (OSV) |
| debian:jnethack | 1.1.5-11woody2 · Debian:3.0 | Package registry (OSV) |
| debian:nethack | 3.4.1-1 · Debian:12 | Package registry (OSV) |
| debian:slashem | 0.0.6E4F8-6 · Debian:12 | Package 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.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | local | 2003-02-10 |
| Exploit-DB entry | local | 2003-02-10 |
| Exploit-DB entry | local | 2003-02-10 |
| Proof-of-concept repository on GitHub | stars:0 | 2022-12-17 |
| Proof-of-concept repository on GitHub | stars:0 | 2023-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.
- First PoC-119 d
- Published
- TodayNov 16, 2026+8562 d
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
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
Weakness class (CWE)
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')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.
The bug in code
The whole CWE-120 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
char buf[256];
memcpy(buf, pkt->data, pkt->len);Fixed
char buf[256];
if (pkt->len > sizeof(buf)) {
return -EINVAL;
}
memcpy(buf, pkt->data, pkt->len);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Overflow BuffersCAPEC-100likelihood: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24likelihood: High · High
- MIME ConversionCAPEC-42likelihood: High · High
- Overflow Binary Resource FileCAPEC-44likelihood: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
- Overflow Variables and TagsCAPEC-46likelihood: High · High
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (4 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.