Skip to content
Fencer Vulns
medium 4.3

CVE-2022-32742 json

A flaw was found in Samba.

published 2022-08-25 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-35808

cvss
4.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.3%
EPSS 1.3% chance of exploitation in 30 days, percentile 70%
public exploits
0
none known

Summary

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).

Patch / fix

  • samba samba 4.14.14, 4.15.9, 4.16.4
  • samba Debian 14, Debian 13, Debian 12 2:4.16.4+dfsg-1

debian advisories DEBIAN-CVE-2022-32742

  • samba Ubuntu 20.04 LTS 2:4.13.17~dfsg-0ubuntu1.20.04.1
  • samba Ubuntu 22.04 LTS 2:4.15.9+dfsg-0ubuntu0.2

ubuntu advisories UBUNTU-CVE-2022-32742

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • samba RHEL 9 4.16.4-101.el9
  • ctdb RHEL 9 4.16.4-101.el9
  • samba-libs RHEL 9 4.16.4-101.el9
  • samba-pidl RHEL 9 4.16.4-101.el9
  • samba-test RHEL 9 4.16.4-101.el9
  • libwbclient RHEL 9 4.16.4-101.el9
  • libsmbclient RHEL 9 4.16.4-101.el9
  • samba-client RHEL 9 4.16.4-101.el9

red hat advisories RHSA-2022:8317RHSA-2022:7111RHSA-2022:7056

  • samba SLE Module for Basesystem 15 SP4, SLE Micro 5.3, SLE High Availability Extension 15 SP4 +2 more 4.15.13+git.591.ab36624310c-150400.3.19.1
  • samba SLES 12 SP2-BCL 4.4.2-38.55.1
  • samba SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 +1 more 4.15.13+git.482.1ac2c665c7-3.74.1
  • samba SLE Module for Python 2 15 SP3, SLE Module for Basesystem 15 SP3, SLE Micro 5.2 +4 more 4.15.12+git.535.7750e5c95ef-150300.3.43.1
  • samba SLE Module for Basesystem 15 SP4, SLE High Availability Extension 15 SP4, openSUSE Leap 15.4 4.15.8+git.500.d5910280cc7-150400.3.11.1
  • ldb SLE Module for Basesystem 15 SP4, openSUSE Leap 15.4 2.4.3-150400.4.8.1
  • samba SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLES 15 SP2-BCL +8 more 4.11.14+git.325.2e31b7efa01-150200.4.41.1
  • samba SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLES 15 SP1-BCL +5 more 4.9.5+git.490.e80cf669f50-150100.3.70.1

suse advisories SUSE-SU-2023:0160-1SUSE-SU-2023:0122-1SUSE-SU-2023:0081-1SUSE-SU-2022:4395-1SUSE-SU-2022:2659-1SUSE-SU-2022:2651-1

  • samba openSUSE Tumbleweed 4.16.4+git.297.1497eb221ed-1.1

opensuse advisories openSUSE-SU-2024:12243-1

  • samba AlmaLinux 9 4.16.4-101.el9
  • ctdb AlmaLinux 9 4.16.4-101.el9
  • samba-libs AlmaLinux 9 4.16.4-101.el9
  • samba-pidl AlmaLinux 9 4.16.4-101.el9
  • samba-test AlmaLinux 9 4.16.4-101.el9
  • libwbclient AlmaLinux 9 4.16.4-101.el9
  • libsmbclient AlmaLinux 9 4.16.4-101.el9
  • samba-client AlmaLinux 9 4.16.4-101.el9

almalinux advisories ALSA-2022:8317ALSA-2022:7111

  • samba Rocky Linux 9 4.16.4-101.el9
  • samba Rocky Linux 8 4.15.5-10.el8_6

rocky linux advisories RLSA-2022:8317RLSA-2022:7111

  • samba Alpine 3.14 4.14.14-r0
  • samba Alpine 3.16, Alpine 3.15 4.15.12-r0
  • samba Alpine 3.24, Alpine 3.23, Alpine 3.22 +5 more 4.15.9-r0

alpine advisories ALPINE-CVE-2022-32742

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • samba Azure Linux 3.0 4.18.3-1

azure linux advisories AZL-37012

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

  • samba Arch Linux 4.16.4-1

arch linux advisories AVG-2782

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-32742 updated cvss 4.3

samba: server memory information leak via SMB1

  • Red Hat Enterprise Linux 6 samba, samba4, samba4-dc, samba-swat, samba4-libs, samba4-pidl, +17 more Red Hat Enterprise Linux 7 ctdb, samba, samba-dc, ctdb-tests, samba-libs, samba-pidl, +18 more
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat CodeReady Linux Builder (v. 9) samba-pidl 4.16.4-101.el9, samba-test 4.16.4-101.el9, samba-test-libs 4.16.4-101.el9
    fixed: vendor fix RHSA-2022:8317
  • Red Hat Enterprise Linux AppStream (v. 8) samba-vfs-iouring 4.15.5-10.el8_6
    fixed: vendor fix RHSA-2022:7111
  • Red Hat Enterprise Linux AppStream (v. 9) samba-client 4.16.4-101.el9, samba-winexe 4.16.4-101.el9, samba-vfs-iouring 4.16.4-101.el9, samba-krb5-printing 4.16.4-101.el9, samba-winbind-clients 4.16.4-101.el9, samba-winbind-krb5-locator 4.16.4-101.el9
    fixed: vendor fix RHSA-2022:8317
  • Red Hat Enterprise Linux BaseOS (v. 8) ctdb 4.15.5-10.el8_6, samba 4.15.5-10.el8_6, samba-libs 4.15.5-10.el8_6, samba-pidl 4.15.5-10.el8_6, samba-test 4.15.5-10.el8_6, libwbclient 4.15.5-10.el8_6, +15 more
    fixed: vendor fix RHSA-2022:7111
  • Red Hat Enterprise Linux BaseOS (v. 9) samba 4.16.4-101.el9, samba-libs 4.16.4-101.el9, libwbclient 4.16.4-101.el9, libsmbclient 4.16.4-101.el9, samba-common 4.16.4-101.el9, python3-samba 4.16.4-101.el9, +5 more
    fixed: vendor fix RHSA-2022:8317
  • Red Hat Enterprise Linux CRB (v. 8) samba-devel 4.15.5-10.el8_6, ctdb-debuginfo 4.15.5-10.el8_6, samba-debuginfo 4.15.5-10.el8_6, libwbclient-devel 4.15.5-10.el8_6, samba-debugsource 4.15.5-10.el8_6, libsmbclient-devel 4.15.5-10.el8_6, +17 more
    fixed: vendor fix RHSA-2022:7111
  • Red Hat Enterprise Linux Resilient Storage (v. 9) ctdb 4.16.4-101.el9
    fixed: vendor fix RHSA-2022:8317
show 2 more
  • Red Hat Gluster 3.5 Samba on RHEL-8 ctdb 4.16.5-100.el8rhgs, samba 4.16.5-100.el8rhgs, samba-libs 4.16.5-100.el8rhgs, samba-pidl 4.16.5-100.el8rhgs, libwbclient 4.16.5-100.el8rhgs, libsmbclient 4.16.5-100.el8rhgs, +12 more
    fixed: vendor fix RHSA-2022:7056
  • Red Hat Virtualization 4 Hypervisor for RHEL 8 samba 4.15.5-10.el8_6, libwbclient 4.15.5-10.el8_6, libsmbclient 4.15.5-10.el8_6, samba-common 4.15.5-10.el8_6, samba-client-libs 4.15.5-10.el8_6, samba-common-libs 4.15.5-10.el8_6
    fixed: vendor fix RHSA-2022:7111

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

1.31% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
NVD 3.1 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
CNA 3.1 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Affected products

  • n/a samba

Classification

Weakness
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.