CVE-2019-19905 Memory corruption in n/a

Critical 9.8 Published Updated

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.

Sources

Also known as CVE-2019-16787, DEBIAN-CVE-2019-19905, GHSA-3cm7-rgh5-9pq5, GHSA-fqgf-vjr9-95rf, UBUNTU-CVE-2019-19905.

Is CVE-2019-19905 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free