CVE-2020-5213: NetHack SYMBOL configuration file option is subject to a buffer overflow

Published Jan 28, 2020
·
Updated

In NetHack before 3.6.5, too long of a value for the SYMBOL 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.

Affected Software

1 affected component
NetHack NetHack<3.6.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.6.5

Event History

Jan 28, 2020
CVE Published
via MITRE·05:55 PM
Data Sourced
via MITRE·05:55 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2020-5213?

CVE-2020-5213 is considered a high-severity vulnerability due to its potential for remote code execution and privilege escalation.

2

How do I fix CVE-2020-5213?

To fix CVE-2020-5213, upgrade to NetHack version 3.6.5 or later.

3

What systems are affected by CVE-2020-5213?

CVE-2020-5213 affects systems that have NetHack installed with suid/sgid permissions.

4

Can CVE-2020-5213 lead to remote code execution?

Yes, CVE-2020-5213 can lead to remote code execution due to a buffer overflow vulnerability.

5

Is CVE-2020-5213 present in older versions of NetHack?

Yes, CVE-2020-5213 is present in all versions of NetHack before 3.6.5.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203