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.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| NetHack | NetHack | < 3.6.5 |
References
- https://github.com/NetHack/NetHack/security/advisories/GHSA-g89f-m829-4m56Third Party Advisory
- https://github.com/NetHack/NetHack/security/advisories/GHSA-g89f-m829-4m56Third Party Advisory
Timeline
- Published
- Jan 28, 2020
- Last modified
- Jun 17, 2026
- NVD status
- Modified