CWE
120 119
Advisory Published
Updated

CVE-2020-5211: NetHack AUTOCOMPLETE configuration file option is subject to a buffer overflow

First published: Tue Jan 28 2020(Updated: )

In NetHack before 3.6.5, an invalid extended command in value for the AUTOCOMPLETE 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.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
NetHack<3.6.5

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2020-5211?

    CVE-2020-5211 has a high severity rating due to its potential for remote code execution and privilege escalation.

  • How do I fix CVE-2020-5211?

    To fix CVE-2020-5211, you should upgrade to NetHack version 3.6.5 or later.

  • What systems are affected by CVE-2020-5211?

    CVE-2020-5211 affects systems that have NetHack installed with suid or sgid permissions.

  • Can CVE-2020-5211 lead to a system crash?

    Yes, CVE-2020-5211 can cause a buffer overflow resulting in a crash.

  • Is it safe to use older versions of NetHack after CVE-2020-5211 has been disclosed?

    It is not safe to use older versions of NetHack after the disclosure of CVE-2020-5211 due to the identified vulnerabilities.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203