{"id":79604,"date":"2026-06-11T13:46:21","date_gmt":"2026-06-11T10:16:21","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-11850-krb5-krb5-integer-underflow-in-berval2tl_data-leads-to-heap-out-of-bounds-read\/"},"modified":"2026-06-11T13:46:21","modified_gmt":"2026-06-11T10:16:21","slug":"cve-2026-11850-krb5-krb5-integer-underflow-in-berval2tl_data-leads-to-heap-out-of-bounds-read","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-11850-krb5-krb5-integer-underflow-in-berval2tl_data-leads-to-heap-out-of-bounds-read\/","title":{"rendered":"CVE-2026-11850 &#8211; Krb5: krb5: integer underflow in berval2tl_data() leads to heap out-of-bounds read"},"content":{"rendered":"<p>CVE ID :CVE-2026-11850<\/p>\n<p>  Published : June 11, 2026, 10:16 a.m. | 1\u00a0hour, 3\u00a0minutes ago<\/p>\n<p>  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 &#8211; 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.<br \/>\nThe attack vector involves a malicious or compromised LDAP KDB backend returning a krbExtraData attribute with bv_len<br \/>\n  Severity: 5.0 | MEDIUM<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-11850 Published : June 11, 2026, 10:16 a.m. | 1\u00a0hour, 3\u00a0minutes ago 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 &#8211; 2) without a prior bounds check. When bv_len is 0 or 1, the subtraction wraps to a &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-79604","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/79604","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=79604"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/79604\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=79604"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=79604"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=79604"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}