Skip to content
Noroxi
CVE-2016-2124· NVD / CVE Program· CNA redhat

A flaw was found in the way samba implemented SMB1 authentication.

A flaw was found in the way samba implemented SMB1 authentication. An attacker could use this flaw to retrieve the plaintext password sent over the wire even if Kerberos authentication was required.

MediumCVSS 5.9 · v3.1—No exploit Fix available
Published
Feb 18, 2022
Updated
Jun 16, 2026
EPSS
1.8% · 77th 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

24

Monitor

Low priority for now.

CVSS
23 / 40 · 5.9 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 1.8%

Affected systems

VendorProduct
sambasamba
debiandebian linux
fedoraprojectfedora
redhatcodeready linux builder
redhatgluster storage
redhatopenstack
redhatvirtualization host
redhatenterprise linux
redhatenterprise linux desktop
redhatenterprise linux eus
redhatenterprise linux for ibm z systems
redhatenterprise linux for ibm z systems eus

and 12 more

Affected versions

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

  • canonical ubuntu linux18.04
  • canonical ubuntu linux20.04
  • canonical ubuntu linux21.04
  • canonical ubuntu linux21.10
  • debian debian linux10.0
  • debian debian linux9.0
  • fedoraproject fedora33
  • fedoraproject fedora34
  • fedoraproject fedora35
  • redhat codeready linux builderall versions
  • redhat enterprise linux7.0
  • redhat enterprise linux8.0
  • redhat enterprise linux desktop7.0
  • redhat enterprise linux eus8.2
  • redhat enterprise linux eus8.4
  • redhat enterprise linux for ibm z systems7.0
  • redhat enterprise linux for ibm z systems8.0
  • redhat enterprise linux for ibm z systems eus8.2
  • redhat enterprise linux for ibm z systems eus8.4
  • redhat enterprise linux for power big endian7.0

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.

  • n/a samba

    • samba 4.15.2, samba 4.14.10, samba 4.13.14affected

Package-level exposure

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

EcosystemPackageAffected rangeFix
AlmaLinux:8libsmbclient-develbefore 4.14.5-7.el8_54.14.5-7.el8_5
AlmaLinux:8libwbclient-develbefore 4.14.5-7.el8_54.14.5-7.el8_5
AlmaLinux:8samba-develbefore 4.14.5-7.el8_54.14.5-7.el8_5
AlmaLinux:8samba-vfs-iouringbefore 4.14.5-7.el8_54.14.5-7.el8_5
Alpine:v3.13sambafrom 3.0.0 · before 4.13.17-r04.13.17-r0
Alpine:v3.14sambafrom 3.0.0 · before 4.14.12-r04.14.12-r0
Alpine:v3.15sambafrom 3.0.0 · before 4.15.2-r04.15.2-r0
Debian:10sambabefore 2:4.9.5+dfsg-5+deb10u42:4.9.5+dfsg-5+deb10u4
Debian:11sambabefore 2:4.13.13+dfsg-1~deb11u22:4.13.13+dfsg-1~deb11u2
Debian:12sambabefore 2:4.13.14+dfsg-12:4.13.14+dfsg-1
openSUSE:Leap 15.2sambabefore 4.11.14+git.308.666c63d4eea-lp152.3.28.14.11.14+git.308.666c63d4eea-lp152.3.28.1
openSUSE:Leap 15.3ldbbefore 2.2.2-3.3.12.2.2-3.3.1
openSUSE:Leap 15.3sambabefore 4.9.5+git.471.5edbe3dcae7-3.57.24.9.5+git.471.5edbe3dcae7-3.57.2
openSUSE:Leap 15.3sambabefore 4.13.13+git.528.140935f8d6a-3.12.14.13.13+git.528.140935f8d6a-3.12.1
openSUSE:Leap 15.3sambabefore 4.11.14+git.308.666c63d4eea-4.28.14.11.14+git.308.666c63d4eea-4.28.1
openSUSE:Tumbleweedsambabefore 4.15.2+git.193.a4d6307f1fd-1.14.15.2+git.193.a4d6307f1fd-1.1
Red Hat:enterprise_linux:7::clientlibsmbclientbefore 0:4.10.16-17.el7_90:4.10.16-17.el7_9
Red Hat:enterprise_linux:7::clientlibsmbclient-develbefore 0:4.10.16-17.el7_90:4.10.16-17.el7_9
Red Hat:enterprise_linux:7::clientlibwbclientbefore 0:4.10.16-17.el7_90:4.10.16-17.el7_9
Red Hat:enterprise_linux:7::clientlibwbclient-develbefore 0:4.10.16-17.el7_90:4.10.16-17.el7_9
Red Hat:enterprise_linux:7::clientsambabefore 0:4.10.16-17.el7_90:4.10.16-17.el7_9
Red Hat:enterprise_linux:7::clientsamba-clientbefore 0:4.10.16-17.el7_90:4.10.16-17.el7_9
Red Hat:enterprise_linux:7::clientsamba-client-libsbefore 0:4.10.16-17.el7_90:4.10.16-17.el7_9
Red Hat:enterprise_linux:7::clientsamba-commonbefore 0:4.10.16-17.el7_90:4.10.16-17.el7_9

+96

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
almalinux:libsmbclient-devel4.14.5-7.el8_5 · AlmaLinux:8Package registry (OSV)
almalinux:libwbclient-devel4.14.5-7.el8_5 · AlmaLinux:8Package registry (OSV)
almalinux:samba-devel4.14.5-7.el8_5 · AlmaLinux:8Package registry (OSV)
almalinux:samba-vfs-iouring4.14.5-7.el8_5 · AlmaLinux:8Package registry (OSV)
alpine:samba4.13.17-r0 · Alpine:v3.13Package registry (OSV)
debian:samba2:4.13.14+dfsg-1 · Debian:12Package registry (OSV)
opensuse:ldb2.2.2-3.3.1 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:samba4.11.14+git.308.666c63d4eea-lp152.3.28.1 · openSUSE:Leap 15.2Package registry (OSV)
red hat:ctdb0:4.14.5-204.el8rhgs · Red Hat:storage:3.5:samba:el8Package registry (OSV)
red hat:ctdb-debuginfo0:4.14.5-204.el8rhgs · Red Hat:storage:3.5:samba:el8Package registry (OSV)
red hat:libsmbclient0:4.14.5-204.el8rhgs · Red Hat:storage:3.5:samba:el8Package registry (OSV)
red hat:libsmbclient-debuginfo0:4.14.5-204.el8rhgs · Red Hat:storage:3.5:samba:el8Package registry (OSV)
red hat:libsmbclient-devel0:4.14.5-204.el8rhgs · Red Hat:storage:3.5:samba:el8Package registry (OSV)
red hat:libwbclient0:4.14.5-204.el8rhgs · Red Hat:storage:3.5:samba:el8Package registry (OSV)
red hat:libwbclient-debuginfo0:4.14.5-204.el8rhgs · Red Hat:storage:3.5:samba:el8Package registry (OSV)
red hat:libwbclient-devel0:4.14.5-204.el8rhgs · Red Hat:storage:3.5:samba:el8Package registry (OSV)
red hat:python3-samba0:4.14.5-204.el8rhgs · Red Hat:storage:3.5:samba:el8Package registry (OSV)
red hat:python3-samba-debuginfo0:4.14.5-204.el8rhgs · Red Hat:storage:3.5:samba:el8Package registry (OSV)
red hat:samba0:4.14.5-204.el8rhgs · Red Hat:storage:3.5:samba:el8Package registry (OSV)
red hat:samba-client0:4.14.5-204.el8rhgs · Red Hat:storage:3.5:samba:el8Package registry (OSV)
rocky linux:samba0:4.14.5-7.el8_5 · Rocky Linux:8Package registry (OSV)
suse:ldb2.2.2-3.3.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP3Package registry (OSV)
suse:samba4.13.13+git.528.140935f8d6a-3.12.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP3Package 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.

—

Chain candidates

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

  • CVE-2021-441423 days apartThe Samba vfs_fruit module uses extended file attributes (EA, xattr) to provide "...enhanced compatibility with Apple SMB clients and intero
    57Plan

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
none
Availability
none
Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
None
Availability impact
None

CVSS vector

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

nvd-primary

Root cause

Authentication is added route by route instead of being enforced in one place. When a route added later bypasses the shared middleware, the session check never runs for it.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
app.use("/admin", requireSession, adminRouter);
// Route added later skips the middlewareapp.post("/admin-api/config", updateConfig);

Fixed

ts
const admin = express.Router();admin.use(requireSession, requireRole("admin"));
admin.post("/config", updateConfig);app.use("/admin", admin);

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