Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-36222

ec_verify in kdc/kdc_preauth_ec.c in the Key Distribution Center (KDC) in MIT Kerberos 5 (aka krb5) before 1.18.4 and 1.19.x before 1.19.2 allows remote attackers to cause a NULL pointer dereference and daemon crash. This occurs because a return value is not properly managed in a certain situation.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-36222
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 09:19 UTC · Revision 1

Source evidence

CVE-2021-36222

core-osv · Original source

Published 22 Jul 2021, 18:15 UTC

ec_verify in kdc/kdc_preauth_ec.c in the Key Distribution Center (KDC) in MIT Kerberos 5 (aka krb5) before 1.18.4 and 1.19.x before 1.19.2 allows remote attackers to cause a NULL pointer dereference and daemon crash. This occurs because a return value is not properly managed in a certain situation.

osv:CVE-2021-36222
Complete source record
{
  "id": "b1caba8a64078c6ba29ff3fa98678a839c2d7ad3d40886c0cbabf5e10ad02cb0",
  "url": "https://osv.dev/vulnerability/CVE-2021-36222",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-36222",
    "summary": "ec_verify in kdc/kdc_preauth_ec.c in the Key Distribution Center (KDC) in MIT Kerberos 5 (aka krb5) before 1.18.4 and 1.19.x before 1.19.2 allows remote attackers to cause a NULL pointer dereference and daemon crash. This occurs because a return value is not properly managed in a certain situation.",
    "evidence": "osv:CVE-2021-36222",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-36222",
      "aliases": [
        "CVE-2021-36222"
      ],
      "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/krb5/krb5",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "05405c3d24c2d84ba79e355ae82f4b1b9884938c"
                },
                {
                  "fixed": "eb0a1e051c9133da28613563c4b530bf8d875624"
                },
                {
                  "fixed": "fc98f520caefff2e5ee9a0026fdf5109944b3562"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mit:kerberos_5:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.18.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mit:kerberos_5:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.19.0"
                      },
                      {
                        "fixed": "1.19.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "fc98f520caefff2e5ee9a0026fdf5109944b3562"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "krb5-1.19.1-final",
            "krb5-1.19-final",
            "krb5-1.19-beta2",
            "krb5-1.19-beta1",
            "krb5-1.18.3-final",
            "krb5-1.18.2-final",
            "krb5-1.18.1-final",
            "krb5-1.18-final",
            "krb5-1.18-beta2",
            "krb5-1.18-beta1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-36222.json",
            "vanir_signatures": [
              {
                "id": "CVE-2021-36222-4eafeb47",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "11212649172673180521140604104188591304",
                    "228806048721091709572489333951828356198",
                    "321289942291638231764076182789317623244",
                    "93469301882783218346945084207915710111"
                  ]
                },
                "source": "https://github.com/krb5/krb5/commit/fc98f520caefff2e5ee9a0026fdf5109944b3562",
                "target": {
                  "file": "src/kdc/kdc_preauth_ec.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-36222-f3fc596a",
                "digest": {
                  "length": 2350,
                  "function_hash": "137210320503581614737329061627982532169"
                },
                "source": "https://github.com/krb5/krb5/commit/fc98f520caefff2e5ee9a0026fdf5109944b3562",
                "target": {
                  "file": "src/kdc/kdc_preauth_ec.c",
                  "function": "ec_verify"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:12:11Z"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/mysql/mysql-server",
              "type": "GIT",
              "events": [
                {
                  "introduced": "270fd3411e3d671a73ed9725940a30080f59ce6d"
                },
                {
                  "last_affected": "beb865a960b9a8a16cf999c323e46c5b0c67f21f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:oracle:mysql_server:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.0.0"
                      },
                      {
                        "last_affected": "8.0.26"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-36222.json"
          }
        }
      ],
      "modified": "2026-10-24T14:12:11.484451744Z",
      "provider": "osv",
      "references": [
        "https://cert-portal.siemens.com/productcert/html/ssa-398330.html",
        "https://github.com/krb5/krb5/releases",
        "https://security.netapp.com/advisory/ntap-20211022-0003/",
        "https://security.netapp.com/advisory/ntap-20211104-0007/",
        "https://web.mit.edu/kerberos/advisories/",
        "https://www.debian.org/security/2021/dsa-4944",
        "https://github.com/krb5/krb5/commit/fc98f520caefff2e5ee9a0026fdf5109944b3562",
        "https://www.oracle.com/security-alerts/cpuoct2021.html"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:mit:kerberos_5:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "mit:kerberos_5",
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "1.18.4"
                  },
                  {
                    "introduced": "1.19.0"
                  },
                  {
                    "fixed": "1.19.2"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "10.0"
                  },
                  {
                    "last_affected": "10.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-36222",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 443356,
  "published_at": "2021-07-22T18:15:23.337+00:00"
}