Samba 4.16.7 vulnerabilities

28 published vulnerabilities affect Samba 4.16.7. The 4.16 line no longer gets security fixes.

28CVEs
4critical (CVSS 9+)
6high (CVSS 7–8.9)
0exploited in the wild

What to upgrade to

The newest release on the 4.16 line is 4.16.11, with 16 known CVEs. The newest Samba release we know of is 4.25.1, with 6 known CVEs.

Upgrade toFixesStill openNew in that release
4.16.11newest 4.16 release12 of 282 critical16CVE-2026-4408, CVE-2023-3961, CVE-2026-125628 and 13 morenone
4.25.1newest release23 of 284 critical5CVE-2026-125628, CVE-2026-125633, CVE-2026-125627 and 2 more1CVE-2026-125634

"Fixes": CVEs on this page that don't affect that release. "New in that release": CVEs that affect it and not this one.

CVEs affecting Samba 4.16.7

Worst first: ranked by Dawnsentry's score for a device that faces the internet (CVSS, plus known exploitation and EPSS). "Fixed in" is the first release that carries the fix, where the source names one.

CVECVSSExploitationEPSSFixed in
CVE-2026-4408Samba: remote code execution in samr9.8None known47%4.22.10vendor advisory
CVE-2023-3961Samba: smbd allows client access to unix domain sockets on the file system as root9.8None known3%4.17.12NVD
CVE-2022-44640Heimdal before 7.7.1 allows remote attackers to execute arbitrary code because of an invalid free in the ASN.1 codec used by the Key Distribution Center (KDC)9.8None known2%4.16.8NVD
CVE-2022-45141Since the Windows Kerberos RC4-HMAC Elevation of Privilege Vulnerability was disclosed by Microsoft on Nov 8 2022 and per RFC8429 it is assumed that rc4-hmac…9.8None knownunder 1%4.16.8NVD
CVE-2023-34966Samba: infinite loop in mdssvc rpc service for spotlight7.5None known63%4.16.11NVD
CVE-2022-38023Netlogon RPC Elevation of Privilege Vulnerability8.1None known3%4.16.8NVD
CVE-2022-37966Windows Kerberos RC4-HMAC Elevation of Privilege Vulnerability8.1None known3%4.16.8NVD
CVE-2026-125628Samba: samba4: extended response type confusion in ldapsrv_do_call crashes the ad dc ldap worker7.5None known1%–CVE record
CVE-2022-32743Samba does not validate the Validated-DNS-Host-Name right for the dNSHostName attribute which could permit unprivileged users to write it7.5None known2%4.17.0NVD
CVE-2022-37967Windows Kerberos Elevation of Privilege Vulnerability7.2None known5%4.16.8NVD
CVE-2026-3012Samba: group policy certificate enrollment uses http:// without validation6.8None knownunder 1%4.21.0NVD
CVE-2026-125633Samba: samba4: hinfo type confusion in dns_to_dnsp_convert crashes the ad dc rpc worker6.5None knownunder 1%–CVE record
CVE-2026-125627Samba: samba4: null dereference in vlv_value_compare crashes the ad dc ldap worker6.5None knownunder 1%–CVE record
CVE-2026-135107Samba: smb2 pipe transceive allocates maxoutputresponse before the read6.5None knownunder 1%–CVE record
CVE-2023-4154Samba: ad dc password exposure to privileged users and rodcs6.5None known1%4.17.12NVD
CVE-2023-42669Samba: "rpcecho" development server allows denial of service via sleep() call on ad dc6.5None known2%4.17.12NVD
CVE-2023-42670Samba: ad dc busy rpc multiple listener dos6.5None known1%4.17.12NVD
CVE-2023-4091Samba: smb clients can truncate files with read-only permissions6.5None known1%4.17.12NVD
CVE-2023-5568Samba: heap buffer overflow with freshness tokens in the heimdal kdc6.5None known2%4.19.2NVD
CVE-2023-0614The fix in 4.6.16, 4.7.9, 4.8.4 and 4.9.7 for CVE-2018-10919 Confidential attribute disclosure vi LDAP filters was insufficient and an attacker may be able to…6.5None knownunder 1%4.16.10NVD
CVE-2023-34967Samba: type confusion in mdssvc rpc service for spotlight5.3None known61%4.16.11NVD
CVE-2026-135111Samba: samba4: smbd listener counts a failed fork as a child and exhausts max smbd processes5.9None known––CVE record
CVE-2022-2127Samba: out-of-bounds read in winbind auth_crap5.9None known2%4.16.10NVD
CVE-2023-0922The Samba AD DC administration tool, when operating against a remote LDAP server, will by default send new or reset passwords over a signed-only connection5.9None knownunder 1%4.16.10NVD
CVE-2021-20251A flaw was found in samba5.9None knownunder 1%4.16.8NVD
CVE-2022-1615In Samba, GnuTLS gnutls_rnd() can fail and give predictable random values5.5None knownunder 1%4.17.0NVD
CVE-2023-34968Samba: spotlight server-side share path disclosure5.3None known1%4.16.11NVD
CVE-2018-14628An information leak vulnerability was discovered in Samba's LDAP server4.3None known1%4.18.9NVD

Fixed since 4.16.6

1 CVE that affects 4.16.6, the release before it, does not affect 4.16.7:

  • CVE-2022-42898 PAC parsing in MIT Kerberos 5 (aka krb5) before 1.19.4 and 1.20.x before 1.20.1 has integer overflows that may lead to remote code execution (in KDC, kadmind… CVSS 8.8

Support for the 4.16 line

The 4.16 line was first released 21 March 2022. Security fixes for it ended 4 September 2023, so vulnerabilities found since then stay open on every 4.16 release. Its latest release is 4.16.11. Dates and latest release from endoflife.date.

Other Samba 4.16 releases

4.16.1116 4.16.1020 4.16.922 4.16.822 4.16.629 4.16.530 4.16.430 4.16.335 4.16.235 4.16.135 4.16.035

All Samba versions

How this list is made

These are the CVEs Dawnsentry matches to each Samba version, with the same engine its customers use. Where the vendor publishes its own advisory, that decides whether a version is affected, down to hotfix level; otherwise the CVE record and NVD's version data decide. CVSS comes from NVD or the reporting organisation, exploitation from CISA's Known Exploited Vulnerabilities catalogue, CISA's ratings, Metasploit and Nuclei, and EPSS (the probability of exploitation in the next 30 days) from FIRST. The list is rebuilt every day. Always confirm against the vendor's advisory before you act on it.

Updated 2 December 2026.