Denial of Service Vulnerability in Samba Package - CVE-2018-1050

samba Updated 02 Oct 2025

Summary

13/03/2018
N/A
Yes i
Medium
4.3

ALPINE-CVE-2018-1050: All versions of Samba from 4.0.0 onwards are vulnerable to a denial of service attack when the RPC spoolss service is configured to be run as an external daemon. Affects samba versions < 4.7.6-r0. Fixed in 4.7.6-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Samba is an open-source software suite that enables file and print services to SMB/CIFS clients. It allows for seamless interoperability between Linux/Unix servers and Windows-based clients. Samba is widely used in enterprise environments for sharing files and printers across different operating systems. However, all versions of Samba from 4.0.0 onwards are vulnerable to a denial of service attack when the RPC spoolss service is configured to run as an external daemon.

Vulnerability Detail

The vulnerability, identified as CVE-2018-1050, arises from missing input sanitization checks on certain input parameters to spoolss RPC calls. This oversight can lead to the print spooler service crashing, thereby causing a denial of service. Attackers can exploit this vulnerability to disrupt service availability, impacting users and applications relying on Samba for file and print services. The CVSS score for this vulnerability is 4.3, indicating a moderate severity level.

How To Fix

Minimum fixed version

4.7.6-r0

This is the first release that contains the fix.

sudo apk add --upgrade samba

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, consider disabling the RPC spoolss service if it is not essential for your operations. This can be done by modifying the Samba configuration file (usually located at /etc/samba/smb.conf) and commenting out or removing the spoolss service configuration.

Conclusion

CVE-2018-1050 represents a significant denial of service vulnerability in Samba that can affect a wide range of users. It is crucial to update to the patched version to ensure the security and availability of your services. Regular monitoring for vulnerabilities using tools like Vulert can help maintain a secure environment.

See every vulnerability recorded for samba →

Share this vulnerability

FAQ

CVE-2018-1050 is a vulnerability in Samba that allows for a denial of service attack due to improper input sanitization in the RPC spoolss service.

You can check your Samba version by running the command smbd --version in your terminal. If your version is 4.0.0 or higher, you may be affected.

Exploitation of this vulnerability can lead to service disruptions, making file and print services unavailable to users and applications.

Yes, tools like Vulert can monitor and alert you in real-time for open-source vulnerabilities in your software by analyzing your manifest files.

Detailed information about CVE-2018-1050 can be found on the official CVE database or through security advisories related to Samba.

Related vulnerabilities

Recent vulnerabilities recorded for samba.

How To Fix

Minimum fixed version

4.7.6-r0

This is the first release that contains the fix.

sudo apk add --upgrade samba

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback