Description
In DCE/RPC it is possible to share the handles (cookies for resource state) between multiple connections via a mechanism called 'association groups'. These handles can reference connections to our sam.ldb database. However while the database was correctly shared, the user credentials state was only pointed at, and when one connection within that association group ended, the database would be left pointing at an invalid 'struct session_info'. The most likely outcome here is a crash, but it is possible that the use-after-free could instead allow different user state to be pointed at and this might allow more privileged access.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | samba | Affects all versions since samba 4.0 | Fixedin samba v4.15.2, v4.14.10 and v4.13.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.13.14+dfsg-1 | — |
| Debian 13 | samba | 2:4.13.14+dfsg-1 | — |
| Debian 12 | samba | 2:4.13.14+dfsg-1 | — |
| Debian 11 | samba | 2:4.13.13+dfsg-1~deb11u2 | DSA-5003-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | samba | 2:4.13.14+dfsg-0ubuntu1 | — |
| Ubuntu 20.04 LTS | samba | 2:4.13.14+dfsg-0ubuntu0.20.04.1 | USN-5142-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 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | ldb | 2.2.2-3.3.1 | SUSE-SU-2021:3647-1 |
| SLES 15 SP3 | samba | 4.13.13+git.528.140935f8d6a-3.12.1 | SUSE-SU-2021:3647-1 |
| SLES 2 | samba | 4.13.13+git.528.140935f8d6a-3.12.1 | SUSE-SU-2021:3647-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE Micro 5.1 | ldb | 2.2.2-3.3.1 | SUSE-SU-2021:3647-1 |
| SUSE Enterprise Storage 7 | ldb | 2.2.2-4.6.1 | SUSE-SU-2022:0361-1 |
| SUSE Enterprise Storage 7 | samba | 4.13.13+git.545.5897c2d94f3-3.12.1 | SUSE-SU-2022:0361-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | samba | 4.15.2+git.193.a4d6307f1fd-1.1 | openSUSE-SU-2024:11631-1 |
| openSUSE Leap 15.3 | ldb | 2.2.2-3.3.1 | openSUSE-SU-2021:3647-1 |
| openSUSE Leap 15.3 | samba | 4.13.13+git.528.140935f8d6a-3.12.1 | openSUSE-SU-2021:3647-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | samba | 4.15.2-r0 | — |
| Alpine v3.23 | samba | 4.15.2-r0 | — |
| Alpine v3.22 | samba | 4.15.2-r0 | — |
| Alpine v3.21 | samba | 4.15.2-r0 | — |
| Alpine v3.20 | samba | 4.15.2-r0 | — |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | samba | 4.15.2-r0 | — |
| Alpine v3.18 | samba | 4.15.2-r0 | — |
| Alpine v3.17 | samba | 4.15.2-r0 | — |
| Alpine v3.16 | samba | 4.15.2-r0 | — |
| Alpine v3.15 | samba | 4.15.2-r0 | — |
| Alpine v3.14 | samba | 4.14.12-r0 | — |
| Alpine v3.13 | samba | 4.13.17-r0 | — |
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 9
- 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
- USN-5142-1 samba vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DSA-5003-1 samba - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:11631-1 ctdb-4.15.2+git.193.a4d6307f1fd-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:3647-1 Security update for samba and ldb SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:0361-1 Security update for ldb, samba SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:3647-1 Security update for samba and ldb SUSE / openSUSE Security Updates · May 7, 2025
- WID-SEC-2022-2279 Samba: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 21, 2023