{"id":"UBUNTU-CVE-2019-19905","details":"NetHack 3.6.x before 3.6.4 is prone to a buffer overflow vulnerability when reading very long lines from configuration files. This affects systems that have NetHack installed suid/sgid, and shared systems that allow users to upload their own configuration files.","modified":"2025-10-24T04:48:07Z","published":"2019-12-19T18:15:00Z","upstream":["CVE-2019-19905"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-19905"},{"type":"REPORT","url":"https://github.com/NetHack/NetHack/commit/f4a840a48f4bcf11757b3d859e9d53cc9d5ef226"},{"type":"REPORT","url":"https://github.com/NetHack/NetHack/commit/f001de79542b8c38b1f8e6d7eaefbbd28ab94b47"},{"type":"REPORT","url":"https://bugs.debian.org/947005"},{"type":"REPORT","url":"https://nethack.org/security/CVE-2019-19905.html"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-19905"}],"affected":[{"package":{"name":"nethack","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/nethack@3.6.0-4?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.0-4"],"ecosystem_specific":{"binaries":[{"binary_name":"nethack-common","binary_version":"3.6.0-4"},{"binary_name":"nethack-console","binary_version":"3.6.0-4"},{"binary_name":"nethack-lisp","binary_version":"3.6.0-4"},{"binary_name":"nethack-x11","binary_version":"3.6.0-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-19905.json"}},{"package":{"name":"nethack","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/nethack@3.6.1-1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"nethack-common","binary_version":"3.6.1-1"},{"binary_name":"nethack-console","binary_version":"3.6.1-1"},{"binary_name":"nethack-lisp","binary_version":"3.6.1-1"},{"binary_name":"nethack-x11","binary_version":"3.6.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-19905.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}