CVE-2019-19905
CVE-2019-19905 is a critical-severity vulnerability in Nethack with a CVSS 3.x base score of 9.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-120.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- CVSS v2: 7.5
- EPSS exploit prediction: 3% (87th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-120
- Affected product: Nethack
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2019-19905?
- 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.
- How severe is CVE-2019-19905?
- CVE-2019-19905 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2019-19905 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (87th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2019-19905?
- CVE-2019-19905 affects Nethack. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2019-19905?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- When was CVE-2019-19905 published?
- CVE-2019-19905 was published on 2019-12-19 and last updated on 2026-06-17.
References
- https://bugs.debian.org/947005
- https://github.com/NetHack/NetHack/commit/f001de79542b8c38b1f8e6d7eaefbbd28ab94b47
- https://github.com/NetHack/NetHack/commit/f4a840a48f4bcf11757b3d859e9d53cc9d5ef226
- https://github.com/NetHack/NetHack/security/advisories/GHSA-3cm7-rgh5-9pq5
- https://nethack.org/security/
Affected products (1)
- cpe:2.3:a:nethack:nethack:*:*:*:*:*:*:*:*
More vulnerabilities in Nethack
- CVE-2023-24809 — Medium (CVSS 5.5): NetHack is a single player dungeon exploration game. Starting with version 3.6.2 and prior to version 3.6.7, illegal…
- CVE-2020-5211 — Medium (CVSS 5.0): In NetHack before 3.6.5, an invalid extended command in value for the AUTOCOMPLETE configuration file option can cause…
- CVE-2020-5214 — Medium (CVSS 5.0): In NetHack before 3.6.5, detecting an unknown configuration file option can cause a buffer overflow resulting in a…
- CVE-2020-5213 — Medium (CVSS 5.0): In NetHack before 3.6.5, too long of a value for the SYMBOL configuration file option can cause a buffer overflow…
- CVE-2020-5212 — Medium (CVSS 5.0): In NetHack before 3.6.5, an extremely long value for the MENUCOLOR configuration file option can cause a buffer…
- CVE-2020-5210 — Medium (CVSS 5.0): In NetHack before 3.6.5, an invalid argument to the -w command line option can cause a buffer overflow resulting in a…
Other CWE-120 (Classic Buffer Overflow) vulnerabilities
- CVE-2025-48611 — Critical (CVSS 10.0): In DeviceId of DeviceId.java, there is a possible desync in persistence due to a missing bounds check. This could lead…
- CVE-2026-24823 — Critical (CVSS 10.0): Out-of-bounds Write, Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability in FASTSHIFT…
- CVE-2026-24810 — Critical (CVSS 10.0): Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability in rethinkdb (src/cjson modules).…
- CVE-2026-24800 — Critical (CVSS 10.0): Out-of-bounds Write, Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability in tildearrow…
- CVE-2025-9962 — Critical (CVSS 10.0): A buffer overflow vulnerability in Novakon P series allows attackers to gain root permission without prior…
- CVE-2010-10016 — Critical (CVSS 10.0): BS.Player version 2.57 (build 1051) contains a vulnerability in its playlist import functionality. When processing .m3u…
Browse all CWE-120 (Classic Buffer Overflow) vulnerabilities →