Every CVE Search/ Get API key

CVE-2026-11850

Krb5: krb5: integer underflow in berval2tl_data() leads to heap out-of-bounds read

5.0 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
High
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
None
Availability
High

Exploit likelihood

0.27%Up 0.2 points since Jun 11, 2026
90%50%10%1%

What each source reports

CVE List Score used 5.0

Krb5: 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.

Record
CVE-2026-11850
CVSS 3.1
5.0 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:H
Weakness
CWE-191
Updated
2026-11-02
EUVDEUVD-2026-36219 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.

Record
EUVD-2026-36219
CVSS 3.1
5.0 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-85rq-mqr4-hjw7 5.0

An integer underflow vulnerability was found in MIT krb5 in the berval2tl_data() function in...

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.

Record
GHSA-85rq-mqr4-hjw7
CVSS 3.1
5.0 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:H
Weakness
CWE-191
Updated
2026-11-02
NVD 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.

Record
CVE-2026-11850
CVSS 3.1
5.0 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:H
Weakness
CWE-191
Updated
2026-11-02
OSVBELL-CVE-2026-11850 5.0
Record
BELL-CVE-2026-11850
CVSS 3.1
5.0 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2026-11850 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.

Record
DEBIAN-CVE-2026-11850
CVSS 3.1
5.0 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:H
Updated
2026-11-02
Show 13 moreShow less
OSVRHSA-2026:25520 5.0

Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update

Record
RHSA-2026:25520
CVSS 3.1
5.0 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2026-11850 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.

Record
UBUNTU-CVE-2026-11850
CVSS 3.1
5.0 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:H
Updated
2026-11-02
OSVopenSUSE-SU-2026:11177-1 No score

krb5-1.22.2-4.1 on GA media

These are all security issues fixed in the krb5-1.22.2-4.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:11177-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:21238-1 No score

Security update for krb5

This update for krb5 fixes the following issue

  • CVE-2026-11850: integer underflow in berval2tl_data() leads to heap out-of-bounds read (bsc#1268131).
Record
openSUSE-SU-2026:21238-1
Updated
2026-11-02
OSVROOT-OS-DEBIAN-12-CVE-2026-11850 No score

CVE-2026-11850 in krb5 - Patched by Root

Root has patched CVE-2026-11850 in the krb5 package for Root:Debian:12. Multiple fixed versions available.

Record
ROOT-OS-DEBIAN-12-CVE-2026-11850
Updated
2026-11-02
OSVROOT-OS-DEBIAN-13-CVE-2026-11850 No score

CVE-2026-11850 in krb5 - Patched by Root

Root has patched CVE-2026-11850 in the krb5 package for Root:Debian:13. Multiple fixed versions available.

Record
ROOT-OS-DEBIAN-13-CVE-2026-11850
Updated
2026-11-02
OSVSUSE-SU-2026:22450-1 No score

Security update for krb5

This update for krb5 fixes the following issue

  • CVE-2026-11850: integer underflow in berval2tl_data() leads to heap out-of-bounds read (bsc#1268131).
Record
SUSE-SU-2026:22450-1
Updated
2026-11-02
OSVSUSE-SU-2026:22702-1 No score

Security update for krb5

This update for krb5 fixes the following issue

  • CVE-2026-11850: integer underflow in berval2tl_data() leads to heap out-of-bounds read (bsc#1268131).
Record
SUSE-SU-2026:22702-1
Updated
2026-11-02
OSVSUSE-SU-2026:2847-1 No score

Security update for krb5

This update for krb5 fixes the following issue

  • CVE-2026-11850: integer underflow in berval2tl_data() leads to heap out-of-bounds read (bsc#1268131).
Record
SUSE-SU-2026:2847-1
Updated
2026-11-02
OSVSUSE-SU-2026:2848-1 No score

Security update for krb5, krb5-mini

This update for krb5, krb5-mini fixes the following issues

  • CVE-2026-11850: integer underflow in berval2tl_data() leads to heap out-of-bounds read (bsc#1268131).
  • CVE-2026-40355: Denial of Service via NULL pointer dereference in NegoEx mechanism (bsc#1263366).
  • CVE-2026-40356: Denial of Service via integer underflow and out-of-bounds read (bsc#1263367).
Record
SUSE-SU-2026:2848-1
Updated
2026-11-02
OSVSUSE-SU-2026:2849-1 No score

Security update for krb5

This update for krb5 fixes the following issue

  • CVE-2026-11850: integer underflow in berval2tl_data() leads to heap out-of-bounds read (bsc#1268131).
Record
SUSE-SU-2026:2849-1
Updated
2026-11-02
OSVSUSE-SU-2026:2954-1 No score

Security update for krb5

This update for krb5 fixes the following issue

  • CVE-2026-11850: integer underflow in berval2tl_data() leads to heap out-of-bounds read (bsc#1268131).
Record
SUSE-SU-2026:2954-1
Updated
2026-11-02
OSVUSN-8585-1 No score

krb5 vulnerabilities

It was discovered that Kerberos had an integer underflow vulnerability in the berval2tl_data() function. An attacker could possibly use this issue to cause Kerberos to crash, resulting in a denial of service. (CVE-2026-11850)

It was discovered that Kerberos had vulnerabilities in its NegoEx mechanism parsing. A remote attacker could possibly use these issues to cause Kerberos to crash, resulting in a denial of service. (CVE-2026-40355, CVE-2026-40356)

Record
USN-8585-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
krb5
Alpaquita:23
1.20.1-r0 up to 1.20.2-r4
1.20.2-r4
krb5
Alpaquita:25
1.21.3-r0 up to 1.21.3-r3
1.21.3-r3
krb5
Alpaquita:stream
1.20.1-r2 up to 1.22.2-r3
1.22.2-r3
krb5
Debian:12
All versions, plus listed versions
1.20.1-21.20.1-2+deb12u11.20.1-2+deb12u21.20.1-2+deb12u31.20.1-2+deb12u4
Show 18 moreShow less
1.20.1-2+deb12u51.20.1-2+loong641.20.1-31.20.1-41.20.1-51.20.1-5.11.20.1-5.1~exp11.20.1-61.21.2-11.21.3-11.21.3-21.21.3-31.21.3-41.21.3-51.22.1-11.22.1-21.22.1-2.11.22.1-3
None known
krb5
Debian:13
All versions, plus listed versions
1.21.3-51.21.3-5+deb13u11.22.1-11.22.1-21.22.1-2.11.22.1-3
None known
krb5
Debian:14
before 1.22.1-3, plus listed versions
1.21.3-51.22.1-11.22.1-21.22.1-2.1
1.22.1-3
krb5
Red Hat:hummingbird:1
before 0:1.22.2-8.hum1
0:1.22.2-8.hum1
krb5-devel
Red Hat:hummingbird:1
before 0:1.22.2-8.hum1
0:1.22.2-8.hum1
krb5-libs
Red Hat:hummingbird:1
before 0:1.22.2-8.hum1
0:1.22.2-8.hum1
krb5-pkinit
Red Hat:hummingbird:1
before 0:1.22.2-8.hum1
0:1.22.2-8.hum1
Show 39 moreShow less
Affected packages
PackageAffectedFixed
krb5-server
Red Hat:hummingbird:1
before 0:1.22.2-8.hum1
0:1.22.2-8.hum1
krb5-server-ldap
Red Hat:hummingbird:1
before 0:1.22.2-8.hum1
0:1.22.2-8.hum1
krb5-tests
Red Hat:hummingbird:1
before 0:1.22.2-8.hum1
0:1.22.2-8.hum1
krb5-workstation
Red Hat:hummingbird:1
before 0:1.22.2-8.hum1
0:1.22.2-8.hum1
krb5-xrealmauthz
Red Hat:hummingbird:1
before 0:1.22.2-8.hum1
0:1.22.2-8.hum1
libkadm5
Red Hat:hummingbird:1
before 0:1.22.2-8.hum1
0:1.22.2-8.hum1
krb5
Root:Debian:12
before 1.20.1-2+deb12u5.aikido.10
1.20.1-2+deb12u5.aikido.101.20.1-2+deb12u5.aikido.121.20.1-2+deb12u5.aikido.11
rootio-krb5
Root:Debian:12
before 1.20.1-2+deb12u5.aikido.10
1.20.1-2+deb12u5.aikido.101.20.1-2+deb12u5.aikido.121.20.1-2+deb12u5.aikido.11
krb5
Root:Debian:13
before 1.21.3-5+deb13u1.aikido.3
1.21.3-5+deb13u1.aikido.31.21.3-5+deb13u1.root.io.21.21.3-5+deb13u1.aikido.4
rootio-krb5
Root:Debian:13
before 1.21.3-5+deb13u1.aikido.3
1.21.3-5+deb13u1.aikido.31.21.3-5+deb13u1.root.io.21.21.3-5+deb13u1.aikido.4
krb5
SUSE:Linux Micro 6.1
before 1.21.3-slfo.1.1_5.1
1.21.3-slfo.1.1_5.1
krb5
SUSE:Linux Micro 6.0
before 1.20.1-9.1
1.20.1-9.1
krb5
SUSE:Linux Enterprise Micro 5.5
before 1.20.1-150500.3.23.1
1.20.1-150500.3.23.1
krb5
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS
before 1.20.1-150500.3.23.1
1.20.1-150500.3.23.1
krb5
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS
before 1.20.1-150500.3.23.1
1.20.1-150500.3.23.1
krb5
SUSE:Linux Enterprise Server 15 SP5-LTSS
before 1.20.1-150500.3.23.1
1.20.1-150500.3.23.1
krb5
SUSE:Linux Enterprise Server for SAP Applications 15 SP5
before 1.20.1-150500.3.23.1
1.20.1-150500.3.23.1
krb5
SUSE:Linux Enterprise Module for Basesystem 15 SP7
before 1.20.1-150600.11.19.1
1.20.1-150600.11.19.1
krb5
SUSE:Linux Enterprise Module for Server Applications 15 SP7
before 1.20.1-150600.11.19.1
1.20.1-150600.11.19.1
krb5
SUSE:Linux Enterprise Server 15 SP6-LTSS
before 1.20.1-150600.11.19.1
1.20.1-150600.11.19.1
krb5
SUSE:Linux Enterprise Server for SAP Applications 15 SP6
before 1.20.1-150600.11.19.1
1.20.1-150600.11.19.1
krb5
SUSE:Linux Enterprise Server 12 SP5-LTSS
before 1.16.3-46.24.1
1.16.3-46.24.1
krb5
SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5
before 1.16.3-46.24.1
1.16.3-46.24.1
krb5
SUSE:Linux Enterprise Micro 5.3
before 1.19.2-150400.3.24.1
1.19.2-150400.3.24.1
krb5
SUSE:Linux Enterprise Micro 5.4
before 1.19.2-150400.3.24.1
1.19.2-150400.3.24.1
krb5
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS
before 1.19.2-150400.3.24.1
1.19.2-150400.3.24.1
krb5
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS
before 1.19.2-150400.3.24.1
1.19.2-150400.3.24.1
krb5
SUSE:Linux Enterprise Server 15 SP4-LTSS
before 1.19.2-150400.3.24.1
1.19.2-150400.3.24.1
krb5
SUSE:Linux Enterprise Server for SAP Applications 15 SP4
before 1.19.2-150400.3.24.1
1.19.2-150400.3.24.1
krb5
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
1.10.1+dfsg-6.1ubuntu11.11.3+dfsg-3ubuntu21.12+dfsg-2ubuntu11.12+dfsg-2ubuntu21.12+dfsg-2ubuntu3
Show 14 moreShow less
1.12+dfsg-2ubuntu41.12+dfsg-2ubuntu4.21.12+dfsg-2ubuntu51.12+dfsg-2ubuntu5.11.12+dfsg-2ubuntu5.21.12+dfsg-2ubuntu5.31.12+dfsg-2ubuntu5.41.12+dfsg-2ubuntu5.4+esm11.12+dfsg-2ubuntu5.4+esm21.12+dfsg-2ubuntu5.4+esm31.12+dfsg-2ubuntu5.4+esm41.12+dfsg-2ubuntu5.4+esm51.12+dfsg-2ubuntu5.4+esm61.12+dfsg-2ubuntu5.4+esm7
None known
krb5
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
1.13.2+dfsg-21.13.2+dfsg-31.13.2+dfsg-41.13.2+dfsg-51.13.2+dfsg-5ubuntu1
Show 11 moreShow less
1.13.2+dfsg-5ubuntu21.13.2+dfsg-5ubuntu2.11.13.2+dfsg-5ubuntu2.1+esm11.13.2+dfsg-5ubuntu2.21.13.2+dfsg-5ubuntu2.2+esm11.13.2+dfsg-5ubuntu2.2+esm21.13.2+dfsg-5ubuntu2.2+esm31.13.2+dfsg-5ubuntu2.2+esm41.13.2+dfsg-5ubuntu2.2+esm51.13.2+dfsg-5ubuntu2.2+esm61.13.2+dfsg-5ubuntu2.2+esm7
None known
krb5
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
1.15.1-21.16-21.16-2build11.16-2ubuntu0.11.16-2ubuntu0.1+esm1
Show 7 moreShow less
1.16-2ubuntu0.21.16-2ubuntu0.31.16-2ubuntu0.41.16-2ubuntu0.4+esm11.16-2ubuntu0.4+esm21.16-2ubuntu0.4+esm31.16-2ubuntu0.4+esm5
None known
krb5
Ubuntu:20.04:LTS
All versions, plus listed versions
1.17-61.17-6ubuntu31.17-6ubuntu41.17-6ubuntu4.11.17-6ubuntu4.2
Show 7 moreShow less
1.17-6ubuntu4.31.17-6ubuntu4.41.17-6ubuntu4.61.17-6ubuntu4.71.17-6ubuntu4.81.17-6ubuntu4.91.17-6ubuntu4.11
None known
krb5
Ubuntu:22.04:LTS
before 1.19.2-2ubuntu0.8, plus listed versions
1.18.3-61.18.3-71.19.2-0ubuntu11.19.2-11.19.2-2
Show 7 moreShow less
1.19.2-2ubuntu0.11.19.2-2ubuntu0.21.19.2-2ubuntu0.31.19.2-2ubuntu0.41.19.2-2ubuntu0.51.19.2-2ubuntu0.61.19.2-2ubuntu0.7
1.19.2-2ubuntu0.8
krb5
Ubuntu:24.04:LTS
before 1.20.1-6ubuntu2.7, plus listed versions
1.20.1-3ubuntu11.20.1-5build11.20.1-6ubuntu11.20.1-6ubuntu21.20.1-6ubuntu2.1
Show 5 moreShow less
1.20.1-6ubuntu2.21.20.1-6ubuntu2.31.20.1-6ubuntu2.41.20.1-6ubuntu2.51.20.1-6ubuntu2.6
1.20.1-6ubuntu2.7
krb5
Ubuntu:25.10
All versions, plus listed versions
1.21.3-4ubuntu21.21.3-5ubuntu11.21.3-5ubuntu2
None known
krb5
Ubuntu:26.04:LTS
before 1.22.1-2ubuntu4.1, plus listed versions
1.21.3-5ubuntu21.22.1-21.22.1-2ubuntu21.22.1-2ubuntu31.22.1-2ubuntu4
1.22.1-2ubuntu4.1
krb5
openSUSE:Tumbleweed
before 1.22.2-4.1
1.22.2-4.1
krb5
openSUSE:Leap 16.0
before 1.21.3-160000.4.1
1.21.3-160000.4.1

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-11850 is a medium vulnerability (CVSS 5.0) in Red Hat Enterprise Linux 10, published June 11, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.27%, the 19th percentile. Fixed in krb5 1.20.2-r4.

References

Show 21 moreShow less
MoveEnter Open