{"id":"UBUNTU-CVE-2023-24809","details":"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.","modified":"2026-05-20T16:13:19.581592459Z","published":"2023-02-17T20:15:00Z","upstream":["CVE-2023-24809"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-24809"},{"type":"REPORT","url":"https://github.com/NetHack/NetHack/security/advisories/GHSA-2cqv-5w4v-mgch"},{"type":"REPORT","url":"https://nethack.org/security/CVE-2023-24809.html"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-24809"}],"affected":[{"package":{"name":"nethack","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/nethack?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.4.3-15","3.4.3-15build1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.4.3-15build1","binary_name":"nethack-common"},{"binary_version":"3.4.3-15build1","binary_name":"nethack-console"},{"binary_name":"nethack-lisp","binary_version":"3.4.3-15build1"},{"binary_version":"3.4.3-15build1","binary_name":"nethack-x11"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-24809.json"}},{"package":{"name":"nethack","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/nethack?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.0-4"],"ecosystem_specific":{"binaries":[{"binary_version":"3.6.0-4","binary_name":"nethack-common"},{"binary_name":"nethack-console","binary_version":"3.6.0-4"},{"binary_version":"3.6.0-4","binary_name":"nethack-lisp"},{"binary_version":"3.6.0-4","binary_name":"nethack-x11"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-24809.json"}},{"package":{"name":"nethack","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/nethack?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.6.1-1","binary_name":"nethack-common"},{"binary_version":"3.6.1-1","binary_name":"nethack-console"},{"binary_name":"nethack-lisp","binary_version":"3.6.1-1"},{"binary_version":"3.6.1-1","binary_name":"nethack-x11"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-24809.json"}},{"package":{"name":"nethack","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/nethack?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.6-2build1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.6.6-2build1","binary_name":"nethack-common"},{"binary_version":"3.6.6-2build1","binary_name":"nethack-console"},{"binary_version":"3.6.6-2build1","binary_name":"nethack-qt"},{"binary_name":"nethack-x11","binary_version":"3.6.6-2build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-24809.json"}},{"package":{"name":"nethack","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/nethack?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.7-1","3.6.7-1build2","3.6.7-1build3"],"ecosystem_specific":{"binaries":[{"binary_version":"3.6.7-1build3","binary_name":"nethack-common"},{"binary_name":"nethack-console","binary_version":"3.6.7-1build3"},{"binary_name":"nethack-qt","binary_version":"3.6.7-1build3"},{"binary_name":"nethack-x11","binary_version":"3.6.7-1build3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-24809.json"}},{"package":{"name":"nethack","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/nethack?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.7-1build3","3.6.7-2"],"ecosystem_specific":{"binaries":[{"binary_name":"nethack-common","binary_version":"3.6.7-2"},{"binary_name":"nethack-console","binary_version":"3.6.7-2"},{"binary_name":"nethack-qt","binary_version":"3.6.7-2"},{"binary_version":"3.6.7-2","binary_name":"nethack-x11"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-24809.json"}},{"package":{"name":"nethack","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/nethack?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.7-2","3.6.7-2build1"],"ecosystem_specific":{"binaries":[{"binary_name":"nethack-common","binary_version":"3.6.7-2build1"},{"binary_version":"3.6.7-2build1","binary_name":"nethack-console"},{"binary_version":"3.6.7-2build1","binary_name":"nethack-qt"},{"binary_name":"nethack-x11","binary_version":"3.6.7-2build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-24809.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}