{"schemaVersion":3,"id":"CVE-2018-5709","aliases":["ALPINE-CVE-2018-5709","UBUNTU-CVE-2018-5709","DEBIAN-CVE-2018-5709"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2018-01-16T09:00:00.000Z","modified":"2024-08-05T05:40:51.202Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Alpine","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true}]},"epss":{"probability":0.02049,"percentile":0.80906,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":-0.01799999999999996,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.02067},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02067,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02067,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02067,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02067,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02067,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02067,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02067,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02049,"percentile":0.80906}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.02067,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02067,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02067,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01956,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02049,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02049,"percentile":0.80906}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-190","name":"Integer Overflow or Wraparound","description":"The product performs a calculation that can\n         produce an integer overflow or wraparound when the logic\n         assumes that the resulting value will always be larger than\n         the original value. This occurs when an integer value is\n         incremented to a value that is too large to store in the\n         associated representation. When this occurs, the value may\n         become a very small or negative number.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/190.html"}],"affected":[{"vendor":"alpine","product":"krb5","name":"krb5","label":"krb5","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/krb5","purlType":"apk","versions":[{"text":"< 1.15.3-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.15.3-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"krb5","name":"krb5","label":"krb5","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/krb5","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"krb5","name":"krb5","label":"krb5","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/krb5","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"mit","product":"kerberos","name":"kerberos","label":"kerberos","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 5-1.16","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 5-1.16","eol":null,"hubHref":"/vendor/mit/kerberos"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/poojamnit/Kerberos-V5-1.16-Vulnerabilities/tree/master/Integer%20Overflow","label":"github.com/poojamnit/Kerberos-V5-1.16-Vulnerabilities/tree/master/Integer%20Overflow","hostname":"github.com","tags":["X Refsource MISC","Third Party Advisory","REPORT"]},{"url":"https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2018-5709","label":"security.alpinelinux.org/vuln/CVE-2018-5709","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-5709","label":"ubuntu.com/security/CVE-2018-5709","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-5709","label":"www.cve.org/CVERecord?id=CVE-2018-5709","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-5709","label":"security-tracker.debian.org/tracker/CVE-2018-5709","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2018-01-16T09:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T05:40:51.202Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T12:44:17.157Z","stale":false,"partial":false}}