Skip to content
Noroxi
CVE-2017-12151· NVD / CVE Program· CNA redhat

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 with the max protocol set as SMB3

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 with the max protocol set as SMB3. The connection could lose the requirement for signing and encrypting to any DFS redirects, allowing an attacker to read or alter the contents of the connection via a man-in-the-middle attack.

HighCVSS 7.4 · v3.0—No exploit Fix available
Published
Jul 27, 2018
Updated
Jun 16, 2026
EPSS
4.6% · 91th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

30

Monitor

Low priority for now.

CVSS
29 / 40 · 7.4 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 4.6%

CNA vs NVD score

NVD
7.4
CNA · redhat
7.4
agree

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
sambasamba
debiandebian linux
redhatenterprise linux
redhatenterprise linux desktop
redhatenterprise linux server aus
redhatenterprise linux server eus
redhatenterprise linux workstation
hpcifs server

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • debian debian linux8.0
  • debian debian linux9.0
  • hp cifs serverb.04.05.11.00
  • redhat enterprise linux7.0
  • redhat enterprise linux desktop7.0
  • redhat enterprise linux server aus7.4
  • redhat enterprise linux server eus7.4
  • redhat enterprise linux server eus7.5
  • redhat enterprise linux workstation7.0
  • samba sambabefore 4.4.16
  • samba samba4.6.0 and later · before 4.6.8
  • samba samba4.5.0 and later · before 4.5.14

Versions reported by the vendor

Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.

  • Samba samba

    • 4.4.16, 4.5.14, 4.6.8affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.10sambafrom 4.5.0 · before 4.7.0-r04.7.0-r0
Alpine:v3.4sambafrom 4.5.0 · before 4.4.16-r04.4.16-r0
Alpine:v3.5sambafrom 4.5.0 · before 4.5.14-r04.5.14-r0
Alpine:v3.6sambafrom 4.5.0 · before 4.6.8-r04.6.8-r0
Debian:12sambabefore 2:4.6.7+dfsg-22:4.6.7+dfsg-2
Debian:8sambabefore 2:4.2.14+dfsg-0+deb8u82:4.2.14+dfsg-0+deb8u8
Debian:9sambabefore 2:4.5.8+dfsg-2+deb9u22:4.5.8+dfsg-2+deb9u2
openSUSE:Tumbleweedsambabefore 4.14.6+git.182.2205d5224e3-1.14.14.6+git.182.2205d5224e3-1.1
Red Hat:enterprise_linux:7::clientlibsmbclientbefore 0:4.6.2-11.el7_40:4.6.2-11.el7_4
Red Hat:enterprise_linux:7::clientlibsmbclient-develbefore 0:4.6.2-11.el7_40:4.6.2-11.el7_4
Red Hat:enterprise_linux:7::clientlibwbclientbefore 0:4.6.2-11.el7_40:4.6.2-11.el7_4
Red Hat:enterprise_linux:7::clientlibwbclient-develbefore 0:4.6.2-11.el7_40:4.6.2-11.el7_4
Red Hat:enterprise_linux:7::clientsambabefore 0:4.6.2-11.el7_40:4.6.2-11.el7_4
Red Hat:enterprise_linux:7::clientsamba-clientbefore 0:4.6.2-11.el7_40:4.6.2-11.el7_4
Red Hat:enterprise_linux:7::clientsamba-client-libsbefore 0:4.6.2-11.el7_40:4.6.2-11.el7_4
Red Hat:enterprise_linux:7::clientsamba-commonbefore 0:4.6.2-11.el7_40:4.6.2-11.el7_4
Red Hat:enterprise_linux:7::clientsamba-common-libsbefore 0:4.6.2-11.el7_40:4.6.2-11.el7_4
Red Hat:enterprise_linux:7::clientsamba-common-toolsbefore 0:4.6.2-11.el7_40:4.6.2-11.el7_4
Red Hat:enterprise_linux:7::clientsamba-dcbefore 0:4.6.2-11.el7_40:4.6.2-11.el7_4
Red Hat:enterprise_linux:7::clientsamba-dc-libsbefore 0:4.6.2-11.el7_40:4.6.2-11.el7_4
Red Hat:enterprise_linux:7::clientsamba-debuginfobefore 0:4.6.2-11.el7_40:4.6.2-11.el7_4
Red Hat:enterprise_linux:7::clientsamba-develbefore 0:4.6.2-11.el7_40:4.6.2-11.el7_4
Red Hat:enterprise_linux:7::clientsamba-krb5-printingbefore 0:4.6.2-11.el7_40:4.6.2-11.el7_4
Red Hat:enterprise_linux:7::clientsamba-libsbefore 0:4.6.2-11.el7_40:4.6.2-11.el7_4

+71

Other highest-scoring records for the same primary product.

  • CVE-2017-7494Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote code execution vulnerability, allowing a malicious cliKEV
    99Now
  • CVE-2015-0240The 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 before 4.1.17, and 4.2.x befor
    66This week
  • CVE-2003-0085Buffer overflow in the SMB/CIFS packet fragment re-assembly code for SMB daemon (smbd) in Samba before 2.2.8, and Samba-TNG before 0.3.1, al
    66This week
  • CVE-2003-0201Buffer overflow in the call_trans2open function in trans2.c for Samba 2.2.x before 2.2.8a, 2.0.10 and earlier 2.0.x versions, and Samba-TNG
    65This week
  • CVE-2007-2446Multiple heap-based buffer overflows in the NDR parsing in smbd in Samba 3.0.0 through 3.0.25rc3 allow remote attackers to execute arbitrary
    63This week
  • CVE-2012-1182The RPC code generator in Samba 3.x before 3.4.16, 3.5.x before 3.5.14, and 3.6.x before 3.6.4 does not implement validation of an array len
    62This week

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:samba4.7.0-r0 · Alpine:v3.10Package registry (OSV)
debian:samba2:4.6.7+dfsg-2 · Debian:12Package registry (OSV)
opensuse:samba4.14.6+git.182.2205d5224e3-1.1 · openSUSE:TumbleweedPackage registry (OSV)
red hat:libsmbclient0:4.6.2-11.el7_4 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:libwbclient0:4.6.2-11.el7_4 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:samba0:4.6.2-11.el7_4 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:samba-client0:4.6.2-11.el7_4 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:samba-client-libs0:4.6.2-11.el7_4 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:samba-common0:4.6.2-11.el7_4 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:samba-common-libs0:4.6.2-11.el7_4 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:samba-common-tools0:4.6.2-11.el7_4 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:samba-debuginfo0:4.6.2-11.el7_4 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:samba-krb5-printing0:4.6.2-11.el7_4 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:samba-libs0:4.6.2-11.el7_4 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:samba-winbind0:4.6.2-11.el7_4 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
suse:samba4.4.2-38.11.2 · SUSE:Linux Enterprise Desktop 12 SP2Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
none
Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
None

CVSS vector

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

nvd-primary

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records