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

Published Jan 28, 2020
·
Updated

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 Software

1 affected component
NetHack NetHack<3.6.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade NetHack to a version that resolves this vulnerability.

    Fixed in 3.6.5

Event History

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

Frequently Asked Questions

1

What is the severity of CVE-2020-5209?

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

2

How do I fix CVE-2020-5209?

To fix CVE-2020-5209, upgrade your NetHack installation to version 3.6.5 or later.

3

Which versions of NetHack are affected by CVE-2020-5209?

CVE-2020-5209 affects all versions of NetHack prior to 3.6.5.

4

What types of systems are vulnerable to CVE-2020-5209?

Systems that have NetHack installed with suid/sgid permissions are particularly vulnerable to CVE-2020-5209.

5

What is the potential impact of CVE-2020-5209?

The potential impact of CVE-2020-5209 includes a crash of the application or the possibility of remote code execution leading to unauthorized access.

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