CVE-2022-0336: 
Kerberos vulnerability analysis and mitigation

Overview

CVE-2022-0336 affects Samba versions 4.0.0 and later, specifically impacting the Samba Active Directory Domain Controller (AD DC). The vulnerability allows users with permission to write to an account's servicePrincipalName attribute to impersonate arbitrary services. This security flaw was discovered when checks in the Samba AD DC to prevent aliased Service Principal Names (SPNs) could be bypassed (Samba Security).

Technical details

The vulnerability stems from a logic flaw in the SPN uniqueness checking mechanism. When adding service principal names to an account, some checks could be bypassed if an account modification re-adds an SPN that was previously present on that account, such as one added when a computer is joined to a domain. The vulnerability has been assigned a CVSS v3.1 base score of 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) (Samba Security).

Impact

The vulnerability has two primary impacts. First, an attacker who has the ability to write to an account can perform a denial-of-service attack by adding an SPN that matches an existing service. Second, if an attacker can intercept traffic, they can impersonate existing services, resulting in a loss of confidentiality and integrity (Samba Security).

Exploitability

The vulnerability requires an attacker to have write permissions to an account's servicePrincipalName attribute. The attack can be executed over a network with low attack complexity, requiring only low privileges and no user interaction (Samba Security).

Mitigation and workarounds

Patches addressing this vulnerability were released in Samba versions 4.13.17, 4.14.12, and 4.15.4. Samba administrators are advised to upgrade to these releases or apply the available patches as soon as possible. No workarounds are available for this vulnerability (Samba Security).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Arch Linux

Fixed

rolling

samba: 4.15.5-1

Fixed

Source: This report was generated using AI

Related Kerberos vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-40356HIGH7.5
  • Kerberos logoKerberos
  • krb5.src
NoYesApr 28, 2026
CVE-2026-40355HIGH7.5
  • Kerberos logoKerberos
  • krb5-debugsource
NoYesApr 28, 2026
CVE-2026-107778HIGH7.1
  • Kerberos logoKerberos
  • rhel9-eus::rhel-9.6-bootc
NoYesOct 08, 2026
CVE-2026-107708MEDIUM6.9
  • Kerberos logoKerberos
  • krb5-tests
NoYesOct 08, 2026
CVE-2026-11850MEDIUM5
  • Kerberos logoKerberos
  • krb5-libs
NoYesJun 11, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management