CVE-2026-11850
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedAn 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceAn integer underflow exists in MIT krb5's LDAP KDB module where the bernal2tl_data() function performs unsigned subtraction (bv_len - 2) without validating bv_len is >= 2 first. When bv_len is 0 or 1, the subtraction wraps around and is truncated to 65534 or 65535, causing memcpy to read a large number of bytes from a tiny (0-1 byte) buffer, resulting in a heap out-of-bounds read.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- High
- Privileges
- 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
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify MIT krb5 installation and versionRun 'krb5-config --version' or check via package manager (e.g., 'rpm -q krb5-server' on RHEL, 'dpkg -l krb5-kdc' on Debian). Compare the installed version against MIT krb5 release notes.Affected if The installed MIT krb5 version is older than the patched release containing the fix for this integer underflow in bernal2tl_data().
-
Verify LDAP KDB module is in useInspect /etc/krb5.conf for LDAP KDB backend configuration. Look for 'database_module' or 'db_library' directives pointing to LDAP (e.g., 'db_library = kldap'), or 'kdc_realm' sections referencing LDAP-based realms.Affected if The KDC is configured to use the LDAP KDB module as its backend database.
-
Confirm krbExtraData LDAP attributes existQuery your LDAP directory (e.g., via ldapsearch) for objects with the krbExtraData attribute. Example: 'ldapsearch -x -b "dc=example,dc=com" krbExtraData'Affected if LDAP entries contain krbExtraData attributes with a length (bv_len) of 0 or 1 bytes, which triggers the underflow in bernal2tl_data().
-
Check for the vulnerable code path in bernal2tl_data()If source is available, review the bernal2tl_data() function in the LDAP KDB module source for missing bounds check on bv_len before the 'bv_len - 2' subtraction.Affected if The code lacks validation that bv_len >= 2 before performing the unsigned subtraction, allowing wraparound.
You are affected if you run a vulnerable version of MIT krb5 with the LDAP KDB module enabled AND have LDAP entries containing krbExtraData attributes with lengths of 0 or 1 bytes.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
From vendor dataAdd a bounds check ensuring bv_len >= 2 before performing the subtraction, and validate all krbExtraData attributes from the LDAP backend meet expected structure requirements before processing.
- Consultation3.0 h
- Implementation4.0 h
- Testing6.0 h
- Review / QA3.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,416.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-11850 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-11850 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data