CVE-2026-11850Krb5: krb5: integer underflow in berval2tl_data() leads to heap out-of-bounds read
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.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | krb5 | Fixed | 1.22.1-2ubuntu4.1 | UBUNTU-CVE-2026-11850 |
| Ubuntu 25.10 | krb5 | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-11850 | |
| Ubuntu 24.04 | krb5 | Fixed | 1.20.1-6ubuntu2.7 | UBUNTU-CVE-2026-11850 |
| Ubuntu 22.04 | krb5 | Fixed | 1.19.2-2ubuntu0.8 | UBUNTU-CVE-2026-11850 |
| Ubuntu 20.04 | krb5 | Fix pending | UBUNTU-CVE-2026-11850 | |
| Ubuntu 18.04 | krb5 | Fix pending | UBUNTU-CVE-2026-11850 | |
| Ubuntu 16.04 | krb5 | Fix pending | UBUNTU-CVE-2026-11850 | |
| Ubuntu 14.04 | krb5 | Fix pending | UBUNTU-CVE-2026-11850 | |
| Debian 14 | krb5 | Fixed | 1.22.1-3 | DEBIAN-CVE-2026-11850 |
| Debian 13 | krb5 | Fixed | 1.21.3-5+deb13u2 | DEBIAN-CVE-2026-11850 |
| Debian 12 | krb5 | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2026-11850 | |
| Red Hat Enterprise Linux 10 | krb5 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | krb5-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | krb5-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | krb5-pkinit | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | krb5-server | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | krb5-server-ldap | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | krb5-workstation | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | krb5-xrealmauthz | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libkadm5 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | krb5 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | krb5-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | krb5-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | krb5-pkinit | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | krb5-server | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | krb5-server-ldap | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | krb5-workstation | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | krb5-xrealmauthz | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | libkadm5 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | krb5 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | krb5-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | krb5-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | krb5-pkinit | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | krb5-server | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | krb5-server-ldap | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | krb5-workstation | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libkadm5 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | krb5 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | krb5-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | krb5-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | krb5-pkinit | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | krb5-server | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | krb5-server-ldap | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | krb5-workstation | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | libkadm5 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | krb5 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | krb5-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | krb5-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | krb5-pkinit-openssl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | krb5-server | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | krb5-server-ldap | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | krb5-workstation | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | libkadm5 | Fix pending Fix deferred |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Hardened Images
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift AI (RHOAI)
Workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2026:25520 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2026:25520
- https://access.redhat.com/security/cve/CVE-2026-11850
- https://bugzilla.redhat.com/show_bug.cgi?id=2459970
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.