Skip to content
OpenAdvisories
Medium · 5.5 CVE-2023-24809 EUVD-2023-28807

NetHack Call command buffer overflow

Published Feb 17, 2023 · Updated Mar 10, 2025 · Assigned by GitHub_M

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

VendorProductAffectedFixed
NetHack NetHack >= 3.6.2, < 3.6.7 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 nethack 3.6.7-1 —
Debian 13 nethack 3.6.7-1 —
Debian 12 nethack No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 nethack No fix yet —
Ubuntu 26.04 LTS nethack No fix yet —
Ubuntu 25.10 nethack No fix yet —
Ubuntu 24.04 LTS nethack No fix yet —
Ubuntu 22.04 LTS nethack No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS nethack No fix yet —
Ubuntu 18.04 LTS nethack No fix yet —
Ubuntu 16.04 LTS nethack No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.24 nethack 3.6.7-r0 —
Alpine v3.23 nethack 3.6.7-r0 —
Alpine v3.22 nethack 3.6.7-r0 —
Alpine v3.21 nethack 3.6.7-r0 —
Alpine v3.20 nethack 3.6.7-r0 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 nethack 3.6.7-r0 —
Alpine v3.18 nethack 3.6.7-r0 —

References