# CVE-2026-11850: Krb5: krb5: integer underflow in berval2tl\_data() leads to heap out-of-bounds read

- Priority: **Routine**
- Reason: Not severe (CVSS 5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-11 · Modified: 2026-11-24
- Aliases: SUSE-SU-2026:22450-1, SUSE-SU-2026:22702-1, SUSE-SU-2026:2847-1, SUSE-SU-2026:2849-1, SUSE-SU-2026:2954-1, RHSA-2026:25520, UBUNTU-CVE-2026-11850, DEBIAN-CVE-2026-11850, openSUSE-SU-2026:11177-1, openSUSE-SU-2026:21238-1
- Record: https://cvemate.com/vulnerability/CVE-2026-11850 · JSON: https://cvemate.com/vulnerability/CVE-2026-11850/json

## Description

```text
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.
```

## Signals

- CVSS: 5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:H
- EPSS: 0.37%, percentile 32.97%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 29)

- debian krb5 (Debian): All versions (No fix recorded) \| \< 1.21.3-5+deb13u2 \| \< 1.22.1-3
- ubuntu krb5 (Ubuntu): All versions (No fix recorded) \| \< 1.19.2-2ubuntu0.8 \| \< 1.20.1-6ubuntu2.7 \| \< 1.22.1-2ubuntu4.1
- opensuse krb5&distro=openSUSE Leap 16.0 (openSUSE): \< 1.21.3-160000.4.1
- opensuse krb5&distro=openSUSE Tumbleweed (openSUSE): \< 1.22.2-4.1
- redhat krb5 (Red Hat): \< 0:1.22.2-8.hum1
- redhat krb5-devel (Red Hat): \< 0:1.22.2-8.hum1
- redhat krb5-libs (Red Hat): \< 0:1.22.2-8.hum1
- redhat krb5-pkinit (Red Hat): \< 0:1.22.2-8.hum1
- redhat krb5-server (Red Hat): \< 0:1.22.2-8.hum1
- redhat krb5-server-ldap (Red Hat): \< 0:1.22.2-8.hum1
- redhat krb5-tests (Red Hat): \< 0:1.22.2-8.hum1
- redhat krb5-workstation (Red Hat): \< 0:1.22.2-8.hum1
- redhat krb5-xrealmauthz (Red Hat): \< 0:1.22.2-8.hum1
- redhat libkadm5 (Red Hat): \< 0:1.22.2-8.hum1
- suse krb5&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS (SUSE Linux Enterprise): \< 1.19.2-150400.3.24.1
- suse krb5&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS (SUSE Linux Enterprise): \< 1.19.2-150400.3.24.1
- suse krb5&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS (SUSE Linux Enterprise): \< 1.20.1-150500.3.23.1
- suse krb5&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS (SUSE Linux Enterprise): \< 1.20.1-150500.3.23.1
- suse krb5&distro=SUSE Linux Enterprise Micro 5.3 (SUSE Linux Enterprise): \< 1.19.2-150400.3.24.1
- suse krb5&distro=SUSE Linux Enterprise Micro 5.4 (SUSE Linux Enterprise): \< 1.19.2-150400.3.24.1

## 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>
- <https://www.suse.com/support/update/announcement/2026/suse-su-202622450-1/>
- <https://bugzilla.suse.com/1268131>
- <https://www.suse.com/security/cve/CVE-2026-11850>
- <https://www.suse.com/support/update/announcement/2026/suse-su-202622702-1/>
- <https://www.suse.com/support/update/announcement/2026/suse-su-20262847-1/>
- <https://www.suse.com/support/update/announcement/2026/suse-su-20262849-1/>
- <https://www.suse.com/support/update/announcement/2026/suse-su-20262954-1/>
- <https://access.redhat.com/security/updates/classification/>
- <https://images.redhat.com/>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_25520.json>
- <https://www.cve.org/CVERecord?id=CVE-2026-11850>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-11850>
- <https://ubuntu.com/security/CVE-2026-11850>
- <https://ubuntu.com/security/notices/USN-8585-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-11850>

---

Data as of 2026-12-05T05:18:15.350Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
