NetHack error recovery after syntax error in configuration file is subject to a buffer overflow
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-120 and the CVSS impact.
Summary
In NetHack before 3.6.5, detecting an unknown 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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
- Fix · CNA NetHack (NetHack) Fixed in 3.6.5
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2020-5214
References
More Nethack vulnerabilities
- TI-2019-14352 NetHack 3.6.x before 3.6.4 is prone to a buffer overflow vulnerability when reading very… CVSS 3.1CRITICAL 9.8
- TI-2020-04269 NetHack SYMBOL configuration file option is subject to a buffer overflow CVSS 3.1CRITICAL 9.8
- TI-2020-04268 NetHack MENUCOLOR configuration file option is subject to a buffer overflow CVSS 3.1CRITICAL 9.8
- TI-2020-04267 NetHack AUTOCOMPLETE configuration file option is subject to a buffer overflow CVSS 3.1CRITICAL 9.8
- TI-2020-04309 Privilege escalation in NetHack CVSS 3.1CRITICAL 9.8
- TI-2020-04310 NetHack hilite_status parsing privilege escalation CVSS 3.1HIGH 8.1
Sources
- CVE-2020-5214 · CVE Program
- CVE-2020-5214 · NVD
- FIRST EPSS
- CVE-2020-5214 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences