Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-5213

In NetHack before 3.6.5, too long of a value for the SYMBOL 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-5213
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:13 UTC · Revision 1

Source evidence

CVE-2020-5213

core-osv · Original source

Published 28 Jan 2020, 18:15 UTC

In NetHack before 3.6.5, too long of a value for the SYMBOL 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-5213
Complete source record
{
  "id": "f891496c9e8ffc1aeb834790fe0d4ebb693cdcb4989fb92f631f4abcd2b90d9b",
  "url": "https://osv.dev/vulnerability/CVE-2020-5213",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-5213",
    "summary": "In NetHack before 3.6.5, too long of a value for the SYMBOL 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-5213",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2020-5213",
      "aliases": [
        "CVE-2020-5213",
        "GHSA-rr25-4v34-pr7v"
      ],
      "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-5213.json"
          }
        }
      ],
      "modified": "2026-10-20T10:53:28.331102877Z",
      "provider": "osv",
      "references": [
        "https://github.com/NetHack/NetHack/security/advisories/GHSA-rr25-4v34-pr7v"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-5213",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 384338,
  "published_at": "2020-01-28T18:15:11.4+00:00"
}