CVE-2020-5212
published medium CVSS 3.1 · 5.0NetHack MENUCOLOR configuration file option is subject to a buffer overflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| NetHack | — | NetHack< 3.6.5 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.0 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| NetHack | NetHack | < 3.6.5 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-120 CWE-120 Buffer Overflow
References
1Provider assertions
2GitHub_M · cna
NetHack MENUCOLOR configuration file option is subject to a buffer overflow
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 41012657d54857fb4ef297c662fc478684f043511a1c7e1eaa1bf80f34eb0e5d
- Ingested
- 23 Sep 2026, 07:51:02 UTC
- Source record
- Official CVE record