Skip to content
OpenAdvisories
Low · 3.9 CVE-2020-5253 EUVD-2020-26463

Privilege escalation in NetHack

Published Mar 10, 2020 · Updated Aug 4, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
NetHack NetHack < 3.6.0 —

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.0-1 —
Debian 13 nethack 3.6.0-1 —
Debian 12 nethack 3.6.0-1 —
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS nethack No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed nethack 3.4.3-6.1 openSUSE-SU-2025:14898-1

Advisories 1

References