{"id":"CVE-2020-5212","aliases":["CVE-2020-5212"],"related":[],"kind":"vulnerability","state":"published","title":"NetHack MENUCOLOR configuration file option is subject to a buffer overflow","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En NetHack versiones anteriores a 3.6.5, un valor extremadamente largo para la opción del archivo de configuración MENUCOLOR puede causar un desbordamiento del búfer resultando en un bloqueo o una ejecución de código remota/escalada de privilegios. Esta vulnerabilidad afecta a los sistemas que tienen instalado suid/sgid de NetHack y sistemas compartidos que permiten a usuarios cargar sus propios archivos de configuración. Los usuarios deberían actualizar a NetHack versión 3.6.5.","source":"nvd"}],"published":"2020-01-28T17:55:23.000Z","modified":"2026-06-17T03:21:02.120Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L","score":5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L","score":5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-120"],"affected":[{"ranges":[{"version":"< 3.6.5","status":"affected"}],"vendor":"NetHack","product":"NetHack","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"3.6.5"}],"vendor":"nethack","product":"nethack","cpe":"cpe:2.3:a:nethack:nethack:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/NetHack/NetHack/security/advisories/GHSA-g89f-m829-4m56","tags":["third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-5212","url":"https://www.cve.org/CVERecord?id=CVE-2020-5212","licence":"CVE Terms of Use","modified":"2024-08-04T08:22:08.776Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-5212","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5212","licence":"Public domain","modified":"2026-06-17T03:21:02.120Z"}],"updatedAt":"2026-11-25T22:57:50.702Z","epss":{"score":0.01067,"percentile":0.65724,"date":"2026-12-01T12:00:22.000Z"}}