SecurityContext

CVE-2019-19905: NetHack - Buffer Overflow

  • Cve: CVE-2019-19905
  • Name: NetHack - Buffer Overflow
  • 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.
  • Impact: Attackers can execute arbitrary code or cause a denial of service by exploiting this buffer overflow.
  • Remediation: Update to version 3.6.4 or later.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.03384
  • Epss percentile: 0.89101
  • Assignee: [email protected]
  • Published at: 2019-12-19T18:15:12Z
  • Age in days: 2532
  • Modified at: 2026-06-17T02:27:25Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-19905
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-120Buffer Copy without Checking Size of Input

Public exploits

UrlSourceAdded date
https://github.com/dpmdpm2/CVE-2019-19905poc-in-github2020-03-07

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/NetHack/NetHack/commit/f001de79542b8c38b1f8e6d7eaefbbd28ab94b47Patch
https://github.com/NetHack/NetHack/commit/f4a840a48f4bcf11757b3d859e9d53cc9d5ef226Patch
https://bugs.debian.org/947005Issue Tracking, Patch, Third Party Advisory
https://nethack.org/security/Vendor Advisory
https://github.com/NetHack/NetHack/security/advisories/GHSA-3cm7-rgh5-9pq5Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
nethack:nethack>= 3.6.0, < 3.6.4nonvd/v1/products/nethack/nethack

Projects

RepositoryLink kindsIndexedUrl
NetHack/NetHackcommit, fix, security_advisoryyes/v1/repositories/NetHack/NetHack

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2020-03-07
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts