Live threats

All CVEs / Nethack

CVE-2020-5213Nethack

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.1%
probability of exploitation in 30 days · percentile 64
Auth required
No
Published
Jan 28, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-120
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Nethack.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
nethacknethack< 3.6.5

Official sources

References

Links published by the sources. Open them with care.