Skip to content

CVE-2023-24809 NetHack Call command buffer overflow

MediumCVSS 5.5 EPSS 0.24%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
debian/nethack(Debian:12) All versions No fix listed
debian/nethack(Debian:12) = 3.6.6-3 No fix listed
debian/nethack(Debian:12) = 3.6.7-1 No fix listed
debian/nethack(Debian:12) = 3.6.7-2 No fix listed
debian/nethack(Debian:12) = 3.6.7-3 No fix listed
debian/nethack(Debian:12) = 3.6.7-4 No fix listed
debian/nethack(Debian:13) < 3.6.7-1 3.6.7-1
debian/nethack(Debian:14) < 3.6.7-1 3.6.7-1
nethack = >= 3.6.2, < 3.6.7 No fix listed
ubuntu/nethack(Ubuntu:22.04) All versions No fix listed
nethack >= 3.6.2, < 3.6.7 3.6.7
alpine/nethack(Alpine:v3.18) >= 3.6.2, < 3.6.7-r0 3.6.7-r0
alpine/nethack(Alpine:v3.19) >= 3.6.2, < 3.6.7-r0 3.6.7-r0
alpine/nethack(Alpine:v3.20) >= 3.6.2, < 3.6.7-r0 3.6.7-r0
alpine/nethack(Alpine:v3.21) >= 3.6.2, < 3.6.7-r0 3.6.7-r0
alpine/nethack(Alpine:v3.22) >= 3.6.2, < 3.6.7-r0 3.6.7-r0
alpine/nethack(Alpine:v3.23) >= 3.6.2, < 3.6.7-r0 3.6.7-r0
alpine/nethack(Alpine:v3.24) >= 3.6.2, < 3.6.7-r0 3.6.7-r0
ubuntu/nethack(Ubuntu:24.04) All versions No fix listed
ubuntu/nethack(Ubuntu:26.04) All versions No fix listed
ubuntu/nethack(Ubuntu:26.10) All versions No fix listed

References