CVE-2026-11850 Krb5: krb5: integer underflow in berval2tl_data() leads to heap out-of-bounds read
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
20 packages: 6 fixed, 14 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/krb5(Debian 12) | = 1.20.1-2; = 1.20.1-2+deb12u1; = 1.20.1-2+deb12u2; = 1.20.1-2+deb12u3 +20 more | No fix listed | No fix yet |
| debian/krb5(Debian 13) | = 1.21.3-5; = 1.21.3-5+deb13u1; = 1.22.1-1; = 1.22.1-2 +3 more | No fix listed | No fix yet |
| redhat enterprise linux | All versions | No fix listed | No fix yet |
| redhat openshift | All versions | No fix listed | No fix yet |
| redhat openshift ai | All versions | No fix listed | No fix yet |
| redhat rhel els | All versions | No fix listed | No fix yet |
| redhat/krb5(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/krb5(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/krb5(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/krb5(Red Hat rhel_els 6) | All versions | No fix listed | No fix yet |
| redhat/krb5(Red Hat rhel_els 7) | All versions | No fix listed | No fix yet |
| redhat/openshift/ose-rhel-coreos-8(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/openshift/ose-rhel-coreos-9(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/openshift/ose-rhel-coreos-9(Red Hat openshift 5) | All versions | No fix listed | No fix yet |
| debian/krb5(Debian 14) | < 1.22.1-3; = 1.21.3-5; = 1.22.1-1; = 1.22.1-2 +1 more | 1.22.1-3 | Fixed |
| redhat hummingbird | < 1.22.2-8.hum1 | 1.22.2-8.hum1 | Fixed |
| redhat/krb5-main(Red Hat hummingbird 1) | < 1.22.2-8.hum1 | 1.22.2-8.hum1 | Fixed |
| ubuntu/krb5(Ubuntu 22.04) | < 1.19.2-2ubuntu0.8 | 1.19.2-2ubuntu0.8 | Fixed |
| ubuntu/krb5(Ubuntu 24.04) | < 1.20.1-6ubuntu2.7 | 1.20.1-6ubuntu2.7 | Fixed |
| ubuntu/krb5(Ubuntu 26.04) | < 1.22.1-2ubuntu4.1 | 1.22.1-2ubuntu4.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat hummingbird | < 1.22.2-8.hum1 | 1.22.2-8.hum1 |
| redhat enterprise linux | All versions | No fix listed |
| redhat rhel els | All versions | No fix listed |
| redhat openshift ai | All versions | No fix listed |
| redhat openshift | All versions | No fix listed |
| redhat/krb5-main(Red Hat:hummingbird:1) | < 1.22.2-8.hum1 | 1.22.2-8.hum1 |
| redhat/krb5(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/krb5(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/krb5(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/krb5(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/krb5(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/rhoai/odh-core-bff-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-dashboard-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-kf-notebook-controller-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-agent-ops-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-automl-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-autorag-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-eval-hub-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-gen-ai-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-maas-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-mlflow-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-model-registry-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-notebook-controller-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-8(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:4) | All versions | No fix listed |
Show 40 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:5) | All versions | No fix listed |
| debian/krb5(Debian:12) | All versions | No fix listed |
| debian/krb5(Debian:12) | = 1.20.1-2 | No fix listed |
| debian/krb5(Debian:12) | = 1.20.1-2+deb12u1 | No fix listed |
| debian/krb5(Debian:12) | = 1.20.1-2+deb12u2 | No fix listed |
| debian/krb5(Debian:12) | = 1.20.1-2+deb12u3 | No fix listed |
| debian/krb5(Debian:12) | = 1.20.1-2+deb12u4 | No fix listed |
| debian/krb5(Debian:12) | = 1.20.1-2+deb12u5 | No fix listed |
| debian/krb5(Debian:12) | = 1.20.1-2+loong64 | No fix listed |
| debian/krb5(Debian:12) | = 1.20.1-3 | No fix listed |
| debian/krb5(Debian:12) | = 1.20.1-4 | No fix listed |
| debian/krb5(Debian:12) | = 1.20.1-5 | No fix listed |
| debian/krb5(Debian:12) | = 1.20.1-5.1 | No fix listed |
| debian/krb5(Debian:12) | = 1.20.1-5.1~exp1 | No fix listed |
| debian/krb5(Debian:12) | = 1.20.1-6 | No fix listed |
| debian/krb5(Debian:12) | = 1.21.2-1 | No fix listed |
| debian/krb5(Debian:12) | = 1.21.3-1 | No fix listed |
| debian/krb5(Debian:12) | = 1.21.3-2 | No fix listed |
| debian/krb5(Debian:12) | = 1.21.3-3 | No fix listed |
| debian/krb5(Debian:12) | = 1.21.3-4 | No fix listed |
| debian/krb5(Debian:12) | = 1.21.3-5 | No fix listed |
| debian/krb5(Debian:12) | = 1.22.1-1 | No fix listed |
| debian/krb5(Debian:12) | = 1.22.1-2 | No fix listed |
| debian/krb5(Debian:12) | = 1.22.1-2.1 | No fix listed |
| debian/krb5(Debian:12) | = 1.22.1-3 | No fix listed |
| debian/krb5(Debian:13) | All versions | No fix listed |
| debian/krb5(Debian:13) | = 1.21.3-5 | No fix listed |
| debian/krb5(Debian:13) | = 1.21.3-5+deb13u1 | No fix listed |
| debian/krb5(Debian:13) | = 1.22.1-1 | No fix listed |
| debian/krb5(Debian:13) | = 1.22.1-2 | No fix listed |
| debian/krb5(Debian:13) | = 1.22.1-2.1 | No fix listed |
| debian/krb5(Debian:13) | = 1.22.1-3 | No fix listed |
| debian/krb5(Debian:14) | < 1.22.1-3 | 1.22.1-3 |
| debian/krb5(Debian:14) | = 1.21.3-5 | No fix listed |
| debian/krb5(Debian:14) | = 1.22.1-1 | No fix listed |
| debian/krb5(Debian:14) | = 1.22.1-2 | No fix listed |
| debian/krb5(Debian:14) | = 1.22.1-2.1 | No fix listed |
| ubuntu/krb5(Ubuntu:22.04) | < 1.19.2-2ubuntu0.8 | 1.19.2-2ubuntu0.8 |
| ubuntu/krb5(Ubuntu:24.04) | < 1.20.1-6ubuntu2.7 | 1.20.1-6ubuntu2.7 |
| ubuntu/krb5(Ubuntu:26.04) | < 1.22.1-2ubuntu4.1 | 1.22.1-2ubuntu4.1 |
References
- RHSA-2026:25520 patch vendor-advisory
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2459970 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-11850 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8585-1 vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-36219 third-party-advisory