cve.bz

CVE-2022-32742 samba samba

4.3 mediumEPSS 1.4%

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

On this page
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).

Severity

CVSS 3.1

4.3 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS
1.4% (unchanged from 1.4% a week ago; 1.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 73rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-04-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
OWASP Top 10
A01:2025 Broken Access Control
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-2022-32742 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-32742?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-32742?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-2022-32742 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
samba:sambabefore 4.14.14
samba:sambafrom 4.15.0 before 4.15.9
samba:sambafrom 4.16.0 before 4.16.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10samba2:4.9.5+dfsg-5+deb10u5DLA-3792-1
Debian11samba2:4.13.13+dfsg-1~deb11u5DSA-5205-1
Debian12, 13, 14samba2:4.16.4+dfsg-1DEBIAN-CVE-2022-32742
Ubuntu20.04:LTSsamba2:4.13.17~dfsg-0ubuntu1.20.04.1UBUNTU-CVE-2022-32742 USN-5542-1
Ubuntu22.04:LTSsamba2:4.15.9+dfsg-0ubuntu0.2UBUNTU-CVE-2022-32742 USN-5542-1
UbuntuPro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTSsambano fix listedUBUNTU-CVE-2022-32742
Red Hatenterprise_linux:8::appstreamctdb-debuginfo, samba-debuginfo, samba-debugsource and 18 more0:4.15.5-10.el8_6RHSA-2022:7111
Red Hatenterprise_linux:8::baseosctdb, samba, samba-libs and 38 more0:4.15.5-10.el8_6RHSA-2022:7111
Red Hatenterprise_linux:8::crbsamba-devel, ctdb-debuginfo, samba-debuginfo and 20 more0:4.15.5-10.el8_6RHSA-2022:7111
Red Hatenterprise_linux:9::appstreamsamba-client, samba-winexe, ctdb-debuginfo and 23 more0:4.16.4-101.el9RHSA-2022:8317
Red Hatenterprise_linux:9::baseossamba, samba-libs, libwbclient and 28 more0:4.16.4-101.el9RHSA-2022:8317
Red Hatenterprise_linux:9::crbsamba-pidl, samba-test, samba-devel and 23 more0:4.16.4-101.el9RHSA-2022:8317
Red Hatenterprise_linux:9::resilientstoragectdb, ctdb-debuginfo, samba-debuginfo and 18 more0:4.16.4-101.el9RHSA-2022:8317
Red Hatrhev_hypervisor:4.4::el8samba, libwbclient, libsmbclient and 8 more0:4.15.5-10.el8_6RHSA-2022:7111
Red Hatstorage:3.5:samba:el8ctdb, samba, samba-libs and 39 more0:4.16.5-100.el8rhgsRHSA-2022:7056
SUSEEnterprise Storage 6, Linux Enterprise High Availability Extension 15 SP1, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 4 moresamba4.9.5+git.490.e80cf669f50-150100.3.70.1SUSE-SU-2022:2621-1
SUSEEnterprise Storage 7samba4.13.13+git.548.677411ecdb1-150200.3.15.1SUSE-SU-2022:2580-1
SUSEEnterprise Storage 7, Linux Enterprise High Availability Extension 15 SP2, Linux Enterprise High Performance Computing 15 SP2-ESPOS and 7 moresamba4.11.14+git.325.2e31b7efa01-150200.4.41.1SUSE-SU-2022:2651-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Availability Extension 15 SP3, Linux Enterprise Micro 5.2 and 2 moresamba4.15.12+git.535.7750e5c95ef-150300.3.43.1SUSE-SU-2022:4395-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Availability Extension 15 SP3, Linux Enterprise Micro 5.2 and 2 moresamba4.15.8+git.500.d5910280cc7-150300.3.37.1SUSE-SU-2022:2586-1
SUSEEnterprise Storage 7.1, Linux Enterprise Micro 5.1, Linux Enterprise Micro 5.2 and 1 moreldb2.4.3-150300.3.20.1SUSE-SU-2022:2586-1
SUSELinux Enterprise High Availability Extension 12 SP4, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP4-LTSS and 3 moresamba4.6.16+git.324.6bba9ddab76-3.73.1SUSE-SU-2022:2598-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 and 1 moresamba4.15.13+git.482.1ac2c665c7-3.74.1SUSE-SU-2023:0081-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 and 1 moresamba4.15.8+git.462.e73f4310487-3.68.1SUSE-SU-2022:2582-1
SUSELinux Enterprise High Availability Extension 15, Linux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS and 2 moresamba4.7.11+git.369.b2cad0ee592-150000.4.66.1SUSE-SU-2022:2585-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Micro 5.3, Linux Enterprise Module for Basesystem 15 SP4samba4.15.13+git.591.ab36624310c-150400.3.19.1SUSE-SU-2023:0160-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Module for Basesystem 15 SP4samba4.15.8+git.500.d5910280cc7-150400.3.11.1SUSE-SU-2022:2659-1
2 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.3ldb2.4.3-150300.3.20.1SUSE-SU-2022:2586-1
openSUSELeap 15.3samba4.15.8+git.500.d5910280cc7-150300.3.37.1SUSE-SU-2022:2586-1
openSUSELeap 15.3, Leap Micro 5.2samba4.15.12+git.535.7750e5c95ef-150300.3.43.1SUSE-SU-2022:4395-1
openSUSELeap 15.4ldb2.4.3-150400.4.8.1SUSE-SU-2022:2659-1
openSUSELeap 15.4samba4.11.14+git.325.2e31b7efa01-150200.4.41.1SUSE-SU-2022:2651-1
openSUSELeap 15.4samba4.15.8+git.500.d5910280cc7-150400.3.11.1SUSE-SU-2022:2659-1
openSUSELeap 15.4samba4.9.5+git.490.e80cf669f50-150100.3.70.1SUSE-SU-2022:2621-1
openSUSELeap 15.4, Leap Micro 5.3samba4.15.13+git.591.ab36624310c-150400.3.19.1SUSE-SU-2023:0160-1
openSUSELeap Micro 5.2ldb2.4.3-150300.3.20.1SUSE-SU-2022:2586-2
openSUSELeap Micro 5.2samba4.15.8+git.500.d5910280cc7-150300.3.37.1SUSE-SU-2022:2586-2
openSUSETumbleweedsamba4.16.4+git.297.1497eb221ed-1.1openSUSE-SU-2024:12243-1
AlmaLinux8ctdb, samba, samba-libs and 22 more4.15.5-10.el8_6ALSA-2022:7111
AlmaLinux9ctdb, samba, samba-libs and 21 more4.16.4-101.el9ALSA-2022:8317
Rocky Linux8samba0:4.15.5-10.el8_6RLSA-2022:7111
Rocky Linux9samba0:4.16.4-101.el9RLSA-2022:8317
Alpinev3.14samba4.14.14-r0ALPINE-CVE-2022-32742
Alpinev3.15, v3.16samba4.15.12-r0ALPINE-CVE-2022-32742
Alpinev3.17, v3.18, v3.19 and 5 moresamba4.15.9-r0ALPINE-CVE-2022-32742
Azure Linux2sambano fix listedAZL-10736
Azure Linux3samba4.18.3-1AZL-37012

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; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; 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 Moderate.

Red Hat's mitigation

This is an SMB1-only vulnerability. Since Samba release 4.11.0, SMB1 has been disabled by default. We do not recommend enabling SMB1 server support. For Samba versions prior to 4.11.0, please disable SMB1 by adding

```

server min protocol = SMB2_02

```

to the [global] section of your smb.conf and restarting smbd.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8samba-0:4.15.5-10.el8_6Fixed 2022-10-25RHSA-2022:7111
Red Hat Enterprise Linux 9samba-0:4.16.4-101.el9Fixed 2022-11-15RHSA-2022:8317
Red Hat Gluster Storage 3.5 for RHEL 8samba-0:4.16.5-100.el8rhgsFixed 2022-10-19RHSA-2022:7056
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8samba-0:4.15.5-10.el8_6Fixed 2022-10-25RHSA-2022:7111
Red Hat Enterprise Linux 6sambaOut of support scope
Red Hat Enterprise Linux 6samba4Out of support scope
Red Hat Enterprise Linux 7sambaOut of support scope

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-2022-32742.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).

References

Check your stackJSON