NetHack: NetHack hilite_status parsing privilege escalation

Severity: High
Affected versions: 3.6.1 through 3.6.5
First Patched Version: 3.6.6

Basic Information:
Some out-of-bound values for the hilite_status option can be exploited.

This vulnerability affects systems that have NetHack installed suid/sgid and shared systems that allow users to upload their own configuration files.

Users are encouraged to upgrade as soon as possible.

Additional information related to this advisory, if any, will be made available at

08-Mar-2020 Fixed version 3.6.6 released. 03-Mar-2020 Bug reported.

The NetHack Development Team gratefully acknowledges security researcher David Mendenhall for discovering this issue and for responsibly reporting it.
Revision History:
08-Mar-2020 Initial Version.

Known Bug List
Version 3.6.6
Known Bug Search
Site Map
Old News
Security Issues
Developer Resources
Old Versions
Contact Us

Hosted courtesy of

NetHack is Copyright 1985-2020 by Stichting Mathematisch Centrum and M. Stephenson. See our license for details.
This site is Copyright 1999-2021 by Kenneth Lorber, Kensington, Maryland.