{"id":"CVE-2020-5209","aliases":["CVE-2020-5209"],"related":[],"kind":"vulnerability","state":"published","title":"NetHack command line parsing of options starting with -de and -i is subject to a buffer overflow","summary":"In NetHack before 3.6.5, unknown options starting with -de and -i 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 influence command line options. Users should upgrade to NetHack 3.6.5.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In NetHack before 3.6.5, unknown options starting with -de and -i 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 influence command line options. Users should upgrade to NetHack 3.6.5.","source":"cvelist"},{"lang":"es","text":"En NetHack versiones anteriores a 3.6.5, las opciones desconocidas que comienzan con -de y -i pueden causar un desbordamiento del búfer resultando en un bloqueo o en 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 influir en las opciones de línea de comandos. Los usuarios deberían actualizar a NetHack versión 3.6.5.","source":"nvd"}],"published":"2020-01-28T17:50:19.000Z","modified":"2026-06-17T03:21:01.783Z","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:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","score":4.6,"rating":"MEDIUM"}],"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/commit/f3def5c0b999478da2d0a8f0b6a7c370a2065f77","tags":["patch","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/NetHack/NetHack/security/advisories/GHSA-fw72-r8xm-45p8","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-5209","url":"https://www.cve.org/CVERecord?id=CVE-2020-5209","licence":"CVE Terms of Use","modified":"2024-08-04T08:22:08.881Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-5209","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5209","licence":"Public domain","modified":"2026-06-17T03:21:01.783Z"}],"updatedAt":"2026-11-25T22:57:50.701Z","epss":{"score":0.00803,"percentile":0.57859,"date":"2026-12-01T12:00:22.000Z"}}