Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-44758

Heimdal before 7.7.1 allows attackers to cause a NULL pointer dereference in a SPNEGO acceptor via a preferred_mech_type of GSS_C_NO_OID and a nonzero initial_response value to send_accept.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-44758
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:37 UTC · Revision 1

Source evidence

CVE-2021-44758

core-osv · Original source

Published 26 Dec 2022, 05:15 UTC

Heimdal before 7.7.1 allows attackers to cause a NULL pointer dereference in a SPNEGO acceptor via a preferred_mech_type of GSS_C_NO_OID and a nonzero initial_response value to send_accept.

osv:CVE-2021-44758
Complete source record
{
  "id": "2e069774d1538569ec9f5bbe3d5af70779a1ffb0fce546389e783d1d3e8eece3",
  "url": "https://osv.dev/vulnerability/CVE-2021-44758",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-44758",
    "summary": "Heimdal before 7.7.1 allows attackers to cause a NULL pointer dereference in a SPNEGO acceptor via a preferred_mech_type of GSS_C_NO_OID and a nonzero initial_response value to send_accept.",
    "evidence": "osv:CVE-2021-44758",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-44758",
      "aliases": [
        "CVE-2021-44758",
        "GHSA-69h9-669w-88xv"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/heimdal/heimdal",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "78077c39e355766221383ee48c8b9be0459a82a4"
                },
                {
                  "fixed": "f9ec7002cdd526ae84fbacbf153162e118f22580"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:heimdal_project:heimdal:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "7.7.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "f9ec7002cdd526ae84fbacbf153162e118f22580"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "heimdal-1.3.0pre1",
            "heimdal-7.7.0",
            "heimdal-7.6.0",
            "heimdal-7.5.0",
            "heimdal-7.4.0",
            "heimdal-7.3.0",
            "heimdal-7.2.0",
            "heimdal-7.1.0",
            "heimdal-7.0.3",
            "heimdal-7.0.2",
            "heimdal-7.0.1",
            "heimdal-7.1rc1",
            "git2svn-syncpoint-master",
            "heimdal-1.5pre2",
            "heimdal-1.5pre1",
            "upstream-1.4.0+git20110220.dfsg.1",
            "upstream-1.4.0+git20101228.dfsg.1",
            "heimdal-1.3.0rc1",
            "heimdal-1.3.0pre11",
            "heimdal-1.3.0pre10",
            "heimdal-1.3.0pre9",
            "heimdal-1.3.0pre8",
            "heimdal-1.3.0pre7",
            "heimdal-1.3.0pre6",
            "heimdal-1.3.0pre5",
            "heimdal-1.3.0pre4",
            "heimdal-1.3.0pre3",
            "switch-from-svn-to-git"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-44758.json",
            "vanir_signatures": [
              {
                "id": "CVE-2021-44758-7e74d481",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "185684756605390238103334007784352789624",
                    "7131579695216385856922531758292910060",
                    "96067565823201056646313325968740529266",
                    "307324062224806380958204996069287421659"
                  ]
                },
                "source": "https://github.com/heimdal/heimdal/commit/78077c39e355766221383ee48c8b9be0459a82a4",
                "target": {
                  "file": "include/bits.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-44758-a26911ab",
                "digest": {
                  "length": 3377,
                  "function_hash": "75009401605604428884869299509859106623"
                },
                "source": "https://github.com/heimdal/heimdal/commit/f9ec7002cdd526ae84fbacbf153162e118f22580",
                "target": {
                  "file": "lib/gssapi/spnego/accept_sec_context.c",
                  "function": "acceptor_start"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-44758-f1b5692f",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "45393349319744962591727203327221467953",
                    "25280937737562830750566835800286108024",
                    "153095941575990750829901905980521923428",
                    "337176227554821689295132016149127315569",
                    "63597633016827585803544191842761081969",
                    "80600011795866330910095409055721722911",
                    "72295294317900148266331035536951006201",
                    "102849322017619820316843476505270340749",
                    "324771178622222051680429555791249523936"
                  ]
                },
                "source": "https://github.com/heimdal/heimdal/commit/f9ec7002cdd526ae84fbacbf153162e118f22580",
                "target": {
                  "file": "lib/gssapi/spnego/accept_sec_context.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T14:06:54Z"
          }
        }
      ],
      "modified": "2026-10-20T14:06:54.916769275Z",
      "provider": "osv",
      "references": [
        "https://github.com/heimdal/heimdal/security/advisories/GHSA-69h9-669w-88xv",
        "https://security.gentoo.org/glsa/202310-06",
        "https://github.com/heimdal/heimdal/commit/f9ec7002cdd526ae84fbacbf153162e118f22580"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-44758",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388568,
  "published_at": "2022-12-26T05:15:10.503+00:00"
}