Description
In NetHack before 3.6.5, an extremely long value for the MENUCOLOR configuration file option 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 upload their own configuration files. Users should upgrade to NetHack 3.6.5.
References (1)
Core 1
Core References
Third Party Advisory x_refsource_confirm
https://github.com/NetHack/NetHack/security/advisories/GHSA-g89f-m829-4m56
Scores
CVSS v3
5.0
EPSS
0.0184
EPSS Percentile
83.1%
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