cve.bz

CVE-2018-1050 NULL Pointer Dereference

4.3 mediumEPSS 6.5%

Medium (4.3). EPSS 6.5% estimated probability of exploitation activity in the next 30 days.

On this page
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. Missing input sanitization checks on some of the input parameters to spoolss RPC calls could cause the print spooler service to crash.

Severity

CVSS 3.1

4.3 medium
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
6.5% (unchanged from 6.5% a week ago; 6.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-1050 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-1050?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-1050?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-1050 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux17.10
samba:sambafrom 3.6.0 before 4.5.16
samba:sambafrom 4.6.0 before 4.6.14
samba:sambafrom 4.7.0 before 4.7.6
debian:debian_linux7.0
debian:debian_linux8.0
debian:debian_linux9.0
redhat:enterprise_linux_desktop6.0
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_server6.0
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_workstation6.0
redhat:enterprise_linux_workstation7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7samba2:3.6.6-6+deb7u16DLA-1320-1
Debian8samba2:4.2.14+dfsg-0+deb8u12DLA-1754-1
Debian9samba2:4.5.12+dfsg-2+deb9u2DSA-4135-1
Debian12, 13, 14samba2:4.7.4+dfsg-2DEBIAN-CVE-2018-1050
Ubuntu14.04:LTSsamba2:4.3.11+dfsg-0ubuntu0.14.04.14UBUNTU-CVE-2018-1050 USN-3595-1
Ubuntu16.04:LTSsamba2:4.3.11+dfsg-0ubuntu0.16.04.13UBUNTU-CVE-2018-1050 USN-3595-1
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 moresamba, samba-doc, samba-swat and 11 more0:3.6.23-51.el6RHSA-2018:1860
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 moresamba4, samba4-dc, samba4-libs and 11 more0:4.2.10-15.el6RHSA-2018:1883
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::workstationsamba, samba-dc, samba-libs and 23 more0:4.8.3-4.el7RHSA-2018:3056
Red Hatenterprise_linux:7::serverctdb, samba, samba-dc and 25 more0:4.8.3-4.el7RHSA-2018:3056
Red Hatstorage:3.4:samba:el6ctdb, samba, samba-dc and 21 more0:4.7.5-110.el6rhsRHSA-2018:2612
Red Hatstorage:3.4:samba:el6libtdb, tdb-tools, python-tdb and 2 more0:1.3.15-4.el6rhsRHSA-2018:2612
Red Hatstorage:3.4:samba:el6libtevent, python-tevent, libtevent-devel and 1 more0:0.9.35-1.el6rhsRHSA-2018:2612
Red Hatstorage:3.4:samba:el6pytalloc, libtalloc, pytalloc-devel and 2 more0:2.1.11-1.el6rhsRHSA-2018:2612
Red Hatstorage:3.4:samba:el7ctdb, samba, samba-dc and 21 more0:4.7.5-110.el7rhgsRHSA-2018:2613
Red Hatstorage:3.4:samba:el7libtdb, tdb-tools, python-tdb and 2 more0:1.3.15-4.el7rhgsRHSA-2018:2613
Red Hatstorage:3.4:samba:el7libtevent, python-tevent, libtevent-devel and 1 more0:0.9.35-1.el7rhgsRHSA-2018:2613
Red Hatstorage:3.4:samba:el7pytalloc, libtalloc, pytalloc-devel and 2 more0:2.1.11-1.el7rhgsRHSA-2018:2613
SUSEEnterprise Storage 4, Linux Enterprise High Availability Extension 12 SP1, Linux Enterprise Server 12 SP1-LTSS and 4 moresamba4.2.4-28.29.1SUSE-SU-2018:2339-1
SUSEEnterprise Storage 5, Linux Enterprise Desktop 12 SP3, Linux Enterprise High Availability Extension 12 SP3 and 3 moresamba4.6.13+git.72.2a684235f41-3.21.3SUSE-SU-2018:0754-1
SUSELinux Enterprise Desktop 12 SP2, Linux Enterprise High Availability Extension 12 SP2, Linux Enterprise Server 12 SP2 and 3 moresamba4.4.2-38.17.1SUSE-SU-2018:0832-1
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3 and 1 moretalloc2.1.10-3.3.2SUSE-SU-2018:0754-1
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3 and 1 moretevent0.9.34-3.3.2SUSE-SU-2018:0754-1
SUSELinux Enterprise High Availability Extension 12, Linux Enterprise Server 12-LTSSsamba4.2.4-18.49.1SUSE-SU-2018:2321-1
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4samba, samba-doc3.6.3-94.11.1SUSE-SU-2018:0774-1
SUSELinux Enterprise Server 12 SP2-BCLsamba4.2.4-28.29.1SUSE-SU-2018:2339-2
SUSELinux Enterprise Software Development Kit 11 SP4samba3.6.3-94.11.1SUSE-SU-2018:0774-1
openSUSETumbleweedsamba4.14.6+git.182.2205d5224e3-1.1openSUSE-SU-2024:11365-1
Alpinev3.4samba4.4.16-r2ALPINE-CVE-2018-1050
Alpinev3.5samba4.5.16-r0ALPINE-CVE-2018-1050
Alpinev3.6samba4.6.14-r0ALPINE-CVE-2018-1050
Alpinev3.7, v3.8, v3.9 and 15 moresamba4.7.6-r0ALPINE-CVE-2018-1050
Azure Linux2samba4.12.5-6AZL-7345

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's mitigation

Ensure the paramter:

rpc_server:spoolss = external

is not set in the [global] section of your smb.conf.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6samba-0:3.6.23-51.el6Fixed 2018-06-19RHSA-2018:1860
Red Hat Enterprise Linux 6samba4-0:4.2.10-15.el6Fixed 2018-06-19RHSA-2018:1883
Red Hat Enterprise Linux 7samba-0:4.8.3-4.el7Fixed 2018-10-30RHSA-2018:3056
Red Hat Gluster Storage 3.4 for RHEL 6libtalloc-0:2.1.11-1.el6rhsFixed 2018-09-04RHSA-2018:2612
Red Hat Gluster Storage 3.4 for RHEL 6libtdb-0:1.3.15-4.el6rhsFixed 2018-09-04RHSA-2018:2612
Red Hat Gluster Storage 3.4 for RHEL 6libtevent-0:0.9.35-1.el6rhsFixed 2018-09-04RHSA-2018:2612
Red Hat Gluster Storage 3.4 for RHEL 6samba-0:4.7.5-110.el6rhsFixed 2018-09-04RHSA-2018:2612
Red Hat Gluster Storage 3.4 for RHEL 7libtalloc-0:2.1.11-1.el7rhgsFixed 2018-09-04RHSA-2018:2613
Red Hat Gluster Storage 3.4 for RHEL 7libtdb-0:1.3.15-4.el7rhgsFixed 2018-09-04RHSA-2018:2613
Red Hat Gluster Storage 3.4 for RHEL 7libtevent-0:0.9.35-1.el7rhgsFixed 2018-09-04RHSA-2018:2613
Red Hat Gluster Storage 3.4 for RHEL 7samba-0:4.7.5-110.el7rhgsFixed 2018-09-04RHSA-2018:2613
Red Hat Enterprise Linux 5sambaNot affected
Red Hat Enterprise Linux 5samba3xNot affected
Red Hat Enterprise Linux 8sambaNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-1050.

References

Check your stackJSON