InfraGuard

Samba 4.0 vulnerabilities

103 known CVEs affect the 4.0 line of Samba.

2 KEV10.0 max CVSS

Fixed in

4.0.114.0.134.0.164.0.18

CVEs affecting 4.0

CVE Title CVSS Exploited EPSS Published
CVE-2017-7494 Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote code execution vulnerabi... 9.8 KEV 99.4% 2017-05-30
CVE-2020-1472 Netlogon Elevation of Privilege Vulnerability 5.5 KEV 99.4% 2020-08-17
CVE-2015-0240 The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x before 4.0.25, 4.1.x... 10.0 88.2% 2015-02-24
CVE-2017-14746 Use-after-free vulnerability in Samba 4.x before 4.7.3 allows remote attackers to execute arbitrary code via a... 9.8 9.9% 2017-11-27
CVE-2022-45141 Since the Windows Kerberos RC4-HMAC Elevation of Privilege Vulnerability was disclosed by Microsoft on Nov 8 2... 9.8 0.5% 2023-03-06
CVE-2023-3961 Samba: smbd allows client access to unix domain sockets on the file system as root 9.8 2.7% 2023-11-03
CVE-2016-2123 A flaw was found in samba versions 4.0.0 to 4.5.2. The Samba routine ndr_pull_dnsp_name contains an integer wr... 8.8 6.2% 2018-11-01
CVE-2018-1057 On a Samba 4 AD DC the LDAP server in all versions of Samba from 4.0.0 onwards incorrectly validates permissio... 8.8 10.0% 2018-03-13
CVE-2018-10858 A heap-buffer overflow was found in the way samba clients processed extra long filename in a directory listing... 8.8 4.3% 2018-08-22
CVE-2020-25718 A flaw was found in the way samba, as an Active Directory Domain Controller, is able to support an RODC (read-... 8.8 1.7% 2022-02-18
CVE-2020-25722 Multiple flaws were found in the way samba AD DC implemented access and conformance checking of stored data. A... 8.8 1.6% 2022-02-18
CVE-2021-3738 In DCE/RPC it is possible to share the handles (cookies for resource state) between multiple connections via a... 8.8 2.0% 2022-03-02
CVE-2021-44142 The Samba vfs_fruit module uses extended file attributes (EA, xattr) to provide "...enhanced compatibility wit... 8.8 73.6% 2022-02-21
CVE-2022-0336 The Samba AD DC includes checks when adding service principals names (SPNs) to an account to ensure that SPNs... 8.8 1.8% 2022-08-29
CVE-2022-2031 A flaw was found in Samba. The security vulnerability occurs when KDC and the kpasswd service share a single a... 8.8 1.3% 2022-08-25
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... 8.8 6.9% 2022-12-25
CVE-2014-8143 Samba 4.0.x before 4.0.24, 4.1.x before 4.1.16, and 4.2.x before 4.2rc4, when an Active Directory Domain Contr... 8.5 4.3% 2015-01-17
CVE-2013-4408 Heap-based buffer overflow in the dcerpc_read_ncacn_packet_done function in librpc/rpc/dcerpc_util.c in winbin... 8.3 2.7% 2013-12-10
CVE-2017-11103 Heimdal before 7.4 allows remote attackers to impersonate services with Orpheus' Lyre attacks because it obtai... 8.1 5.1% 2017-07-13
CVE-2020-25717 A flaw was found in the way Samba maps domain users to local users. An authenticated attacker could use this f... 8.1 1.7% 2022-02-18
CVE-2022-37966 Windows Kerberos RC4-HMAC Elevation of Privilege Vulnerability 8.1 2.9% 2022-11-09
CVE-2022-38023 Netlogon RPC Elevation of Privilege Vulnerability 8.1 2.7% 2022-11-09
CVE-2014-3560 NetBIOS name services daemon (nmbd) in Samba 4.0.x before 4.0.21 and 4.1.x before 4.1.11 allows remote attacke... 7.9 56.4% 2014-08-06
CVE-2015-5330 ldb before 1.1.24, as used in the AD LDAP server in Samba 4.x before 4.1.22, 4.2.x before 4.2.7, and 4.3.x bef... 7.5 6.2% 2015-12-29
CVE-2015-7540 The LDAP server in the AD domain controller in Samba 4.x before 4.1.22 does not check return values to ensure... 7.5 7.1% 2015-12-29
CVE-2015-8467 The samldb_check_user_account_control_acl function in dsdb/samdb/ldb_modules/samldb.c in Samba 4.x before 4.1.... 7.5 3.1% 2015-12-29
CVE-2016-2118 The MS-SAMR and MS-LSAD protocol implementations in Samba 3.x and 4.x before 4.2.11, 4.3.x before 4.3.8, and 4... 7.5 37.2% 2016-04-12
CVE-2016-2119 libcli/smb/smbXcli_base.c in Samba 4.x before 4.2.14, 4.3.x before 4.3.11, and 4.4.x before 4.4.5 allows man-i... 7.5 3.1% 2016-07-07
CVE-2017-15275 Samba before 4.7.3 might allow remote attackers to obtain sensitive information by leveraging failure of the s... 7.5 21.4% 2017-11-27
CVE-2017-2619 Samba before versions 4.6.1, 4.5.7 and 4.4.11 are vulnerable to a malicious client using a symlink race to all... 7.5 11.0% 2018-03-12
CVE-2020-10704 A flaw was found when using samba as an Active Directory Domain Controller. Due to the way samba handles certa... 7.5 3.5% 2020-05-06
CVE-2020-10745 A flaw was found in all Samba versions before 4.10.17, before 4.11.11 and before 4.12.4 in the way it processe... 7.5 3.9% 2020-07-07
CVE-2020-27840 A flaw was found in samba. Spaces used in a string around a domain name (DN), while supposed to be ignored, ca... 7.5 3.9% 2021-05-12
CVE-2021-20277 A flaw was found in Samba's libldb. Multiple, consecutive leading spaces in an LDAP attribute can lead to an o... 7.5 4.4% 2021-05-12
CVE-2023-34966 Samba: infinite loop in mdssvc rpc service for spotlight 7.5 62.4% 2023-07-20
CVE-2016-2113 Samba 4.x before 4.2.11, 4.3.x before 4.3.8, and 4.4.x before 4.4.2 does not verify X.509 certificates from TL... 7.4 2.7% 2016-04-25
CVE-2017-12150 It was found that samba before 4.4.16, 4.5.x before 4.5.14, and 4.6.x before 4.6.8 did not enforce "SMB signin... 7.4 13.1% 2018-07-26
CVE-2017-12151 A flaw was found in the way samba client before samba 4.4.16, samba 4.5.14 and samba 4.6.8 used encryption wit... 7.4 4.1% 2018-07-27
CVE-2015-5252 vfs.c in smbd in Samba 3.x and 4.x before 4.1.22, 4.2.x before 4.2.7, and 4.3.x before 4.3.3, when share names... 7.2 13.3% 2015-12-29
CVE-2020-25719 A flaw was found in the way Samba, as an Active Directory Domain Controller, implemented Kerberos name-based a... 7.2 1.7% 2022-02-18
CVE-2022-37967 Windows Kerberos Elevation of Privilege Vulnerability 7.2 4.8% 2022-11-09
CVE-2017-12163 An information leak flaw was found in the way SMB1 protocol was implemented by Samba before 4.4.16, 4.5.x befo... 7.1 7.6% 2018-07-26
CVE-2021-20254 A flaw was found in samba. The Samba smbd file server must map Windows group identities (SIDs) into unix group... 6.8 1.6% 2021-05-05
CVE-2021-20316 A flaw was found in the way Samba handled file/directory metadata. This flaw allows an authenticated attacker... 6.8 1.1% 2022-08-23
CVE-2015-7560 The SMB1 implementation in smbd in Samba 3.x and 4.x before 4.1.23, 4.2.x before 4.2.9, 4.3.x before 4.3.6, an... 6.5 12.9% 2016-03-13
CVE-2016-2125 It was found that Samba before versions 4.5.3, 4.4.8, 4.3.13 always requested forwardable tickets when using K... 6.5 9.2% 2018-10-31
CVE-2016-2126 Samba version 4.0.0 up to 4.5.2 is vulnerable to privilege elevation due to incorrect handling of the PAC (Pri... 6.5 6.6% 2017-05-11
CVE-2017-9461 smbd in Samba before 4.4.10 and 4.5.x before 4.5.6 has a denial of service vulnerability (fd_open_atomic infin... 6.5 4.2% 2017-06-06
CVE-2018-10919 The Samba Active Directory LDAP server was vulnerable to an information disclosure flaw because of missing acc... 6.5 2.2% 2018-08-22
CVE-2018-14629 A denial of service vulnerability was discovered in Samba's LDAP server before versions 4.7.12, 4.8.7, and 4.9... 6.5 5.2% 2018-11-28
CVE-2018-16851 Samba from version 4.0.0 and before versions 4.7.12, 4.8.7, 4.9.3 is vulnerable to a denial of service. During... 6.5 3.3% 2018-11-28
CVE-2019-10218 A flaw was found in the samba client, all samba versions before samba 4.11.2, 4.10.10 and 4.9.15, where a mali... 6.5 3.4% 2019-11-06
CVE-2019-3824 A flaw was found in the way an LDAP search expression could crash the shared LDAP server process of a samba AD... 6.5 2.8% 2019-03-06
CVE-2020-14383 A flaw was found in samba's DNS server. An authenticated user could use this flaw to the RPC server to crash.... 6.5 2.2% 2020-12-02
CVE-2021-3671 A null pointer de-reference was found in the way samba kerberos server handled missing sname in TGS-REQ (Ticke... 6.5 2.1% 2021-10-12
CVE-2022-3437 A heap-based buffer overflow vulnerability was found in Samba within the GSSAPI unwrap_des() and unwrap_des3()... 6.5 4.0% 2023-01-12
CVE-2023-0614 The 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... 6.5 0.6% 2023-04-03
CVE-2023-4091 Samba: smb clients can truncate files with read-only permissions 6.5 1.3% 2023-11-03
CVE-2023-4154 Samba: ad dc password exposure to privileged users and rodcs 6.5 1.4% 2023-11-07
CVE-2023-42669 Samba: "rpcecho" development server allows denial of service via sleep() call on ad dc 6.5 1.9% 2023-11-06
CVE-2023-42670 Samba: ad dc busy rpc multiple listener dos 6.5 1.3% 2023-11-03
CVE-2023-5568 Samba: heap buffer overflow with freshness tokens in the heimdal kdc 6.5 2.1% 2023-10-25
CVE-2026-58224 Samba: ctdb fails to do integrity checking of received packets 6.5 0.3% 2026-08-14
CVE-2016-2111 The NETLOGON service in Samba 3.x and 4.x before 4.2.11, 4.3.x before 4.3.8, and 4.4.x before 4.4.2, when a do... 6.3 2.9% 2016-04-25
CVE-2013-1863 Samba 4.x before 4.0.4, when configured as an Active Directory domain controller, uses world-writable permissi... 6.0 2.2% 2013-03-19
CVE-2015-5370 Samba 3.x and 4.x before 4.2.11, 4.3.x before 4.3.8, and 4.4.x before 4.4.2 does not properly implement the DC... 5.9 19.1% 2016-04-25
CVE-2016-0771 The internal DNS server in Samba 4.x before 4.1.23, 4.2.x before 4.2.9, 4.3.x before 4.3.6, and 4.4.x before 4... 5.9 3.0% 2016-03-13
CVE-2016-2110 The NTLMSSP authentication implementation in Samba 3.x and 4.x before 4.2.11, 4.3.x before 4.3.8, and 4.4.x be... 5.9 8.3% 2016-04-25
CVE-2016-2112 The bundled LDAP client library in Samba 3.x and 4.x before 4.2.11, 4.3.x before 4.3.8, and 4.4.x before 4.4.2... 5.9 9.4% 2016-04-25
CVE-2016-2114 The SMB1 protocol implementation in Samba 4.x before 4.2.11, 4.3.x before 4.3.8, and 4.4.x before 4.4.2 does n... 5.9 2.7% 2016-04-25
CVE-2016-2115 Samba 3.x and 4.x before 4.2.11, 4.3.x before 4.3.8, and 4.4.x before 4.4.2 does not require SMB signing withi... 5.9 10.2% 2016-04-25
CVE-2016-2124 A flaw was found in the way samba implemented SMB1 authentication. An attacker could use this flaw to retrieve... 5.9 1.8% 2022-02-18
CVE-2023-0922 The Samba AD DC administration tool, when operating against a remote LDAP server, will by default send new or... 5.9 0.5% 2023-04-03
CVE-2013-6442 The owner_set function in smbcacls.c in smbcacls in Samba 4.0.x before 4.0.16 and 4.1.x before 4.1.6 removes a... 5.8 4.1% 2014-03-14
CVE-2020-14323 A null pointer dereference flaw was found in samba's Winbind service in versions before 4.11.15, before 4.12.9... 5.5 0.6% 2020-10-29
CVE-2015-5296 Samba 3.x and 4.x before 4.1.22, 4.2.x before 4.2.7, and 4.3.x before 4.3.3 supports connections that are encr... 5.4 7.3% 2015-12-29
CVE-2019-14870 All Samba versions 4.x.x before 4.9.17, 4.10.x before 4.10.11 and 4.11.x before 4.11.3 have an issue, where th... 5.4 2.7% 2019-12-10
CVE-2019-14902 There is an issue in all samba 4.11.x versions before 4.11.5, all samba 4.10.x versions before 4.10.12 and all... 5.4 1.4% 2020-01-21
CVE-2019-3880 A flaw was found in the way samba implemented an RPC endpoint emulating the Windows registry service API. An u... 5.4 3.2% 2019-04-09
CVE-2015-3223 The ldb_wildcard_compare function in ldb_match.c in ldb before 1.1.24, as used in the AD LDAP server in Samba... 5.3 6.9% 2015-12-29
CVE-2015-5299 The shadow_copy2_get_shadow_copy_data function in modules/vfs_shadow_copy2.c in Samba 3.x and 4.x before 4.1.2... 5.3 13.6% 2015-12-29
CVE-2019-14861 All Samba versions 4.x.x before 4.9.17, 4.10.x before 4.10.11 and 4.11.x before 4.11.3 have an issue, where th... 5.3 2.3% 2019-12-10
CVE-2023-34967 Samba: type confusion in mdssvc rpc service for spotlight 5.3 61.2% 2023-07-20
CVE-2023-34968 Samba: spotlight server-side share path disclosure 5.3 1.3% 2023-07-20
CVE-2013-0213 The Samba Web Administration Tool (SWAT) in Samba 3.x before 3.5.21, 3.6.x before 3.6.12, and 4.x before 4.0.2... 5.1 3.2% 2013-02-02
CVE-2013-0214 Cross-site request forgery (CSRF) vulnerability in the Samba Web Administration Tool (SWAT) in Samba 3.x befor... 5.1 1.9% 2013-02-02
CVE-2013-4124 Integer overflow in the read_nttrans_ea_list function in nttrans.c in smbd in Samba 3.x before 3.5.22, 3.6.x b... 5.0 69.0% 2013-08-06
CVE-2013-4496 Samba 3.x before 3.6.23, 4.0.x before 4.0.16, and 4.1.x before 4.1.6 does not enforce the password-guessing pr... 5.0 9.8% 2014-03-14
CVE-2014-0239 The internal DNS server in Samba 4.x before 4.0.18 does not check the QR field in the header section of an inc... 5.0 66.8% 2014-05-28
CVE-2019-14847 A flaw was found in samba 4.0.0 before samba 4.9.15 and samba 4.10.x before 4.10.10. An attacker can crash AD... 4.9 2.1% 2019-11-06
CVE-2018-1050 All versions of Samba from 4.0.0 onwards are vulnerable to a denial of service attack when the RPC spoolss ser... 4.3 6.5% 2018-03-13
CVE-2018-14628 An information leak vulnerability was discovered in Samba's LDAP server. Due to missing access control checks,... 4.3 1.2% 2023-01-17
CVE-2020-14318 A flaw was found in the way samba handled file and directory permissions. An authenticated user could use this... 4.3 1.5% 2020-12-03
CVE-2021-44141 All versions of Samba prior to 4.15.5 are vulnerable to a malicious client using a server symlink to determine... 4.3 1.1% 2022-02-21
CVE-2022-32742 A flaw was found in Samba. Some SMB1 write requests were not correctly range-checked to ensure the client had... 4.3 1.4% 2022-08-25
CVE-2013-4475 Samba 3.2.x through 3.6.x before 3.6.20, 4.0.x before 4.0.11, and 4.1.x before 4.1.1, when vfs_streams_depot o... 4.0 9.0% 2013-11-13
CVE-2012-6150 The winbind_name_list_to_sid_string_list function in nsswitch/pam_winbind.c in Samba through 4.1.2 handles inv... 3.6 3.8% 2013-12-03
CVE-2013-0172 Samba 4.0.x before 4.0.1, in certain Active Directory domain-controller configurations, does not properly inte... 3.5 2.4% 2013-01-17
CVE-2014-0178 Samba 3.6.6 through 3.6.23, 4.0.x before 4.0.18, and 4.1.x before 4.1.8, when a certain vfs shadow copy config... 3.5 4.5% 2014-05-28
CVE-2014-0244 The sys_recvfrom function in nmbd in Samba 3.6.x before 3.6.24, 4.0.x before 4.0.19, and 4.1.x before 4.1.9 al... 3.3 20.5% 2014-06-23
CVE-2014-3493 The push_ascii function in smbd in Samba 3.6.x before 3.6.24, 4.0.x before 4.0.19, and 4.1.x before 4.1.9 allo... 2.7 7.3% 2014-06-23
CVE-2021-43566 All versions of Samba prior to 4.13.16 are vulnerable to a malicious client using an SMB1 or NFS race to allow... 2.5 0.4% 2022-01-11
CVE-2013-4476 Samba 4.0.x before 4.0.11 and 4.1.x before 4.1.1, when LDAP or HTTP is provided over SSL, uses world-readable... 1.2 0.4% 2013-11-13

Track these versions on your own servers

InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.

Weekly exploited-vulnerability digest

The KEV additions that matter for self-hosted servers, once a week. No other mail.

Data: CVE List (CVE® Program), NVD, CISA KEV, FIRST EPSS (see EPSS at https://www.first.org/epss), endoflife.date. Software list: awesome-selfhosted (CC BY-SA 3.0).