CVE-2020-5253 Privilege escalation in NetHack

Low 3.9 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2020-5253?

CVE-2020-5253 is a low-severity vulnerability in NetHack, published on 10 Mar 2020.

Official description

NetHack before version 3.6.0 allowed malicious use of escaping of characters in the configuration file (usually .nethackrc) which could be exploited. This bug is patched in NetHack 3.6.0.

Weakness: CWE-269, CWE-184

Which versions are affected by CVE-2020-5253?

It affects 1 product.

Linux distribution packages (1)
nethack openSUSE:TumbleweedAll versions3.4.3-6.1

Products include Nethack Nethack.

How do I fix CVE-2020-5253?

Upgrade to a fixed version.

Is CVE-2020-5253 being exploited?

There is no known exploitation of CVE-2020-5253 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2020-5253, GHSA-2c7p-3fj4-223m, UBUNTU-CVE-2020-5253, openSUSE-SU-2025:14898-1.

Is CVE-2020-5253 in your software?

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

Check your SBOMs for free