
CVE catalog
CVE-2023-3961
samba: CVE-2023-3961
- Severity
- Critical · CVSS 9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.69% · Oct 25, 2026
A path traversal vulnerability was identified in Samba when processing client pipe names connecting to Unix domain sockets within a private directory. Samba typically uses this mechanism to connect SMB clients to remote procedure call (RPC) services like SAMR LSA or SPOOLSS, which Samba initiates on demand. However, due to inadequate sanitization of incoming client pipe names, allowing a client to send a pipe name containing Unix directory traversal characters (../). This could result in SMB clients connecting as root to Unix domain sockets outside the private directory. If an attacker or client managed to send a pipe name resolving to an external service using an existing Unix domain socket, it could potentially lead to unauthorized access to the service and consequential adverse events, including compromise or service crashes.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | samba | sid | 2:4.25.1+dfsg-1 | fixed |
| Debian | samba | forky | 2:4.25.1+dfsg-1 | fixed |
| Debian | samba | trixie | 2:4.22.11+dfsg-0+deb13u1 | fixed |
| Debian | samba | trixie-security | 2:4.22.10+dfsg-0+deb13u2 | fixed |
| Debian | samba | bookworm | 2:4.17.12+dfsg-0+deb12u4 | fixed |
| Debian | samba | bookworm-security | 2:4.17.12+dfsg-0+deb12u4 | fixed |
| Alpine | samba | 3.18 | 4.18.8-r0 | fixed |
| Alpine | samba | 3.19 | 4.18.8-r0 | fixed |
| Alpine | samba | 3.20 | 4.18.8-r0 | fixed |
| Alpine | samba | 3.21 | 4.18.8-r0 | fixed |
| Alpine | samba | 3.22 | 4.18.8-r0 | fixed |
| Alpine | samba | 3.23 | 4.18.8-r0 | fixed |
| Alpine | samba | 3.24 | 4.18.8-r0 | fixed |
| Opensuse | samba | tumbleweed | 4.19.1+git.312.c912b3d2ef6-1.1 | fixed |
| Suse | samba | linux enterprise micro 5.5 | 4.17.9+git.421.abde31ca5c2-150500.3.11.1 | fixed |
| Suse | samba | linux enterprise module for basesystem 15 sp5 | 4.17.9+git.421.abde31ca5c2-150500.3.11.1 | fixed |
| Suse | samba | linux enterprise high availability extension 15 sp5 | 4.17.9+git.421.abde31ca5c2-150500.3.11.1 | fixed |
| Opensuse | samba | leap 15.5 | 4.17.9+git.421.abde31ca5c2-150500.3.11.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | samba | source | sid | 2:4.19.1+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | samba | source | forky | 2:4.19.1+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | samba | source | trixie | 2:4.19.1+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | samba | source | bookworm | 2:4.17.12+dfsg-0+deb12u1 | not yet assigned | Not reported | Not reported |
| Alpine | samba | apk | 3.18 | 4.18.8-r0 | Not reported | ALPINE-CVE-2023-3961 | Not reported |
| Alpine | samba | apk | 3.19 | 4.18.8-r0 | Not reported | ALPINE-CVE-2023-3961 | Not reported |
| Alpine | samba | apk | 3.20 | 4.18.8-r0 | Not reported | ALPINE-CVE-2023-3961 | Not reported |
| Alpine | samba | apk | 3.21 | 4.18.8-r0 | Not reported | ALPINE-CVE-2023-3961 | Not reported |
| Alpine | samba | apk | 3.22 | 4.18.8-r0 | Not reported | ALPINE-CVE-2023-3961 | Not reported |
| Alpine | samba | apk | 3.23 | 4.18.8-r0 | Not reported | ALPINE-CVE-2023-3961 | Not reported |
| Alpine | samba | apk | 3.24 | 4.18.8-r0 | Not reported | ALPINE-CVE-2023-3961 | Not reported |
| Opensuse | samba | rpm | tumbleweed | 4.19.1+git.312.c912b3d2ef6-1.1 | Not reported | OPENSUSE-SU-2024:13332-1 | Not reported |
| Suse | samba | rpm | linux enterprise micro 5.5 | 4.17.9+git.421.abde31ca5c2-150500.3.11.1 | Not reported | SUSE-SU-2023:4046-1 | Not reported |
| Suse | samba | rpm | linux enterprise module for basesystem 15 sp5 | 4.17.9+git.421.abde31ca5c2-150500.3.11.1 | Not reported | SUSE-SU-2023:4046-1 | Not reported |
| Suse | samba | rpm | linux enterprise high availability extension 15 sp5 | 4.17.9+git.421.abde31ca5c2-150500.3.11.1 | Not reported | SUSE-SU-2023:4046-1 | Not reported |
| Opensuse | samba | rpm | leap 15.5 | 4.17.9+git.421.abde31ca5c2-150500.3.11.1 | Not reported | SUSE-SU-2023:4046-1 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2023_7467.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2023-3961]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-3961]
- [https://osv.dev/vulnerability/DSA-5525-1]
- [https://osv.dev/vulnerability/SUSE-SU-2023:4046-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:13332-1]
- [https://security-tracker.debian.org/tracker/CVE-2023-3961]
- [https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-3961.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-0168.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]