Skip to content
OpenAdvisories
Unscored Public exploit CVE-2019-19905 EUVD-2019-9497GHSA-fqgf-vjr9-95rf

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 …

Published Dec 19, 2019 · Updated Aug 5, 2024 · Assigned by mitre

Description

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.

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.6-1 —
Debian 13 nethack 3.6.6-1 —
Debian 12 nethack 3.6.6-1 —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS nethack No fix yet —
Ubuntu 18.04 LTS nethack No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.24 nethack 3.6.4-r0 —
Alpine v3.23 nethack 3.6.4-r0 —
Alpine v3.22 nethack 3.6.4-r0 —
Alpine v3.21 nethack 3.6.4-r0 —
Alpine v3.20 nethack 3.6.4-r0 —
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 nethack 3.6.4-r0 —
Alpine v3.18 nethack 3.6.4-r0 —
Alpine v3.17 nethack 3.6.4-r0 —
Alpine v3.16 nethack 3.6.4-r0 —
Alpine v3.15 nethack 3.6.4-r0 —
Alpine v3.14 nethack 3.6.4-r0 —
Alpine v3.13 nethack 3.6.4-r0 —
Alpine v3.12 nethack 3.6.4-r0 —
Alpine v3.11 nethack 3.6.4-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

References