Vulnerability · Published Feb 17, 2023 · Assigned by GitHub_M
CVE-2023-24809NetHack Call command buffer overflow
Medium 5.5
In plain English
A medium-severity buffer overflow in NetHack from NetHack. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | nethack | 3.6.7-r0 | ALPINE-CVE-2023-24809 |
| Alpine:v3.21 | nethack | 3.6.7-r0 | ALPINE-CVE-2023-24809 |
| Alpine:v3.22 | nethack | 3.6.7-r0 | ALPINE-CVE-2023-24809 |
| Alpine:v3.23 | nethack | 3.6.7-r0 | ALPINE-CVE-2023-24809 |
| Alpine:v3.24 | nethack | 3.6.7-r0 | ALPINE-CVE-2023-24809 |
| Debian:12 | nethack | no fix listed | DEBIAN-CVE-2023-24809 |
| Debian:13 | nethack | 3.6.7-1 | DEBIAN-CVE-2023-24809 |
| Debian:14 | nethack | 3.6.7-1 | DEBIAN-CVE-2023-24809 |
| Ubuntu:22.04:LTS | nethack | no fix listed | UBUNTU-CVE-2023-24809 |
| Ubuntu:24.04:LTS | nethack | no fix listed | UBUNTU-CVE-2023-24809 |
| Ubuntu:25.10 | nethack | no fix listed | UBUNTU-CVE-2023-24809 |
| Ubuntu:26.04:LTS | nethack | no fix listed | UBUNTU-CVE-2023-24809 |
| Ubuntu:26.10 | nethack | no fix listed | UBUNTU-CVE-2023-24809 |
Affected products (as reported)
Weakness: CWE-120 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/NetHack/NetHack/security/advisories/GHSA-2cqv-5w4v-mgch x_refsource_CONFIRM
- https://nethack.org/security/CVE-2023-24809.html x_refsource_MISC