{"schemaVersion":3,"id":"MGASA-2021-0077","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Updated nethack packages fix security vulnerabilities\n\nUpdated nethack packages fix security vulnerabilities:\n\nNetHack 3.6.x before 3.6.4 is prone to a buffer overflow vulnerability when\nreading very long lines from configuration files. This affects systems that\nhave NetHack installed suid/sgid, and shared systems that allow users to\nupload their own configuration files (CVE-2019-19905).\n\nIn NetHack before 3.6.5, unknown options starting with -de and -i can cause\na buffer overflow resulting in a crash or remote code execution/privilege\nescalation. This vulnerability affects systems that have NetHack installed\nsuid/sgid and shared systems that allow users to influence command line\noptions (CVE-2020-5209).\n\nIn NetHack before 3.6.5, an invalid argument to the -w command line option\ncan cause a buffer overflow resulting in a crash or remote code\nexecution/privilege escalation. This vulnerability affects systems that have\nNetHack installed suid/sgid and shared systems that allow users to influence\ncommand line options (CVE-2020-5210).\n\nIn NetHack before 3.6.5, an invalid extended command in value for the\nAUTOCOMPLETE configuration file option can cause a buffer overflow resulting\nin a crash or remote code execution/privilege escalation. This vulnerability\naffects systems that have NetHack installed suid/sgid and shared systems\nthat allow users to upload their own configuration files (CVE-2020-5211).\n\nIn NetHack before 3.6.5, an extremely long value for the MENUCOLOR\nconfiguration file option can cause a buffer overflow resulting in a crash\nor remote code execution/privilege escalation. This vulnerability affects\nsystems that have NetHack installed suid/sgid and shared systems that allow\nusers to upload their own configuration files (CVE-2020-5212).\n\nIn NetHack before 3.6.5, too long of a value for the SYMBOL configuration\nfile option can cause a buffer overflow resulting in a crash or remote code\nexecution/privilege escalation. This vulnerability affects systems that have\nNetHack installed suid/sgid and shared systems that allow users to upload\ntheir own configuration files (CVE-2020-5213).\n\nIn NetHack before 3.6.5, detecting an unknown configuration file option can\ncause a buffer overflow resulting in a crash or remote code\nexecution/privilege escalation. This vulnerability affects systems that have\nNetHack installed suid/sgid and shared systems that allow users to upload\ntheir own configuration files (CVE-2020-5214).\n\nIn NetHack before 3.6.6, some out-of-bound values for the hilite_status\noption can be exploited (CVE-2020-5254).\n\nThe nethack package has been updated to version 3.6.6, fixing these issues\nand other bugs. See the upstream release notes for details.","dates":{"published":"2021-02-10T18:41:52.000Z","modified":"2026-04-16T04:42:35.794Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":null,"severity":"unknown","version":null,"versionLabel":null,"source":null,"vector":null,"computed":false,"selection":"none"},"metrics":[]},"epss":{"probability":null,"percentile":null,"severity":"unknown","asOf":null,"change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[],"last30":[]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[],"affected":[{"vendor":"mageia","product":"nethack","name":"nethack","label":"nethack","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/nethack","purlType":"rpm","versions":[{"text":"< 3.6.6-1.mga7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.6.6-1.mga7","eol":null,"hubHref":null}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://advisories.mageia.org/MGASA-2021-0077.html","label":"advisories.mageia.org/MGASA-2021-0077.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=26228","label":"bugs.mageia.org/show_bug.cgi?id=26228","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://nethack.org/v362/release.html","label":"nethack.org/v362/release.html","hostname":"nethack.org","tags":["WEB"]},{"url":"https://nethack.org/v363/release.html","label":"nethack.org/v363/release.html","hostname":"nethack.org","tags":["WEB"]},{"url":"https://nethack.org/v364/release.html","label":"nethack.org/v364/release.html","hostname":"nethack.org","tags":["WEB"]},{"url":"https://nethack.org/v365/release.html","label":"nethack.org/v365/release.html","hostname":"nethack.org","tags":["WEB"]},{"url":"https://nethack.org/v366/release.html","label":"nethack.org/v366/release.html","hostname":"nethack.org","tags":["WEB"]},{"url":"https://www.nethack.org/security/CVE-2019-19905.html","label":"www.nethack.org/security/CVE-2019-19905.html","hostname":"www.nethack.org","tags":["Advisory"]},{"url":"https://www.nethack.org/security/CVE-2020-5209.html","label":"www.nethack.org/security/CVE-2020-5209.html","hostname":"www.nethack.org","tags":["Advisory"]},{"url":"https://www.nethack.org/security/CVE-2020-5210.html","label":"www.nethack.org/security/CVE-2020-5210.html","hostname":"www.nethack.org","tags":["Advisory"]},{"url":"https://www.nethack.org/security/CVE-2020-5211.html","label":"www.nethack.org/security/CVE-2020-5211.html","hostname":"www.nethack.org","tags":["Advisory"]},{"url":"https://www.nethack.org/security/CVE-2020-5212.html","label":"www.nethack.org/security/CVE-2020-5212.html","hostname":"www.nethack.org","tags":["Advisory"]},{"url":"https://www.nethack.org/security/CVE-2020-5213.html","label":"www.nethack.org/security/CVE-2020-5213.html","hostname":"www.nethack.org","tags":["Advisory"]},{"url":"https://www.nethack.org/security/CVE-2020-5214.html","label":"www.nethack.org/security/CVE-2020-5214.html","hostname":"www.nethack.org","tags":["Advisory"]},{"url":"https://www.nethack.org/security/CVE-2020-5254.html","label":"www.nethack.org/security/CVE-2020-5254.html","hostname":"www.nethack.org","tags":["Advisory"]}],"lineage":{"upstream":["CVE-2019-19905","CVE-2020-5209","CVE-2020-5210","CVE-2020-5211","CVE-2020-5212","CVE-2020-5213","CVE-2020-5214","CVE-2020-5254"],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-02-10T18:41:52.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-04-16T04:42:35.794Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":0,"level":"minimal","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T17:03:45.323Z","stale":false,"partial":false}}