Skip to content
OpenAdvisories
Unscored Public exploit CVE-2003-0358 EUVD-2003-0353GHSA-h59w-g68x-v974

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 ga…

Published May 30, 2003 · Updated Aug 8, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 nethack 3.4.1-1 —
Debian 14 slashem 0.0.6E4F8-6 —
Debian 13 nethack 3.4.1-1 —
Debian 13 slashem 0.0.6E4F8-6 —
Debian 12 nethack 3.4.1-1 —
Debian 12 slashem 0.0.6E4F8-6 —
Debian 3.0 falconseye 1.9.3-7woody3 DSA-350
Debian 3.0 jnethack 1.1.5-11woody2 DSA-316-3
Debian 3.0 nethack 3.4.0-3.0woody3 DSA-316-1
Debian 3.0 slashem 0.0.6E4F8-4.0woody3 DSA-316-2

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 3

GitHub 2 repositories

  • fengjixuchui/CVE-2003-0358 ★ 0 · Nov 22, 2023

    By passing an overly large string when invoking nethack, it is possible to corrupt memory. jnethack and falconseye are also prone to this vulnerability.

  • gmh5225/CVE-2003-0358 ★ 0 · Dec 17, 2022

    By passing an overly large string when invoking nethack, it is possible to corrupt memory. jnethack and falconseye are also prone to this vulnerability.

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 4

References