CVE-2019-19905 Memory corruption in n/a
Buffer overflow in NetHack allows privilege escalation or code execution on systems with suid/sgid binaries or user-uploaded configs.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-19905?
CVE-2019-19905 is a critical memory corruption vulnerability in n/a, published on 19 Dec 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-120
Which versions are affected by CVE-2019-19905?
It affects 1 product.
Products include Nethack Nethack.
How do I fix CVE-2019-19905?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2019-19905 being exploited?
There is no known exploitation of CVE-2019-19905 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in n/a
- CVE-2023-24809 NetHack Call command buffer overflow
- CVE-2020-5209 NetHack command line parsing of options starting with -de and -i is subject to a buffer overflow
- CVE-2020-5210 NetHack command line -w option parsing is subject to a buffer overflow
- CVE-2020-5211 NetHack AUTOCOMPLETE configuration file option is subject to a buffer overflow
- CVE-2020-5212 NetHack MENUCOLOR configuration file option is subject to a buffer overflow
Sources
Also known as CVE-2019-16787, DEBIAN-CVE-2019-19905, GHSA-3cm7-rgh5-9pq5, GHSA-fqgf-vjr9-95rf, UBUNTU-CVE-2019-19905.