PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2022-32743: 
Samba vulnerability analysis and mitigation

Overview

Samba contains a vulnerability (CVE-2022-32743) where it does not validate the Validated-DNS-Host-Name right for the dNSHostName attribute, which could permit unprivileged users to write it. The vulnerability was discovered in September 2022 and affects Samba versions from 4.1.0 onwards (NVD, Samba Bugzilla).

Technical details

The vulnerability stems from a failure to properly implement the Validated-DNS-Host-Name right validation, which should only apply to objects with class computer or server. According to Microsoft's specifications, the dNSHostName attribute should be in the format computerName.fullDomainDnsName, where computerName is the current sAMAccountName without the final '$' character (MS Documentation). The vulnerability has a CVSS v3.1 base score of 7.5 (HIGH) with a vector of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N (NVD).

Impact

The vulnerability allows unprivileged users to modify the dNSHostName attribute, which could potentially lead to DNS-related security issues. The dNSHostName suffix can be changed freely, which might affect systems that rely on this attribute for identification or authentication purposes (Samba Bugzilla).

Exploitability

While initially considered potentially serious, further analysis revealed that constraints in the NETLOGON server limit the opportunity for abuse. The vulnerability was classified as low-severity after investigation, though it retained its CVE designation for tracking purposes (Samba Bugzilla).

Mitigation and workarounds

The vulnerability has been fixed in newer versions of Samba. Users are advised to upgrade to patched versions. For Fedora users, updates were provided in version 4.17.0, and for Gentoo users, the fix is included in version 4.18.4 (Fedora Update, Gentoo Security).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Alpine

Fixed

edge

samba: 4.17.0-r0

Fixed

v3.18

samba: 4.17.0-r0

Fixed

v3.19

samba: 4.17.0-r0

Fixed

v3.20

samba: 4.17.0-r0

Fixed

v3.21

samba: 4.17.0-r0

Fixed

v3.22

samba: 4.17.0-r0

Fixed

v3.23

samba: 4.17.0-r0

Fixed

Source: This report was generated using AI

Related Samba vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-75803CRITICAL9.1
  • Ruby logoRuby
  • edk2-hwe
NoYesAug 21, 2026
CVE-2026-93599HIGH8.7
  • Samba logoSamba
  • firefox
NoYesSep 18, 2026
CVE-2026-84782HIGH8.2
  • Ruby logoRuby
  • samba-dc-libs
NoYesSep 29, 2026
CVE-2026-93602MEDIUM5.9
  • Samba logoSamba
  • rust-toolset:rhel8::cargo-doc
NoYesSep 18, 2026
CVE-2026-93601LOW2.1
  • Samba logoSamba
  • libldb
NoYesSep 18, 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