Description
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).
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | samba | Versions prior to samba 4.16.4, samba 4.15.9, samba 4.14.14 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | samba | 2:4.16.4+dfsg-1 | — |
| Debian 13 | samba | 2:4.16.4+dfsg-1 | — |
| Debian 12 | samba | 2:4.16.4+dfsg-1 | — |
| Debian 11 | samba | 2:4.13.13+dfsg-1~deb11u5 | DSA-5205-1 |
| Debian 10 | samba | 2:4.9.5+dfsg-5+deb10u5 | DLA-3792-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | samba | 2:4.15.9+dfsg-0ubuntu0.2 | USN-5542-1 |
| Ubuntu 20.04 LTS | samba | 2:4.13.17~dfsg-0ubuntu1.20.04.1 | USN-5542-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | samba | No fix yet | — |
| Ubuntu Pro 16.04 LTS | samba | No fix yet | — |
| Ubuntu Pro 14.04 LTS | samba | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | ctdb +23 | 4.16.4-101.el9 | RHSA-2022:8317 |
| RHEL 8 | ctdb +24 | 4.15.5-10.el8_6 | RHSA-2022:7111 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Rhev Hypervisor 4 | samba +5 | 4.15.5-10.el8_6 | RHSA-2022:7111 |
| Red Hat Gluster Storage 3 | ctdb +20 | 4.16.5-100.el8rhgs | RHSA-2022:7056 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | ctdb +23 | 4.16.4-101.el9 | ALSA-2022:8317 |
| AlmaLinux 8 | ctdb +24 | 4.15.5-10.el8_6 | ALSA-2022:7111 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | samba | 4.16.4-101.el9 | RLSA-2022:8317 |
| Rocky Linux 8 | samba | 4.15.5-10.el8_6 | RLSA-2022:7111 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | ldb | 2.4.3-150400.4.8.1 | SUSE-SU-2022:2659-1 |
| SLES 15 SP4 | samba | 4.15.8+git.500.d5910280cc7-150400.3.11.1 | SUSE-SU-2023:0160-1, SUSE-SU-2022:2659-1 |
| SLES 15 SP3 | ldb | 2.4.3-150300.3.20.1 | SUSE-SU-2022:2586-1 |
| SLES 15 SP3 | samba | 4.15.8+git.500.d5910280cc7-150300.3.37.1 | SUSE-SU-2022:4395-1, SUSE-SU-2022:2586-1 |
| SLES 15 SP2 | samba | 4.11.14+git.325.2e31b7efa01-150200.4.41.1 | SUSE-SU-2022:2651-1 |
| SLES 15 SP1 | samba | 4.9.5+git.490.e80cf669f50-150100.3.70.1 | SUSE-SU-2022:2621-1 |
| SLES 15 | samba | 4.7.11+git.369.b2cad0ee592-150000.4.66.1 | SUSE-SU-2022:2585-1 |
Show 24 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | samba | 4.15.8+git.462.e73f4310487-3.68.1 | SUSE-SU-2023:0081-1, SUSE-SU-2022:2582-1 |
| SLES 12 SP4 | samba | 4.6.16+git.324.6bba9ddab76-3.73.1 | SUSE-SU-2022:2598-1 |
| SLES 12 SP3 | samba | 4.6.16+git.324.6bba9ddab76-3.73.1 | SUSE-SU-2022:2598-1 |
| SLES 12 SP2 | samba | 4.4.2-38.55.1 | SUSE-SU-2023:0122-1 |
| SLES 2 | samba | 4.15.8+git.500.d5910280cc7-150300.3.37.1 | SUSE-SU-2022:4395-1, SUSE-SU-2022:2586-1 |
| SLES for SAP 15 SP2 | samba | 4.11.14+git.325.2e31b7efa01-150200.4.41.1 | SUSE-SU-2022:2651-1 |
| SLES for SAP 15 SP1 | samba | 4.9.5+git.490.e80cf669f50-150100.3.70.1 | SUSE-SU-2022:2621-1 |
| SLES for SAP 15 | samba | 4.7.11+git.369.b2cad0ee592-150000.4.66.1 | SUSE-SU-2022:2585-1 |
| SLES for SAP 12 SP5 | samba | 4.15.8+git.462.e73f4310487-3.68.1 | SUSE-SU-2023:0081-1, SUSE-SU-2022:2582-1 |
| SLES for SAP 12 SP4 | samba | 4.6.16+git.324.6bba9ddab76-3.73.1 | SUSE-SU-2022:2598-1 |
| SLE Micro 5.3 | samba | 4.15.13+git.591.ab36624310c-150400.3.19.1 | SUSE-SU-2023:0160-1 |
| SLE Micro 5.2 | ldb | 2.4.3-150300.3.20.1 | SUSE-SU-2022:2586-1 |
| SLE Micro 5.2 | samba | 4.15.8+git.500.d5910280cc7-150300.3.37.1 | SUSE-SU-2022:4395-1, SUSE-SU-2022:2586-1 |
| SLE Micro 5.1 | ldb | 2.4.3-150300.3.20.1 | SUSE-SU-2022:2586-1 |
| SLE HPC 15 SP2 | samba | 4.11.14+git.325.2e31b7efa01-150200.4.41.1 | SUSE-SU-2022:2651-1 |
| SLE HPC 15 SP1 | samba | 4.9.5+git.490.e80cf669f50-150100.3.70.1 | SUSE-SU-2022:2621-1 |
| SLE HPC 15 | samba | 4.7.11+git.369.b2cad0ee592-150000.4.66.1 | SUSE-SU-2022:2585-1 |
| SUSE OpenStack Cloud Crowbar 9 | samba | 4.6.16+git.324.6bba9ddab76-3.73.1 | SUSE-SU-2022:2598-1 |
| SUSE OpenStack Cloud 9 | samba | 4.6.16+git.324.6bba9ddab76-3.73.1 | SUSE-SU-2022:2598-1 |
| SUSE Manager Server 4.1 | samba | 4.11.14+git.325.2e31b7efa01-150200.4.41.1 | SUSE-SU-2022:2651-1 |
| SUSE Manager Retail Branch Server 4.1 | samba | 4.11.14+git.325.2e31b7efa01-150200.4.41.1 | SUSE-SU-2022:2651-1 |
| SUSE Manager Proxy 4.1 | samba | 4.11.14+git.325.2e31b7efa01-150200.4.41.1 | SUSE-SU-2022:2651-1 |
| SUSE Enterprise Storage 7.1 | ldb | 2.4.3-150300.3.20.1 | SUSE-SU-2022:2586-1 |
| SUSE Enterprise Storage 7.1 | samba | 4.15.8+git.500.d5910280cc7-150300.3.37.1 | SUSE-SU-2022:4395-1, SUSE-SU-2022:2586-1 |
| SUSE Enterprise Storage 7 | samba | 4.11.14+git.325.2e31b7efa01-150200.4.41.1 | SUSE-SU-2022:2651-1, SUSE-SU-2022:2580-1 |
| SUSE Enterprise Storage 6 | samba | 4.9.5+git.490.e80cf669f50-150100.3.70.1 | SUSE-SU-2022:2621-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | samba | 4.16.4+git.297.1497eb221ed-1.1 | openSUSE-SU-2024:12243-1 |
| openSUSE Leap 15.4 | ldb | 2.4.3-150400.4.8.1 | SUSE-SU-2022:2659-1 |
| openSUSE Leap 15.4 | samba | 4.9.5+git.490.e80cf669f50-150100.3.70.1 | SUSE-SU-2023:0160-1, SUSE-SU-2022:2659-1, SUSE-SU-2022:2651-1 |
| openSUSE Leap 15.3 | ldb | 2.4.3-150300.3.20.1 | SUSE-SU-2022:2586-1 |
| openSUSE Leap 15.3 | samba | 4.15.8+git.500.d5910280cc7-150300.3.37.1 | SUSE-SU-2022:4395-1, SUSE-SU-2022:2586-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap Micro 5.3 | samba | 4.15.13+git.591.ab36624310c-150400.3.19.1 | SUSE-SU-2023:0160-1 |
| openSUSE Leap Micro 5.2 | ldb | 2.4.3-150300.3.20.1 | SUSE-SU-2022:2586-2 |
| openSUSE Leap Micro 5.2 | samba | 4.15.8+git.500.d5910280cc7-150300.3.37.1 | SUSE-SU-2022:4395-1, SUSE-SU-2022:2586-2 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | samba | 4.15.9-r0 | — |
| Alpine v3.23 | samba | 4.15.9-r0 | — |
| Alpine v3.22 | samba | 4.15.9-r0 | — |
| Alpine v3.21 | samba | 4.15.9-r0 | — |
| Alpine v3.20 | samba | 4.15.9-r0 | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | samba | 4.15.9-r0 | — |
| Alpine v3.18 | samba | 4.15.9-r0 | — |
| Alpine v3.17 | samba | 4.15.9-r0 | — |
| Alpine v3.16 | samba | 4.15.12-r0 | — |
| Alpine v3.15 | samba | 4.15.12-r0 | — |
| Alpine v3.14 | samba | 4.14.14-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | samba +29 | 2:4.17.5-0.amzn2023.0.2 | ALAS2023-2023-032 |
| Amazon Linux 2 | ctdb +26 | 4.10.16-24.amzn2.0.2 | ALAS2-2023-2166 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | samba | 4.18.3-1 | — |
| Azure Linux 2 (CBL-Mariner) | samba | No fix yet | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | samba +22 | 4.16.4-101.el9 | ELSA-2022-8317 |
| Oracle Linux 8 | ctdb +25 | 4.15.5-10.0.1.el8_6 | ELSA-2022-7111 |
Advisories 29
- ALSA-2022:8317 Moderate: samba security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2022:7111 Moderate: samba security and bug fix update AlmaLinux Security Advisories · Oct 29, 2026
- WID-SEC-2022-0842 Samba: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 31, 2026
- RHSA-2022:8317 Red Hat Security Advisory: samba security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2022:7111 Red Hat Security Advisory: samba security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- USN-5542-1 samba vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DSA-5205-1 samba - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3792-1 samba - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2022:8317 Moderate: samba security, bug fix, and enhancement update Rocky Linux Security Advisories · Feb 5, 2026
- RLSA-2022:7111 Moderate: samba security and bug fix update Rocky Linux Security Advisories · Feb 4, 2026
- SUSE-SU-2022:2582-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2585-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2586-1 Security update for ldb, samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:4395-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2580-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2586-2 Security update for ldb, samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0081-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0160-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12243-1 ctdb-4.16.4+git.297.1497eb221ed-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2659-1 Security update for ldb, samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2621-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- RHSA-2022:7056 Red Hat Security Advisory: samba security, bug fix and enhancement update Red Hat Security Advisories (RHSA) · Dec 27, 2025
- SUSE-SU-2022:2651-1 Security update for samba SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2022:2598-1 Security update for samba SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2023:0122-1 Security update for samba SUSE / openSUSE Security Updates · May 2, 2025
- ALAS2023-2023-032 Important: samba security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Feb 15, 2024
- ALAS2-2023-2166 Moderate: samba security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jul 25, 2023
- ELSA-2022-8317 Moderate: samba security, bug fix, and enhancement update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Nov 22, 2022
- ELSA-2022-7111 Moderate: samba security and bug fix update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Oct 26, 2022