Description
In NetHack before 3.6.5, unknown options starting with -de and -i can cause a buffer overflow resulting in a crash or remote code execution/privilege escalation. This vulnerability affects systems that have NetHack installed suid/sgid and shared systems that allow users to influence command line options. Users should upgrade to NetHack 3.6.5.
References (2)
Core 2
Core References
Patch x_refsource_misc
https://github.com/NetHack/NetHack/commit/f3def5c0b999478da2d0a8f0b6a7c370a2065f77
Third Party Advisory x_refsource_confirm
https://github.com/NetHack/NetHack/security/advisories/GHSA-fw72-r8xm-45p8
Scores
CVSS v3
5.0
EPSS
0.0169
EPSS Percentile
82.4%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L
Details
CWE
CWE-120
Status
published
Products (1)
nethack/nethack
< 3.6.5
Published
Jan 28, 2020
Tracked Since
Feb 18, 2026