Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 82%

An integer underflow vulnerability was found in MIT krb5 in the berval2tl_data() function in plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c.

0
High
Published: 06/11/2026 (06/11/2026, 10:16:00 UTC)
Source: GCVE Database
Product: krb5

Description

An integer underflow vulnerability was found in MIT krb5 in the berval2tl_data() function in plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c. The function performs an unsigned subtraction (bv_len - 2) without a prior bounds check. When bv_len is 0 or 1, the subtraction wraps to a large value which is then truncated to uint16_t, yielding 0xFFFE (65534) or 0xFFFF (65535). The subsequent malloc succeeds and memcpy reads up to 65534 bytes from a 0-1 byte buffer, resulting in a heap out-of-bounds read. The attack vector involves a malicious or compromised LDAP KDB backend returning a krbExtraData attribute with bv_len < 2, triggering the underflow when the KDC or kadmind reads principal data.

CVSS v3.1

Score 5.0medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:H

Affected software

Ubuntu:Pro:14.04:LTSmore threats →ghsa
krb5
pkg:deb/ubuntu/[email protected]+dfsg-2ubuntu5.4+esm7?arch=source&distro=esm-infra-legacy/trusty
Affected versions
=1.10.1+dfsg-6.1ubuntu1=1.11.3+dfsg-3ubuntu2=1.12+dfsg-2ubuntu1=1.12+dfsg-2ubuntu2=1.12+dfsg-2ubuntu3=1.12+dfsg-2ubuntu4=1.12+dfsg-2ubuntu4.2=1.12+dfsg-2ubuntu5=1.12+dfsg-2ubuntu5.1=1.12+dfsg-2ubuntu5.2=1.12+dfsg-2ubuntu5.3=1.12+dfsg-2ubuntu5.4=1.12+dfsg-2ubuntu5.4+esm1=1.12+dfsg-2ubuntu5.4+esm2=1.12+dfsg-2ubuntu5.4+esm3=1.12+dfsg-2ubuntu5.4+esm4=1.12+dfsg-2ubuntu5.4+esm5=1.12+dfsg-2ubuntu5.4+esm6=1.12+dfsg-2ubuntu5.4+esm7
Ubuntu:Pro:16.04:LTSmore threats →ghsa
krb5
pkg:deb/ubuntu/[email protected]+dfsg-5ubuntu2.2+esm7?arch=source&distro=esm-infra/xenial
Affected versions
=1.13.2+dfsg-2=1.13.2+dfsg-3=1.13.2+dfsg-4=1.13.2+dfsg-5=1.13.2+dfsg-5ubuntu1=1.13.2+dfsg-5ubuntu2=1.13.2+dfsg-5ubuntu2.1=1.13.2+dfsg-5ubuntu2.1+esm1=1.13.2+dfsg-5ubuntu2.2=1.13.2+dfsg-5ubuntu2.2+esm1=1.13.2+dfsg-5ubuntu2.2+esm2=1.13.2+dfsg-5ubuntu2.2+esm3=1.13.2+dfsg-5ubuntu2.2+esm4=1.13.2+dfsg-5ubuntu2.2+esm5=1.13.2+dfsg-5ubuntu2.2+esm6=1.13.2+dfsg-5ubuntu2.2+esm7
Ubuntu:Pro:18.04:LTSmore threats →ghsa
krb5
pkg:deb/ubuntu/[email protected]+esm5?arch=source&distro=esm-infra/bionic
Affected versions
=1.15.1-2=1.16-2=1.16-2build1=1.16-2ubuntu0.1=1.16-2ubuntu0.1+esm1=1.16-2ubuntu0.2=1.16-2ubuntu0.3=1.16-2ubuntu0.4=1.16-2ubuntu0.4+esm1=1.16-2ubuntu0.4+esm2=1.16-2ubuntu0.4+esm3=1.16-2ubuntu0.4+esm5
Ubuntu:20.04:LTSmore threats →ghsa
krb5
pkg:deb/ubuntu/[email protected]?arch=source&distro=focal
Affected versions
=1.17-6=1.17-6ubuntu3=1.17-6ubuntu4=1.17-6ubuntu4.1=1.17-6ubuntu4.2=1.17-6ubuntu4.3=1.17-6ubuntu4.4=1.17-6ubuntu4.6=1.17-6ubuntu4.7=1.17-6ubuntu4.8=1.17-6ubuntu4.9=1.17-6ubuntu4.11
Ubuntu:22.04:LTSmore threats →ghsa
krb5
pkg:deb/ubuntu/[email protected]?arch=source&distro=jammy
Affected versions
=1.18.3-6=1.18.3-7=1.19.2-0ubuntu1=1.19.2-1=1.19.2-2=1.19.2-2ubuntu0.1=1.19.2-2ubuntu0.2=1.19.2-2ubuntu0.3=1.19.2-2ubuntu0.4=1.19.2-2ubuntu0.5=1.19.2-2ubuntu0.6=1.19.2-2ubuntu0.7
Ubuntu:24.04:LTSmore threats →ghsa
krb5
pkg:deb/ubuntu/[email protected]?arch=source&distro=noble
Affected versions
=1.20.1-3ubuntu1=1.20.1-5build1=1.20.1-6ubuntu1=1.20.1-6ubuntu2=1.20.1-6ubuntu2.1=1.20.1-6ubuntu2.2=1.20.1-6ubuntu2.3=1.20.1-6ubuntu2.4=1.20.1-6ubuntu2.5=1.20.1-6ubuntu2.6
Ubuntu:25.10more threats →ghsa
krb5
pkg:deb/ubuntu/[email protected]?arch=source&distro=questing
Affected versions
=1.21.3-4ubuntu2=1.21.3-5ubuntu1=1.21.3-5ubuntu2
Ubuntu:26.04:LTSmore threats →ghsa
krb5
pkg:deb/ubuntu/[email protected]?arch=source&distro=resolute
Affected versions
=1.21.3-5ubuntu2=1.22.1-2=1.22.1-2ubuntu2=1.22.1-2ubuntu3=1.22.1-2ubuntu4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/16/2026, 10:59:05 UTC

Technical Analysis

The vulnerability in MIT krb5's berval2tl_data() function arises from an unsigned subtraction (bv_len - 2) without prior bounds checking. When bv_len is less than 2, the subtraction underflows, wrapping to a large value truncated to uint16_t, causing malloc to allocate a large buffer and memcpy to read beyond the actual buffer size. This results in a heap out-of-bounds read. The attack vector involves a malicious or compromised LDAP KDB backend returning a krbExtraData attribute with bv_len less than 2, which triggers the underflow when the Kerberos KDC or kadmind reads principal data. This affects numerous Ubuntu krb5 package versions as listed.

Potential Impact

The vulnerability causes a heap out-of-bounds read, which can lead to denial of service (application crash) or potentially information disclosure. The CVSS vector indicates network attack complexity is high and requires high privileges, with no user interaction needed, and impacts availability severely and confidentiality to a low degree. There are no known exploits in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using untrusted or compromised LDAP KDB backends that could return malformed krbExtraData attributes. Monitor vendor channels for updates and apply patches promptly once released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-11850
Osv Schema Version
1.7.0
Aliases
[]
Ecosystems
["Ubuntu:Pro:14.04:LTS","Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:25.10","Ubuntu:26.04:LTS"]
Database Specific Severity
null
Cvss Version
3.1

Threat ID: 6a58b41868715ace43d686db

Added to database: 07/16/2026, 10:36:08 UTC

Last enriched: 07/16/2026, 10:59:05 UTC

Last updated: 07/31/2026, 19:24:48 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses