CVE-2020-5214

NetHack error recovery after syntax error in configuration file is subject to a buffer overflow

State
Published
Severity
5.0 Medium
Published
Jan 28, 2020
Updated
Aug 4, 2024
Reserved
Jan 2, 2020

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.15.0 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:LGitHub_M

Weaknesses

Affected Products

ProductVersions
NetHackNetHack
  • < 3.6.5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.