CVE-2026-11850
Fixed in a distro release EPSS <1%CVSS 5.0
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.
Products: 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 Container Platform 4
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 12 | krb5 | no fix |
| Debian 13 | krb5 | no fix |
| Debian 14 | krb5 | 1.22.1-3 |
| Red Hat hummingbird 1 | krb5 | 0:1.22.2-8.hum1 |
| Red Hat hummingbird 1 | krb5-devel | 0:1.22.2-8.hum1 |
| Red Hat hummingbird 1 | krb5-libs | 0:1.22.2-8.hum1 |
| Red Hat hummingbird 1 | krb5-pkinit | 0:1.22.2-8.hum1 |
| Red Hat hummingbird 1 | krb5-server | 0:1.22.2-8.hum1 |
| Red Hat hummingbird 1 | krb5-server-ldap | 0:1.22.2-8.hum1 |
| Red Hat hummingbird 1 | krb5-tests | 0:1.22.2-8.hum1 |
| Red Hat hummingbird 1 | krb5-workstation | 0:1.22.2-8.hum1 |
| Red Hat hummingbird 1 | krb5-xrealmauthz | 0:1.22.2-8.hum1 |
| Red Hat hummingbird 1 | libkadm5 | 0:1.22.2-8.hum1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | krb5 | 1.19.2-150400.3.24.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | krb5 | 1.19.2-150400.3.24.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | krb5 | 1.20.1-150500.3.23.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | krb5 | 1.20.1-150500.3.23.1 |
| SUSE Linux Enterprise Micro 5.3 | krb5 | 1.19.2-150400.3.24.1 |
| SUSE Linux Enterprise Micro 5.4 | krb5 | 1.19.2-150400.3.24.1 |
| SUSE Linux Enterprise Micro 5.5 | krb5 | 1.20.1-150500.3.23.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | krb5 | 1.20.1-150600.11.19.1 |
| SUSE Linux Enterprise Module for Server Applications 15 SP7 | krb5 | 1.20.1-150600.11.19.1 |
| SUSE Linux Enterprise Server 12 SP5-LTSS | krb5 | 1.16.3-46.24.1 |
| SUSE Linux Enterprise Server 15 SP4-LTSS | krb5 | 1.19.2-150400.3.24.1 |
| SUSE Linux Enterprise Server 15 SP5-LTSS | krb5 | 1.20.1-150500.3.23.1 |
| SUSE Linux Enterprise Server 15 SP6-LTSS | krb5 | 1.20.1-150600.11.19.1 |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | krb5 | 1.16.3-46.24.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | krb5 | 1.19.2-150400.3.24.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | krb5 | 1.20.1-150500.3.23.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | krb5 | 1.20.1-150600.11.19.1 |
| SUSE Linux Micro 6.0 | krb5 | 1.20.1-9.1 |
| SUSE Linux Micro 6.1 | krb5 | 1.21.3-slfo.1.1_5.1 |
| Ubuntu 20.04 LTS | krb5 | no fix |
| Ubuntu 22.04 LTS | krb5 | 1.19.2-2ubuntu0.8 |
| Ubuntu 24.04 LTS | krb5 | 1.20.1-6ubuntu2.7 |
| Ubuntu 25.10 | krb5 | no fix |
| Ubuntu 26.04 LTS | krb5 | 1.22.1-2ubuntu4.1 |
| Ubuntu Pro 14.04 LTS | krb5 | no fix |
| Ubuntu Pro 16.04 LTS | krb5 | no fix |
| Ubuntu Pro 18.04 LTS | krb5 | no fix |
| openSUSE Leap 16.0 | krb5 | 1.21.3-160000.4.1 |
| openSUSE Tumbleweed | krb5 | 1.22.2-4.1 |