Buffer overflow in Nethack

CVE-2023-24809

NetHack is a single player dungeon exploration game. Starting with version 3.6.2 and prior to version 3.6.7, illegal input to the "C" (call) command can cause a buffer overflow and crash the NetHack process. This vulnerability may be a security issue for systems that have NetHack installed suid/sgid and for shared systems. For all systems, it may result in a process crash. This issue is resolved in NetHack 3.6.7. There are no known workarounds.

Vulnerability class: Buffer Overflow

EPSS: 0.002 (14.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

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

Affected products

  • Nethack — versions >= 3.6.2, < 3.6.7

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2023-24809?
CVE-2023-24809 is a medium-severity vulnerability in Nethack, classified under Buffer Copy without Checking Size of Input (Classic Buffer Overflow). CVSS score: 5.5/10. Published 2023-02-17.
How severe is CVE-2023-24809?
Medium severity. CVSS v3 base score is 5.5 out of 10.