Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-5709

An issue was discovered in MIT Kerberos 5 (aka krb5) through 1.16. There is a variable "dbentry->n_key_data" in kadmin/dbutil/dump.c that can store 16-bit data but unknowingly the developer has assigned a "u4" variable to it, which is for 32-bit data. An attacker can use this vulnerability to affect other artifacts of the database as we know that a Kerberos database dump file contains trusted data.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-5709
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:22 UTC · Revision 1

Source evidence

CVE-2018-5709

core-osv · Original source

Published 16 Jan 2018, 09:29 UTC

An issue was discovered in MIT Kerberos 5 (aka krb5) through 1.16. There is a variable "dbentry->n_key_data" in kadmin/dbutil/dump.c that can store 16-bit data but unknowingly the developer has assigned a "u4" variable to it, which is for 32-bit data. An attacker can use this vulnerability to affect other artifacts of the database as we know that a Kerberos database dump file contains trusted data.

osv:CVE-2018-5709
Complete source record
{
  "id": "d826145bec75782f69a12c8d314b733d2163a5d13ff16a95fb64bf146f2b9094",
  "url": "https://osv.dev/vulnerability/CVE-2018-5709",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-5709",
    "summary": "An issue was discovered in MIT Kerberos 5 (aka krb5) through 1.16. There is a variable \"dbentry->n_key_data\" in kadmin/dbutil/dump.c that can store 16-bit data but unknowingly the developer has assigned a \"u4\" variable to it, which is for 32-bit data. An attacker can use this vulnerability to affect other artifacts of the database as we know that a Kerberos database dump file contains trusted data.",
    "evidence": "osv:CVE-2018-5709",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-5709",
      "aliases": [
        "CVE-2018-5709"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/krb5/krb5",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "ae432f4b3b58c29bd6799e158c83ff4ee1d3ddb0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.16"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "krb5-1.16-final",
            "krb5-1.16-beta2",
            "krb5-1.16-beta1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-5709.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:17.832409652Z",
      "provider": "osv",
      "references": [
        "https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E",
        "https://github.com/poojamnit/Kerberos-V5-1.16-Vulnerabilities/tree/master/Integer%20Overflow"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:mit:kerberos:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "mit:kerberos",
            "extracted_events": [
              {
                "range": [
                  {
                    "last_affected": "5-1.16"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-5709",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 429653,
  "published_at": "2018-01-16T09:29:00.5+00:00"
}