Live threats

All CVEs / Nethack

CVE-2020-5210Nethack

High 7.8

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

What happens

In NetHack before 3.6.5, an invalid argument to the -w command line 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 influence command line options. Users should upgrade to NetHack 3.6.5.

Original NVD text.

What to do

  1. Apply the vendor's security update for Nethack.

Affected products (CPE)

VendorProductVersions
nethacknethack< 3.6.5

Official sources

References

Links published by the sources. Open them with care.