Description
All versions of Samba prior to 4.13.16 are vulnerable to a malicious client using an SMB1 or NFS race to allow a directory to be created in an area of the server file system not exported under the share definition. Note that SMB1 has to be enabled, or the share also available via NFS in order for this attack to succeed.
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.0+dfsg-2 | — |
| Debian 13 | samba | 2:4.16.0+dfsg-2 | — |
| Debian 12 | samba | 2:4.16.0+dfsg-2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | samba | 2:4.13.17~dfsg-0ubuntu0.21.04.1 | USN-5260-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 8 | ctdb +24 | 4.14.5-2.el8 | RHBA-2021:4438 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | apparmor | 2.13.6-150300.3.11.2 | SUSE-SU-2022:0283-1 |
| SLES 15 SP3 | krb5 | 1.19.2-150300.8.3.2 | SUSE-SU-2022:0283-1 |
| SLES 15 SP3 | ldb | 2.4.1-150300.3.10.1 | SUSE-SU-2022:0283-1 |
| SLES 15 SP3 | libapparmor | 2.13.6-150300.3.11.1 | SUSE-SU-2022:0283-1 |
| SLES 15 SP3 | samba | 4.15.4+git.324.8332acf1a63-150300.3.25.3 | SUSE-SU-2022:0283-1 |
| SLES 15 SP3 | sssd | 1.16.1-150300.23.17.3 | SUSE-SU-2022:0283-1 |
| SLES 15 SP3 | talloc | 2.3.3-150300.3.3.2 | SUSE-SU-2022:0283-1 |
| SLES 15 SP3 | talloc-man | 2.3.3-150300.3.3.1 | SUSE-SU-2022:0283-1 |
| SLES 15 SP3 | tdb | 1.4.4-150300.3.3.2 | SUSE-SU-2022:0283-1 |
| SLES 15 SP3 | tevent | 0.11.0-150300.3.3.2 | SUSE-SU-2022:0283-1 |
| SLES 15 SP3 | tevent-man | 0.11.0-150300.3.3.1 | SUSE-SU-2022:0283-1 |
| SLES 12 SP5 | apparmor | 2.8.2-56.6.3 | SUSE-SU-2022:0323-1 |
| SLES 12 SP5 | ca-certificates | 1_201403302107-15.3.3 | SUSE-SU-2022:0323-1 |
| SLES 12 SP5 | gnutls | 3.4.17-8.4.1 | SUSE-SU-2022:0323-1 |
| SLES 12 SP5 | libnettle | 3.1-21.3.2 | SUSE-SU-2022:0323-1 |
| SLES 12 SP5 | p11-kit | 0.23.2-8.3.2 | SUSE-SU-2022:0323-1 |
| SLES 12 SP5 | samba | 4.15.4+git.324.8332acf1a63-3.54.1 | SUSE-SU-2022:0323-1 |
| SLES 12 SP5 | sssd | 1.16.1-7.28.9 | SUSE-SU-2022:0323-1 |
| SLES 12 SP5 | yast2-samba-client | 3.1.23-3.3.1 | SUSE-SU-2022:0323-1 |
| SLES 2 | samba | 4.15.4+git.324.8332acf1a63-150300.3.25.3 | SUSE-SU-2022:0283-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP5 | apparmor | 2.8.2-56.6.3 | SUSE-SU-2022:0323-1 |
| SLES for SAP 12 SP5 | ca-certificates | 1_201403302107-15.3.3 | SUSE-SU-2022:0323-1 |
| SLES for SAP 12 SP5 | gnutls | 3.4.17-8.4.1 | SUSE-SU-2022:0323-1 |
| SLES for SAP 12 SP5 | libnettle | 3.1-21.3.2 | SUSE-SU-2022:0323-1 |
| SLES for SAP 12 SP5 | p11-kit | 0.23.2-8.3.2 | SUSE-SU-2022:0323-1 |
| SLES for SAP 12 SP5 | samba | 4.15.4+git.324.8332acf1a63-3.54.1 | SUSE-SU-2022:0323-1 |
| SLES for SAP 12 SP5 | sssd | 1.16.1-7.28.9 | SUSE-SU-2022:0323-1 |
| SLES for SAP 12 SP5 | yast2-samba-client | 3.1.23-3.3.1 | SUSE-SU-2022:0323-1 |
| SLE Micro 5.1 | apparmor | 2.13.6-150300.3.11.2 | SUSE-SU-2022:0283-1 |
| SLE Micro 5.1 | krb5 | 1.19.2-150300.8.3.2 | SUSE-SU-2022:0283-1 |
| SLE Micro 5.1 | ldb | 2.4.1-150300.3.10.1 | SUSE-SU-2022:0283-1 |
| SLE Micro 5.1 | libapparmor | 2.13.6-150300.3.11.1 | SUSE-SU-2022:0283-1 |
| SLE Micro 5.1 | sssd | 1.16.1-150300.23.17.3 | SUSE-SU-2022:0283-1 |
| SLE Micro 5.1 | talloc | 2.3.3-150300.3.3.2 | SUSE-SU-2022:0283-1 |
| SLE Micro 5.1 | tdb | 1.4.4-150300.3.3.2 | SUSE-SU-2022:0283-1 |
| SLE Micro 5.1 | tevent | 0.11.0-150300.3.3.2 | SUSE-SU-2022:0283-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.3 | apparmor | 2.13.6-150300.3.11.2 | openSUSE-SU-2022:0283-1 |
| openSUSE Leap 15.3 | krb5 +1 | 1.19.2-150300.8.3.2 | openSUSE-SU-2022:0283-1 |
| openSUSE Leap 15.3 | ldb | 2.4.1-150300.3.10.1 | openSUSE-SU-2022:0283-1 |
| openSUSE Leap 15.3 | libapparmor | 2.13.6-150300.3.11.1 | openSUSE-SU-2022:0283-1 |
| openSUSE Leap 15.3 | samba | 4.15.4+git.324.8332acf1a63-150300.3.25.3 | openSUSE-SU-2022:0283-1 |
| openSUSE Leap 15.3 | sssd | 1.16.1-150300.23.17.3 | openSUSE-SU-2022:0283-1 |
| openSUSE Leap 15.3 | talloc | 2.3.3-150300.3.3.2 | openSUSE-SU-2022:0283-1 |
| openSUSE Leap 15.3 | talloc-man | 2.3.3-150300.3.3.1 | openSUSE-SU-2022:0283-1 |
| openSUSE Leap 15.3 | tdb | 1.4.4-150300.3.3.2 | openSUSE-SU-2022:0283-1 |
| openSUSE Leap 15.3 | tevent | 0.11.0-150300.3.3.2 | openSUSE-SU-2022:0283-1 |
| openSUSE Leap 15.3 | tevent-man | 0.11.0-150300.3.3.1 | openSUSE-SU-2022:0283-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.13 | samba | 4.13.17-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.5 | ALAS2-2025-2979 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | samba | 4.18.3-1 | — |
| Azure Linux 2 (CBL-Mariner) | samba | No fix yet | — |
Advisories 11
- WID-SEC-2022-0432 Xerox FreeFlow Print Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 11, 2026
- WID-SEC-2022-0302 Xerox FreeFlow Print Server: Mehrere Schwachstellen ermöglichen Ausführen von beliebigem Programmcode mit Administratorrechten BSI CERT-Bund (WID) · Oct 11, 2026
- RHBA-2021:4438 Red Hat Bug Fix Advisory: samba bug fix and enhancement update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- USN-5260-1 samba vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- openSUSE-SU-2022:0283-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:0283-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:0323-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2022-1335 Xerox FreeFlow Print Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 6, 2025
- WID-SEC-2023-2979 Samba: Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen BSI CERT-Bund (WID) · Sep 4, 2025
- ALAS2-2025-2979 Low: samba security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Sep 4, 2025
- ALAS2023-2023-032 Important: samba security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Feb 15, 2024