krb5: integer overflow in dbentry->n_key_data in kadmin/dbutil/dump.c
Published Jan 16, 2018
7.5
HIGHCVSS 3.0
EPSS 2.05%
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.
Affected products
No data.
No data.
Red Hat Enterprise Linux 5
krb5
Not affected
Red Hat Enterprise Linux 6
krb5
Not affected
Red Hat Enterprise Linux 7
krb5
Not affected
Red Hat Enterprise Linux 8
krb5
Not affected
Red Hat JBoss Core Services
krb5
Not affected
Red Hat JBoss Enterprise Application Platform 6
krb5
Not affected
Red Hat JBoss Enterprise Web Server 2
krb5
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | krb5 | Not affected | n/a |
| Red Hat Enterprise Linux 6 | krb5 | Not affected | n/a |
| Red Hat Enterprise Linux 7 | krb5 | Not affected | n/a |
| Red Hat Enterprise Linux 8 | krb5 | Not affected | n/a |
| Red Hat JBoss Core Services | krb5 | Not affected | n/a |
| Red Hat JBoss Enterprise Application Platform 6 | krb5 | Not affected | n/a |
| Red Hat JBoss Enterprise Web Server 2 | krb5 | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This is essentially an integer truncation issue, and not an integer overflow. We have determined that this should not affect any other data allocated close to the 16-bit integer in question "dbentry-> n_key_data". Red Hat Product Security does not consider this issue as a security flaw.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
AV:N/AC:L/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (15 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 2.05% (0.02049) | 80.55th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.11% (0.02106) | 79.27th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.86% (0.00865) | 73.03th | v4 (v2025.03.14) |
| Mar 29, 2025 | 8.94% (0.08937) | 87.50th | v4 (v2025.03.14) |
| Jul 20, 2024 | 0.10% (0.00097) | 41.16th | v3 (v2023.03.01) |
| Nov 26, 2023 | 0.10% (0.00097) | 40.41th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.09% (0.00090) | 36.89th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Sep 10, 2022 | 0.89% (0.00885) | 26.24th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.89% (0.00885) | 24.24th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.89% (0.00885) | 10.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.62% (0.00624) | 17.80th | v1 |
| Jan 6, 2022 | 0.62% (0.00624) | 17.24th | v1 |
| Sep 1, 2021 | 0.62% (0.00624) | 45.04th | v1 |
| Apr 14, 2021 | 0.62% (0.00624) | 0.00th | v1 |
References (6)
- https://access.redhat.com/security/cve/CVE-2018-5709 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1535554 Issue Tracking
- https://github.com/poojamnit/Kerberos-V5-1.16-Vulnerabilities/tree/master/Integer%20Overflow x_refsource_MISCThird Party Advisory
- https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E mailing-listx_refsource_MLIST
- https://nvd.nist.gov/vuln/detail/CVE-2018-5709
- https://www.cve.org/CVERecord?id=CVE-2018-5709
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2018-5709 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1535554 | Issue Tracking | |
| https://github.com/poojamnit/Kerberos-V5-1.16-Vulnerabilities/tree/master/Integer%20Overflow | x_refsource_MISCThird Party Advisory | |
| https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E | mailing-listx_refsource_MLIST | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-5709 | ||
| https://www.cve.org/CVERecord?id=CVE-2018-5709 |
Change history (0)
No recorded changes yet.