An out-of-bounds read flaw was found in Samba's Kerberos Key Distribution Center's (KDC) password change (kpasswd) service. (CVE-2026-58216)
An out-of-bounds read vulnerability exists in Samba's Kerberos Key Distribution Center (KDC) password change (kpasswd) service. The flaw occurs when processing malformed ASN.1-encoded Kerberos password change requests, causing the server to read beyond the allocated buffer. This typically results in a decryption failure but can cause the KDC process to crash if unmapped memory is accessed. An authenticated attacker can exploit this by sending a crafted kpasswd request, potentially causing a denial of service.
AI Analysis
Technical Summary
CVE-2026-58216 is an out-of-bounds read vulnerability in Samba's Kerberos KDC password change service. When handling malformed ASN.1-encoded password change requests, Samba miscalculates the structure size and reads up to six bytes beyond the buffer boundary. While this usually leads to a harmless decryption failure, accessing unmapped memory causes the KDC process to crash. An attacker with authentication can trigger this condition by sending specially crafted kpasswd requests, resulting in denial of service due to KDC process termination.
Potential Impact
The vulnerability can cause the Samba KDC process to crash, resulting in denial of service. There is no impact on confidentiality or integrity. Exploitation requires authentication and high attack complexity due to the need to craft malformed ASN.1 data. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the available data. Until a patch is available, restrict access to the kpasswd service to trusted authenticated users only to reduce risk.
An out-of-bounds read flaw was found in Samba's Kerberos Key Distribution Center's (KDC) password change (kpasswd) service. (CVE-2026-58216)
Description
An out-of-bounds read vulnerability exists in Samba's Kerberos Key Distribution Center (KDC) password change (kpasswd) service. The flaw occurs when processing malformed ASN.1-encoded Kerberos password change requests, causing the server to read beyond the allocated buffer. This typically results in a decryption failure but can cause the KDC process to crash if unmapped memory is accessed. An authenticated attacker can exploit this by sending a crafted kpasswd request, potentially causing a denial of service.
CVSS v3.1
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-58216 is an out-of-bounds read vulnerability in Samba's Kerberos KDC password change service. When handling malformed ASN.1-encoded password change requests, Samba miscalculates the structure size and reads up to six bytes beyond the buffer boundary. While this usually leads to a harmless decryption failure, accessing unmapped memory causes the KDC process to crash. An attacker with authentication can trigger this condition by sending specially crafted kpasswd requests, resulting in denial of service due to KDC process termination.
Potential Impact
The vulnerability can cause the Samba KDC process to crash, resulting in denial of service. There is no impact on confidentiality or integrity. Exploitation requires authentication and high attack complexity due to the need to craft malformed ASN.1 data. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the available data. Until a patch is available, restrict access to the kpasswd service to trusted authenticated users only to reduce risk.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-vc9h-gm8g-6j4x
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-58216"]
- Ecosystems
- []
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a6bde1a9c2644c7f8dcae89
Added to database: 07/30/2026, 23:28:26 UTC
Last enriched: 07/31/2026, 00:15:12 UTC
Last updated: 07/31/2026, 00:31:59 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.