Buffer overflow in Nethack
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.034 (88.4th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 88th percentile — 88.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.034 · newest: 0.034 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- bugs.debian.org/947005 (Patch, Third Party Advisory, Issue Tracking)
- github.com/NetHack/NetHack/commit/f4a840a48f4bcf11757b3d859e9d53cc9d5ef226 (Patch)
- github.com/NetHack/NetHack/commit/f001de79542b8c38b1f8e6d7eaefbbd28ab94b47 (Patch)
- github.com/NetHack/NetHack/security/advisories/GHSA-3cm7-rgh5-9pq5 (Third Party Advisory)
- nethack.org/security/ (Vendor Advisory)
Frequently asked questions
- What is CVE-2019-19905?
- CVE-2019-19905 is a critical-severity vulnerability in Nethack, classified under Buffer Copy without Checking Size of Input (Classic Buffer Overflow). CVSS score: 9.8/10. Published 2019-12-19.
- How severe is CVE-2019-19905?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2019-19905 known to be exploited?
- 6 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.