CVEfocus › CVE database › CVE-2023-24809

CVE-2023-24809NetHack Call command buffer overflow

CVSS 5.5 MediumEPSS 0.2% (higher than 14% of CVEs)Published 2023-02-17Updated 2025-03-10Assigner: GitHub_M

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.

CWE-120

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

9Fixed
2Fix pending
3Under investigation
5Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10nethackFix pendingUBUNTU-CVE-2023-24809
Ubuntu 26.04nethackUnder investigationUBUNTU-CVE-2023-24809
Ubuntu 25.10nethackWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-24809
Ubuntu 24.04nethackUnder investigationUBUNTU-CVE-2023-24809
Ubuntu 22.04nethackUnder investigationUBUNTU-CVE-2023-24809
Ubuntu 20.04nethackWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-24809
Ubuntu 18.04nethackWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-24809
Ubuntu 16.04nethackWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-24809
Ubuntu 14.04nethackWill not fix
Ubuntu decided not to fix this in this release
Debian 14nethackFixed3.6.7-1DEBIAN-CVE-2023-24809
Debian 13nethackFixed3.6.7-1DEBIAN-CVE-2023-24809
Debian 12nethackFix pendingDEBIAN-CVE-2023-24809
Alpine Linux 3.24nethackFixed3.6.7-r0ALPINE-CVE-2023-24809
Alpine Linux 3.23nethackFixed3.6.7-r0ALPINE-CVE-2023-24809
Alpine Linux 3.22nethackFixed3.6.7-r0ALPINE-CVE-2023-24809
Alpine Linux 3.21nethackFixed3.6.7-r0ALPINE-CVE-2023-24809
Alpine Linux 3.20nethackFixed3.6.7-r0ALPINE-CVE-2023-24809
Alpine Linux 3.19nethackFixed3.6.7-r0ALPINE-CVE-2023-24809
Alpine Linux 3.18nethackFixed3.6.7-r0ALPINE-CVE-2023-24809

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.