CVEfocus › CVE database › CVE-2022-32742

CVE-2022-32742

CVSS 4.3 MediumEPSS 1.2% (higher than 68% of CVEs)Published 2022-08-25Updated 2024-08-03Assigner: redhat

A flaw was found in Samba. Some SMB1 write requests were not correctly range-checked to ensure the client had sent enough data to fulfill the write, allowing server memory contents to be written into the file (or printer) instead of client-supplied data. The client cannot control the area of the server memory written to the file (or printer).

CWE-200

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

116Fixed
3Fix pending
56Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04sambaFixed2:4.15.9+dfsg-0ubuntu0.2UBUNTU-CVE-2022-32742
Ubuntu 20.04sambaFixed2:4.13.17~dfsg-0ubuntu1.20.04.1UBUNTU-CVE-2022-32742
Ubuntu 18.04sambaFix pendingUBUNTU-CVE-2022-32742
Ubuntu 16.04sambaFix pendingUBUNTU-CVE-2022-32742
Ubuntu 14.04sambaFix pendingUBUNTU-CVE-2022-32742
Debian 14sambaFixed2:4.16.4+dfsg-1DEBIAN-CVE-2022-32742
Debian 13sambaFixed2:4.16.4+dfsg-1DEBIAN-CVE-2022-32742
Debian 12sambaFixed2:4.16.4+dfsg-1DEBIAN-CVE-2022-32742
Red Hat Enterprise Linux 9ctdbFixed0:4.16.4-101.el9RHSA-2022:8317
Red Hat Enterprise Linux 9libsmbclientFixed0:4.16.4-101.el9RHSA-2022:8317
Red Hat Enterprise Linux 9libsmbclient-develFixed0:4.16.4-101.el9RHSA-2022:8317
Red Hat Enterprise Linux 9libwbclientFixed0:4.16.4-101.el9RHSA-2022:8317
Red Hat Enterprise Linux 9libwbclient-develFixed0:4.16.4-101.el9RHSA-2022:8317
Red Hat Enterprise Linux 9python3-sambaFixed0:4.16.4-101.el9RHSA-2022:8317
Red Hat Enterprise Linux 9sambaFixed0:4.16.4-101.el9RHSA-2022:8317
Red Hat Enterprise Linux 9samba-clientFixed0:4.16.4-101.el9RHSA-2022:8317
Red Hat Enterprise Linux 9samba-client-libsFixed0:4.16.4-101.el9RHSA-2022:8317
Red Hat Enterprise Linux 9samba-commonFixed0:4.16.4-101.el9RHSA-2022:8317
Red Hat Enterprise Linux 9samba-common-libsFixed0:4.16.4-101.el9RHSA-2022:8317
Red Hat Enterprise Linux 9samba-common-toolsFixed0:4.16.4-101.el9RHSA-2022:8317
Red Hat Enterprise Linux 9samba-develFixed0:4.16.4-101.el9RHSA-2022:8317
Red Hat Enterprise Linux 9samba-krb5-printingFixed0:4.16.4-101.el9RHSA-2022:8317
Red Hat Enterprise Linux 9samba-libsFixed0:4.16.4-101.el9RHSA-2022:8317
Red Hat Enterprise Linux 9samba-pidlFixed0:4.16.4-101.el9RHSA-2022:8317
Red Hat Enterprise Linux 9samba-testFixed0:4.16.4-101.el9RHSA-2022:8317
Red Hat Enterprise Linux 9samba-test-libsFixed0:4.16.4-101.el9RHSA-2022:8317
Red Hat Enterprise Linux 9samba-vfs-iouringFixed0:4.16.4-101.el9RHSA-2022:8317
Red Hat Enterprise Linux 9samba-winbindFixed0:4.16.4-101.el9RHSA-2022:8317
Red Hat Enterprise Linux 9samba-winbind-clientsFixed0:4.16.4-101.el9RHSA-2022:8317
Red Hat Enterprise Linux 9samba-winbind-krb5-locatorFixed0:4.16.4-101.el9RHSA-2022:8317
Red Hat Enterprise Linux 9samba-winbind-modulesFixed0:4.16.4-101.el9RHSA-2022:8317
Red Hat Enterprise Linux 9samba-winexeFixed0:4.16.4-101.el9RHSA-2022:8317
Red Hat Enterprise Linux 8ctdbFixed0:4.15.5-10.el8_6RHSA-2022:7111
Red Hat Enterprise Linux 8libsmbclientFixed0:4.15.5-10.el8_6RHSA-2022:7111
Red Hat Enterprise Linux 8libsmbclient-develFixed0:4.15.5-10.el8_6RHSA-2022:7111
Red Hat Enterprise Linux 8libwbclientFixed0:4.15.5-10.el8_6RHSA-2022:7111
Red Hat Enterprise Linux 8libwbclient-develFixed0:4.15.5-10.el8_6RHSA-2022:7111
Red Hat Enterprise Linux 8python3-sambaFixed0:4.15.5-10.el8_6RHSA-2022:7111
Red Hat Enterprise Linux 8python3-samba-testFixed0:4.15.5-10.el8_6RHSA-2022:7111
Red Hat Enterprise Linux 8sambaFixed0:4.15.5-10.el8_6RHSA-2022:7111
Red Hat Enterprise Linux 8samba-clientFixed0:4.15.5-10.el8_6RHSA-2022:7111
Red Hat Enterprise Linux 8samba-client-libsFixed0:4.15.5-10.el8_6RHSA-2022:7111
Red Hat Enterprise Linux 8samba-commonFixed0:4.15.5-10.el8_6RHSA-2022:7111
Red Hat Enterprise Linux 8samba-common-libsFixed0:4.15.5-10.el8_6RHSA-2022:7111
Red Hat Enterprise Linux 8samba-common-toolsFixed0:4.15.5-10.el8_6RHSA-2022:7111
Red Hat Enterprise Linux 8samba-develFixed0:4.15.5-10.el8_6RHSA-2022:7111
Red Hat Enterprise Linux 8samba-krb5-printingFixed0:4.15.5-10.el8_6RHSA-2022:7111
Red Hat Enterprise Linux 8samba-libsFixed0:4.15.5-10.el8_6RHSA-2022:7111
Red Hat Enterprise Linux 8samba-pidlFixed0:4.15.5-10.el8_6RHSA-2022:7111
Red Hat Enterprise Linux 8samba-testFixed0:4.15.5-10.el8_6RHSA-2022:7111
Red Hat Enterprise Linux 8samba-test-libsFixed0:4.15.5-10.el8_6RHSA-2022:7111
Red Hat Enterprise Linux 8samba-vfs-iouringFixed0:4.15.5-10.el8_6RHSA-2022:7111
Red Hat Enterprise Linux 8samba-winbindFixed0:4.15.5-10.el8_6RHSA-2022:7111
Red Hat Enterprise Linux 8samba-winbind-clientsFixed0:4.15.5-10.el8_6RHSA-2022:7111
Red Hat Enterprise Linux 8samba-winbind-krb5-locatorFixed0:4.15.5-10.el8_6RHSA-2022:7111
Red Hat Enterprise Linux 8samba-winbind-modulesFixed0:4.15.5-10.el8_6RHSA-2022:7111
Red Hat Enterprise Linux 8samba-winexeFixed0:4.15.5-10.el8_6RHSA-2022:7111
Red Hat Enterprise Linux 7ctdbWill not fix
Out of support scope
Red Hat Enterprise Linux 7ctdb-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7ctdb-testsWill not fix
Out of support scope
Red Hat Enterprise Linux 7libsmbclientWill not fix
Out of support scope
Red Hat Enterprise Linux 7libsmbclient-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7libwbclientWill not fix
Out of support scope
Red Hat Enterprise Linux 7libwbclient-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7sambaWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-clientWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-client-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-commonWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-common-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-common-toolsWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-dcWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-dc-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-krb5-printingWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-pidlWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-pythonWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-python-testWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-testWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-test-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-test-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-vfs-glusterfsWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-winbindWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-winbind-clientsWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-winbind-krb5-locatorWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-winbind-modulesWill not fix
Out of support scope
Red Hat Enterprise Linux 6libsmbclientWill not fix
Out of support scope
Red Hat Enterprise Linux 6libsmbclient-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6sambaWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-clientWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-commonWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-docWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-domainjoin-guiWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-glusterfsWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-swatWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-winbindWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-winbind-clientsWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-winbind-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-winbind-krb5-locatorWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4Will not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-clientWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-commonWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-dcWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-dc-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-pidlWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-pythonWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-swatWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-testWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-winbindWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-winbind-clientsWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-winbind-krb5-locatorWill not fix
Out of support scope
AlmaLinux 9ctdbFixed4.16.4-101.el9ALSA-2022:8317
AlmaLinux 9libsmbclientFixed4.16.4-101.el9ALSA-2022:8317
AlmaLinux 9libsmbclient-develFixed4.16.4-101.el9ALSA-2022:8317
AlmaLinux 9libwbclientFixed4.16.4-101.el9ALSA-2022:8317
AlmaLinux 9libwbclient-develFixed4.16.4-101.el9ALSA-2022:8317
AlmaLinux 9python3-sambaFixed4.16.4-101.el9ALSA-2022:8317
AlmaLinux 9sambaFixed4.16.4-101.el9ALSA-2022:8317
AlmaLinux 9samba-clientFixed4.16.4-101.el9ALSA-2022:8317
AlmaLinux 9samba-client-libsFixed4.16.4-101.el9ALSA-2022:8317
AlmaLinux 9samba-commonFixed4.16.4-101.el9ALSA-2022:8317
AlmaLinux 9samba-common-libsFixed4.16.4-101.el9ALSA-2022:8317
AlmaLinux 9samba-common-toolsFixed4.16.4-101.el9ALSA-2022:8317
AlmaLinux 9samba-develFixed4.16.4-101.el9ALSA-2022:8317
AlmaLinux 9samba-krb5-printingFixed4.16.4-101.el9ALSA-2022:8317
AlmaLinux 9samba-libsFixed4.16.4-101.el9ALSA-2022:8317
AlmaLinux 9samba-pidlFixed4.16.4-101.el9ALSA-2022:8317
AlmaLinux 9samba-testFixed4.16.4-101.el9ALSA-2022:8317
AlmaLinux 9samba-test-libsFixed4.16.4-101.el9ALSA-2022:8317
AlmaLinux 9samba-vfs-iouringFixed4.16.4-101.el9ALSA-2022:8317
AlmaLinux 9samba-winbindFixed4.16.4-101.el9ALSA-2022:8317
AlmaLinux 9samba-winbind-clientsFixed4.16.4-101.el9ALSA-2022:8317
AlmaLinux 9samba-winbind-krb5-locatorFixed4.16.4-101.el9ALSA-2022:8317
AlmaLinux 9samba-winbind-modulesFixed4.16.4-101.el9ALSA-2022:8317
AlmaLinux 9samba-winexeFixed4.16.4-101.el9ALSA-2022:8317
AlmaLinux 8ctdbFixed4.15.5-10.el8_6ALSA-2022:7111
AlmaLinux 8libsmbclientFixed4.15.5-10.el8_6ALSA-2022:7111
AlmaLinux 8libsmbclient-develFixed4.15.5-10.el8_6ALSA-2022:7111
AlmaLinux 8libwbclientFixed4.15.5-10.el8_6ALSA-2022:7111
AlmaLinux 8libwbclient-develFixed4.15.5-10.el8_6ALSA-2022:7111
AlmaLinux 8python3-sambaFixed4.15.5-10.el8_6ALSA-2022:7111
AlmaLinux 8python3-samba-testFixed4.15.5-10.el8_6ALSA-2022:7111
AlmaLinux 8sambaFixed4.15.5-10.el8_6ALSA-2022:7111
AlmaLinux 8samba-clientFixed4.15.5-10.el8_6ALSA-2022:7111
AlmaLinux 8samba-client-libsFixed4.15.5-10.el8_6ALSA-2022:7111
AlmaLinux 8samba-commonFixed4.15.5-10.el8_6ALSA-2022:7111
AlmaLinux 8samba-common-libsFixed4.15.5-10.el8_6ALSA-2022:7111
AlmaLinux 8samba-common-toolsFixed4.15.5-10.el8_6ALSA-2022:7111
AlmaLinux 8samba-develFixed4.15.5-10.el8_6ALSA-2022:7111
AlmaLinux 8samba-krb5-printingFixed4.15.5-10.el8_6ALSA-2022:7111
AlmaLinux 8samba-libsFixed4.15.5-10.el8_6ALSA-2022:7111
AlmaLinux 8samba-pidlFixed4.15.5-10.el8_6ALSA-2022:7111
AlmaLinux 8samba-testFixed4.15.5-10.el8_6ALSA-2022:7111
AlmaLinux 8samba-test-libsFixed4.15.5-10.el8_6ALSA-2022:7111
AlmaLinux 8samba-vfs-iouringFixed4.15.5-10.el8_6ALSA-2022:7111
AlmaLinux 8samba-winbindFixed4.15.5-10.el8_6ALSA-2022:7111
AlmaLinux 8samba-winbind-clientsFixed4.15.5-10.el8_6ALSA-2022:7111
AlmaLinux 8samba-winbind-krb5-locatorFixed4.15.5-10.el8_6ALSA-2022:7111
AlmaLinux 8samba-winbind-modulesFixed4.15.5-10.el8_6ALSA-2022:7111
AlmaLinux 8samba-winexeFixed4.15.5-10.el8_6ALSA-2022:7111
Rocky Linux 9sambaFixed0:4.16.4-101.el9RLSA-2022:8317
Rocky Linux 8sambaFixed0:4.15.5-10.el8_6RLSA-2022:7111
Alpine Linux 3.24sambaFixed4.15.9-r0ALPINE-CVE-2022-32742
Alpine Linux 3.23sambaFixed4.15.9-r0ALPINE-CVE-2022-32742
Alpine Linux 3.22sambaFixed4.15.9-r0ALPINE-CVE-2022-32742
Alpine Linux 3.21sambaFixed4.15.9-r0ALPINE-CVE-2022-32742
Alpine Linux 3.20sambaFixed4.15.9-r0ALPINE-CVE-2022-32742
Alpine Linux 3.19sambaFixed4.15.9-r0ALPINE-CVE-2022-32742
Alpine Linux 3.18sambaFixed4.15.9-r0ALPINE-CVE-2022-32742
Alpine Linux 3.17sambaFixed4.15.9-r0ALPINE-CVE-2022-32742
Alpine Linux 3.16sambaFixed4.15.12-r0ALPINE-CVE-2022-32742
Alpine Linux 3.15sambaFixed4.15.12-r0ALPINE-CVE-2022-32742
Alpine Linux 3.14sambaFixed4.14.14-r0ALPINE-CVE-2022-32742

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.