{"id":"DHI-ruy4-qpiq-ejch-rmnr","summary":"An integer underflow vulnerability was found in MIT krb5 in the berval2tl_data() function in…","details":"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.\nThe attack vector involves a malicious or compromised LDAP KDB backend returning a krbExtraData attribute with bv_len \u003c 2, triggering the underflow when the KDC or kadmind reads principal data.","modified":"2026-11-21T18:40:54Z","published":"2026-11-19T20:54:10Z","upstream":["CVE-2026-11850"],"database_specific":{"coverage_exclusions":["legacy_package_image_owner"],"coverage":"partial"},"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-ruy4-qpiq-ejch-rmnr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-11850"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2/ALAS-2026-3798.html"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-11850"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-1939.html"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-11850"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-11850"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-11850"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-11850"}],"affected":[{"package":{"name":"krb5","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/krb5"},"versions":["1.21.3-5+deb13u1+dhi1","1.21.3-5+deb13u1+dhi3"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ruy4-qpiq-ejch-rmnr.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:H"}]}