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.
Conclusion & alert: CVE-2020-5212 is rated Moderate Risk (49.7/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 1.84%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-11-21 | 0.94% | 1.84% | +0.89% |
| 2 | 2025-11-18 | 1.84% | 0.94% | -0.89% |
| 3 | 2025-05-05 | — | 1.84% | — |
Full EPSS history (16 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.0 | 3.1 | MEDIUM |
|
0.8 | 3.7 | [email protected] |
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
| 7.5 | 2.0 | HIGH |
|
10.0 | 6.4 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
critical | CVE-2020-5212: 1 source package rows (nethack); 2 state rows across 2 repos (3.22-community, edge-community); fixed 0, open 2. | https://security.alpinelinux.org/vuln/CVE-2020-5212 |
debian
|
unimportant | CVE-2020-5212 unimportant priority: Debian including 1 source packages (nethack), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2020-5212 |
ubuntu
|
low | CVE-2020-5212 low priority: Ubuntu including 1 source packages (nethack), 17 status rows across 17 suites (bionic, eoan, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): not-affected 12, needed 2, DNE 1, ignored 1, released 1. | https://ubuntu.com/security/CVE-2020-5212 |
| URL | Tags |
|---|---|
| https://github.com/NetHack/NetHack/security/advisories/GHSA-g89f-m829-4m56 | Third Party Advisory |