CVE-2026-58216
Vulnerability Summary
Timeline
Description
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.
CVSS Metrics
- v3.1•MEDIUM•Score: 5.3CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS Trends
Current EPSS score: 0.31%• Percentile: 24%
Techniques & Countermeasures
- CWE-125•Out-of-bounds Read
The product reads data past the end, or before the beginning, of the intended buffer.
Affected Systems
- debian•samba
all | all | < 2:4.22.10+dfsg-0+deb13u2 | < 2:4.24.5+dfsg-1
- ubuntu•samba
all | < 2:4.15.13+dfsg-0ubuntu1.13 | < 2:4.19.5+dfsg-4ubuntu9.7 | < 2:4.23.6+dfsg-1ubuntu2.2
References (8)
- https://access.redhat.com/security/cve/CVE-2026-58216
- https://bugzilla.redhat.com/show_bug.cgi?id=2502721
- https://bugzilla.samba.org/show_bug.cgi?id=16087
- https://www.samba.org/samba/security/CVE-2026-58216.html
- https://ubuntu.com/security/CVE-2026-58216
- https://www.cve.org/CVERecord?id=CVE-2026-58216
- https://ubuntu.com/security/notices/USN-8621-1
- https://security-tracker.debian.org/tracker/CVE-2026-58216