{"id":"CVE-2026-58216","aliases":["CVE-2026-58216"],"related":[],"kind":"vulnerability","state":"published","title":"Samba: kpasswd service: kpasswd packet that contains malformed asn.1 might cause the server to access 6 bytes of unallocated memory leading server to crash","summary":"An out-of-bounds read flaw was found in Samba's Kerberos Key Distribution Center's (KDC) password change (kpasswd) service. When processing malformed ASN.1-encoded Kerberos password change request, Samba server miscalculates the structure size and attempts to read up to six bytes beyond the end of the allocated buffer. While this out-of-bounds read typically results in a harmless decryption failure, if the read hits unmapped memory, it causes the KDC process to crash. An authenticated attacker can send a specially crafted kpasswd request containing malformed ASN.1 data to trigger the out-of-bounds read, which may cause the KDC process to terminate, resulting in a denial of service.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An out-of-bounds read flaw was found in Samba's Kerberos Key Distribution Center's (KDC) password change (kpasswd) service. When processing malformed ASN.1-encoded Kerberos password change request, Samba server miscalculates the structure size and attempts to read up to six bytes beyond the end of the allocated buffer. While this out-of-bounds read typically results in a harmless decryption failure, if the read hits unmapped memory, it causes the KDC process to crash. An authenticated attacker can send a specially crafted kpasswd request containing malformed ASN.1 data to trigger the out-of-bounds read, which may cause the KDC process to terminate, resulting in a denial of service.","source":"cvelist"}],"published":"2026-07-30T15:40:11.673Z","modified":"2026-07-31T23:17:25.703Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-125"],"affected":[{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"samba","cpe":"cpe:/o:redhat:enterprise_linux:10","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"samba","cpe":"cpe:/o:redhat:enterprise_linux:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"samba4","cpe":"cpe:/o:redhat:enterprise_linux:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"samba","cpe":"cpe:/o:redhat:enterprise_linux:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"samba","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"samba","cpe":"cpe:/o:redhat:enterprise_linux:9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","package":"rhcos","cpe":"cpe:/a:redhat:openshift:4","source":"cvelist"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-58216","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2502721","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.samba.org/show_bug.cgi?id=16087","tags":[],"sources":["cvelist","nvd"]},{"url":"https://www.samba.org/samba/security/CVE-2026-58216.html","tags":[],"sources":["cvelist","nvd"]}],"credits":["Red Hat would like to thank Tristan Madani (@TristanInSec) (Talence Security) for reporting this issue."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-31T22:57:32.483Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-58216","url":"https://www.cve.org/CVERecord?id=CVE-2026-58216","licence":"CVE Terms of Use","modified":"2026-07-31T22:57:42.253Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-58216","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58216","licence":"Public domain","modified":"2026-07-31T23:17:25.703Z"}],"updatedAt":"2026-11-25T22:59:30.641Z","epss":{"score":0.00313,"percentile":0.26085,"date":"2026-12-01T12:00:22.000Z"}}