cve.bz

CVE-2026-58216 Out-of-bounds Read

5.3 mediumEPSS 0.3%

Medium (5.3). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.3% (down from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 25th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-07-31. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-58216 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-58216?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-58216?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-58216 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12sambano fix listedDEBIAN-CVE-2026-58216
Debian13samba2:4.22.10+dfsg-0+deb13u2DEBIAN-CVE-2026-58216 DSA-6401-1
Debian14samba2:4.24.5+dfsg-1DEBIAN-CVE-2026-58216
Ubuntu22.04:LTSsamba2:4.15.13+dfsg-0ubuntu1.13UBUNTU-CVE-2026-58216
Ubuntu24.04:LTSsamba2:4.19.5+dfsg-4ubuntu9.7UBUNTU-CVE-2026-58216
Ubuntu26.04:LTSsamba2:4.23.6+dfsg-1ubuntu2.2UBUNTU-CVE-2026-58216
UbuntuPro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTS and 1 moresambano fix listedUBUNTU-CVE-2026-58216
SUSEEnterprise Storage 7.1samba4.15.13+git.808.eeca19f5e1-150300.3.106.1SUSE-SU-2026:3366-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5samba4.15.13+git.729.a8ce057e8d-3.109.1SUSE-SU-2026:3367-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS and 4 moresamba4.15.13+git.808.eeca19f5e1-150400.3.52.1SUSE-SU-2026:3362-1
SUSELinux Enterprise High Availability Extension 15 SP5, Linux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS and 3 moresamba4.17.12+git.581.f49579c6cd-150500.3.42.1SUSE-SU-2026:3365-1
SUSELinux Enterprise High Availability Extension 15 SP6, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6samba4.19.8+git.501.67274891bc-150600.3.29.1SUSE-SU-2026:3364-1
SUSELinux Enterprise High Availability Extension 15 SP7, Linux Enterprise Module for Basesystem 15 SP7samba4.21.10+git.533.31d7e5508d-150700.3.29.1SUSE-SU-2026:3363-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0samba4.22.11+git.552.66cfeb7de0a-160000.1.1SUSE-SU-2026:23129-1 SUSE-SU-2026:23152-1
SUSELinux Micro 6.2samba4.22.11+git.552.66cfeb7de0a-160000.1.1SUSE-SU-2026:23003-1
SUSELinux Micro 6.2samba4.22.9+git.538.af6cb4fb2e-160000.1.1SUSE-SU-2026:22977-1
openSUSELeap 16.0samba4.22.11+git.552.66cfeb7de0a-160000.1.1openSUSE-SU-2026:21540-1
openSUSELeap 16.0samba4.22.9+git.538.af6cb4fb2e-160000.1.1openSUSE-SU-2026:21475-1
openSUSETumbleweedsamba4.24.5+git.481.dba78dbdea-1.1openSUSE-SU-2026:11431-1
Azure Linux3sambano fix listedAZL-94169

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat Product Security has rated this vulnerability as having a Moderate security impact.

Successful exploitation requires an authenticated attacker to craft a malformed ASN.1-encoded Kerberos password change request that precisely triggers the underlying parsing flaw, increasing the attack complexity. The Samba project also notes that the attack is unreliable in practice and an attacker may need to perform numerous kpasswd attempts before successfully causing the service to terminate.

```

Standard RHEL Server Deployments (Not Affected): Default Red Hat Enterprise Linux (RHEL) deployments are not affected. RHEL does not support the Samba Active Directory Domain Controller (AD DC) role or its integrated Kerberos Key Distribution Center (KDC), including the kpasswd service, where this vulnerability resides.

```

Samba AD DC Deployments (Affected): Deployments explicitly configured to operate as a Samba Active Directory Domain Controller (server role = active directory domain controller) are affected.

Red Hat's mitigation

Administrators who do not require the Kerberos password change service may disable it by setting ```kpasswd port = 0``` in ```/etc/samba/smb.conf```.

Where disabling the service is not practical, rate-limiting access to the kpasswd service may reduce the likelihood of successful exploitation until an updated package can be applied.

Note: Disabling kpasswd port will prevent domain users from changing their Kerberos passwords via the kpasswd protocol until patched.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10sambaNot affected
Red Hat Enterprise Linux 6sambaNot affected
Red Hat Enterprise Linux 6samba4Not affected
Red Hat Enterprise Linux 7sambaNot affected
Red Hat Enterprise Linux 8sambaNot affected
Red Hat Enterprise Linux 9sambaNot affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Not affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Not affected
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-58216.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON