Buffer overflow in Nethack

CVE-2020-5213

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.

Vulnerability class: Buffer Overflow

EPSS: 0.011 (61.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.0 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2020-5213?
CVE-2020-5213 is a medium-severity vulnerability in Nethack, classified under Buffer Copy without Checking Size of Input (Classic Buffer Overflow). CVSS score: 5.0/10. Published 2020-01-28.
How severe is CVE-2020-5213?
Medium severity. CVSS v3 base score is 5.0 out of 10.