CWE
120 119
Advisory Published
Updated

CVE-2020-5212: NetHack MENUCOLOR configuration file option is subject to a buffer overflow

First published: Tue Jan 28 2020(Updated: )

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.

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-5212?

    CVE-2020-5212 has a high severity due to the potential for remote code execution and privilege escalation.

  • How do I fix CVE-2020-5212?

    To fix CVE-2020-5212, users should update to NetHack version 3.6.5 or later.

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

    CVE-2020-5212 affects systems that have NetHack installed with suid/sgid settings.

  • What kind of vulnerability is CVE-2020-5212?

    CVE-2020-5212 is a buffer overflow vulnerability that can lead to application crashes or remote code execution.

  • Is CVE-2020-5212 relevant for shared systems?

    Yes, CVE-2020-5212 is particularly relevant for shared systems, as it can exploit configurations that allow elevated privileges.

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