What’s Vulnerable › Vulnerabilities

CVE-2020-5209: NetHack command line parsing of options starting with -de and -i is subject to a buffer overflow

Description

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.

Affected products

How to fix

Upgrade to a fixed version: NetHack 3.6.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2020-5209 or the next vulnerability affects your stack