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

- Severity: Medium 5.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.07%, higher than 65% of CVEs (2026-12-01)
- Published: 2020-01-28T17:55:18.000Z
- Modified: 2026-06-17T03:21:02.227Z
- Weaknesses: CWE-120
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- NetHack NetHack: < 3.6.5; before 3.6.5

## Every score

- GitHub_M: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/NetHack/NetHack/security/advisories/GHSA-rr25-4v34-pr7v> (third-party-advisory)

## Sources

- CVE List: [CVE-2020-5213](https://www.cve.org/CVERecord?id=CVE-2020-5213), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-5213](https://nvd.nist.gov/vuln/detail/CVE-2020-5213), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-5213 · Whole record: https://cve.day/CVE-2020-5213.json · Rebuilt by cve.day 2026-11-25T22:57:50.702Z
