Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-5214

In NetHack before 3.6.5, detecting an unknown configuration file option can cause a buffer overflow resulting in a crash or remote code execution/privilege escalation. This vulnerability affects systems that have NetHack installed suid/sgid and shared systems that allow users to upload their own configuration files. Users should upgrade to NetHack 3.6.5.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-5214
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:29 UTC · Revision 1

Source evidence

CVE-2020-5214

core-osv · Original source

Published 28 Jan 2020, 18:15 UTC

In NetHack before 3.6.5, detecting an unknown configuration file option can cause a buffer overflow resulting in a crash or remote code execution/privilege escalation. This vulnerability affects systems that have NetHack installed suid/sgid and shared systems that allow users to upload their own configuration files. Users should upgrade to NetHack 3.6.5.

osv:CVE-2020-5214
Complete source record
{
  "id": "561c736f5d35f6a3fe072bfd9ec29c7ed6ab05bbdb14f0e516d4589568443f81",
  "url": "https://osv.dev/vulnerability/CVE-2020-5214",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-5214",
    "summary": "In NetHack before 3.6.5, detecting an unknown configuration file option can cause a buffer overflow resulting in a crash or remote code execution/privilege escalation. This vulnerability affects systems that have NetHack installed suid/sgid and shared systems that allow users to upload their own configuration files. Users should upgrade to NetHack 3.6.5.",
    "evidence": "osv:CVE-2020-5214",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2020-5214",
      "aliases": [
        "CVE-2020-5214",
        "GHSA-p8fw-rq89-xqx6"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/nethack/nethack",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "514682730773318f68d5b28b0428cfe333f92fe0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:nethack:nethack:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.6.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "NetHack-3.6.4_Released",
            "NetHack-3.6.3_Released",
            "NetHack-3.6.3.beta1.2019.11.17",
            "NetHack-3.6.3.wip.2019.10.30",
            "v3.6.3.wip.2019.10.29",
            "NetHack-3.6.3.wip.2019.10.29",
            "v3.6.3.757eca7",
            "NetHack-3.6.3_WIP",
            "NetHack-3.6.2_Released",
            "NetHack-3.6.2_Release",
            "NetHack-3.6.1_Release",
            "NetHack-3.6.1_RC01",
            "NetHack-3.6.0_Release",
            "NetHack-3.6.0_RC05",
            "NetHack-3.6.0_RC04",
            "NetHack-3.6.0_RC03",
            "NetHack-3.6.0_RC02",
            "NetHack-3.6.0_RC01",
            "MOVE2GIT"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-5214.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:22.039097520Z",
      "provider": "osv",
      "references": [
        "https://github.com/NetHack/NetHack/security/advisories/GHSA-p8fw-rq89-xqx6"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-5214",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 385204,
  "published_at": "2020-01-28T18:15:11.48+00:00"
}