Description
An out-of-bounds read vulnerability was found in Samba due to insufficient length checks in winbindd_pam_auth_crap.c. When performing NTLM authentication, the client replies to cryptographic challenges back to the server. These replies have variable lengths, and Winbind fails to check the lan manager response length. When Winbind is used for NTLM authentication, a maliciously crafted request can trigger an out-of-bounds read in Winbind, possibly resulting in a crash.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 8 | — | — |
| Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support | — | — |
| Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | — | — |
| Red Hat | Red Hat Enterprise Linux 9 | — | — |
| Red Hat | Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 | — | — |
| Red Hat | Red Hat Enterprise Linux 6 | — | — |
| Red Hat | Red Hat Enterprise Linux 7 | — | — |
| Red Hat | Red Hat Storage 3 | — | — |
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.18.5+dfsg-1 | — |
| Debian 13 | samba | 2:4.18.5+dfsg-1 | — |
| Debian 12 | samba | 2:4.17.10+dfsg-0+deb12u1 | DSA-5477-1 |
| Debian 11 | samba | 2:4.13.13+dfsg-1~deb11u6 | DSA-5647-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.13+dfsg-0ubuntu1.2 | USN-6238-1 |
| Ubuntu 20.04 LTS | samba | 2:4.15.13+dfsg-0ubuntu0.20.04.3 | USN-6238-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 +33 | 4.18.6-100.el9 | RHSA-2023:6667 |
| RHEL 8 | ctdb +33 | 4.18.6-1.el8 | RHSA-2023:7139 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Rhev Hypervisor 4 | samba +5 | 4.15.5-15.el8_6 | RHSA-2024:0423 |
| RHEL 8.8 EUS | ctdb +33 | 4.17.5-5.el8_8 | RHSA-2024:0580 |
| RHEL 8.6 EUS | ctdb +24 | 4.15.5-15.el8_6 | RHSA-2024:0423 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | ctdb +33 | 4.18.6-100.el9 | ALSA-2023:6667 |
| AlmaLinux 8 | ctdb +33 | 4.18.6-1.el8 | ALSA-2023:7139 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | evolution-mapi | 3.28.3-8.el8 | RLSA-2023:7139 |
| Rocky Linux 8 | openchange | 2.3-32.el8 | RLSA-2023:7139 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | samba | 4.17.9+git.367.dae41ffdd1f-150500.3.5.1 | SUSE-SU-2023:2929-1 |
| SLES 15 SP4 | samba | 4.15.13+git.663.9c654e06cdb-150400.3.28.1 | SUSE-SU-2023:2930-1 |
| SLES 15 SP3 | samba | 4.15.13+git.663.9c654e06cdb-150300.3.57.5 | SUSE-SU-2023:3060-1 |
| SLES 15 SP2 | samba | 4.11.14+git.396.91f4f677472-150200.4.52.5 | SUSE-SU-2023:3358-1 |
| SLES 15 SP1 | samba | 4.9.5+git.564.996810ca1e3-150100.3.82.3 | SUSE-SU-2023:3017-1 |
Show 20 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | samba | 4.15.13+git.621.c8ae836ff82-3.85.1 | SUSE-SU-2023:2888-1 |
| SLES 12 SP4 | samba | 4.6.16+git.393.97432483687-3.81.1 | SUSE-SU-2023:2887-1 |
| SLES for SAP 15 SP3 | samba | 4.15.13+git.663.9c654e06cdb-150300.3.57.5 | SUSE-SU-2023:3060-1 |
| SLES for SAP 15 SP2 | samba | 4.11.14+git.396.91f4f677472-150200.4.52.5 | SUSE-SU-2023:3358-1 |
| SLES for SAP 15 SP1 | samba | 4.9.5+git.564.996810ca1e3-150100.3.82.3 | SUSE-SU-2023:3017-1 |
| SLES for SAP 12 SP5 | samba | 4.15.13+git.621.c8ae836ff82-3.85.1 | SUSE-SU-2023:2888-1 |
| SLES for SAP 12 SP4 | samba | 4.6.16+git.393.97432483687-3.81.1 | SUSE-SU-2023:2887-1 |
| SLE Real Time 15 SP3 | samba | 4.15.13+git.663.9c654e06cdb-150300.3.57.5 | SUSE-SU-2023:3060-1 |
| SLE Micro 5.4 | samba | 4.15.13+git.663.9c654e06cdb-150400.3.28.1 | SUSE-SU-2023:2930-1 |
| SLE Micro 5.3 | samba | 4.15.13+git.663.9c654e06cdb-150400.3.28.1 | SUSE-SU-2023:2930-1 |
| SLE Micro 5.2 | samba | 4.15.13+git.663.9c654e06cdb-150300.3.57.5 | SUSE-SU-2023:3060-1 |
| SLE HPC 15 SP3 | samba | 4.15.13+git.663.9c654e06cdb-150300.3.57.5 | SUSE-SU-2023:3060-1 |
| SLE HPC 15 SP2 | samba | 4.11.14+git.396.91f4f677472-150200.4.52.5 | SUSE-SU-2023:3358-1 |
| SLE HPC 15 SP1 | samba | 4.9.5+git.564.996810ca1e3-150100.3.82.3 | SUSE-SU-2023:3017-1 |
| SUSE OpenStack Cloud Crowbar 9 | samba | 4.6.16+git.393.97432483687-3.81.1 | SUSE-SU-2023:2887-1 |
| SUSE OpenStack Cloud 9 | samba | 4.6.16+git.393.97432483687-3.81.1 | SUSE-SU-2023:2887-1 |
| SUSE Manager Server 4.2 | samba | 4.15.13+git.663.9c654e06cdb-150300.3.57.5 | SUSE-SU-2023:3060-1 |
| SUSE Manager Proxy 4.2 | samba | 4.15.13+git.663.9c654e06cdb-150300.3.57.5 | SUSE-SU-2023:3060-1 |
| SUSE Enterprise Storage 7.1 | samba | 4.15.13+git.663.9c654e06cdb-150300.3.57.5 | SUSE-SU-2023:3060-1 |
| SUSE Enterprise Storage 7 | samba | 4.11.14+git.396.91f4f677472-150200.4.52.5 | SUSE-SU-2023:3358-1, SUSE-SU-2023:3066-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | samba | 4.18.5+git.313.c8e274c7852-1.1 | openSUSE-SU-2024:13071-1 |
| openSUSE Leap 15.5 | samba | 4.17.9+git.367.dae41ffdd1f-150500.3.5.1 | SUSE-SU-2023:2929-1 |
| openSUSE Leap 15.4 | samba | 4.9.5+git.564.996810ca1e3-150100.3.82.3 | SUSE-SU-2023:3358-1, SUSE-SU-2023:3017-1, SUSE-SU-2023:2930-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap Micro 5.4 | samba | 4.15.13+git.663.9c654e06cdb-150400.3.28.1 | SUSE-SU-2023:2930-1 |
| openSUSE Leap Micro 5.3 | samba | 4.15.13+git.663.9c654e06cdb-150400.3.28.1 | SUSE-SU-2023:2930-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | samba +31 | 2:4.17.10-0.amzn2023.0.1 | ALAS2023-2023-316 |
| Amazon Linux 2 | ctdb +26 | 4.10.16-24.amzn2.0.4 | ALAS2-2023-2367 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | samba | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | samba | No fix yet | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | evolution-mapi +1 | 3.40.1-6.el9 | ELSA-2023-6667 |
| Oracle Linux 9 | openchange | 2.3-41.el9 | ELSA-2023-6667 |
| Oracle Linux 9 | samba +32 | 4.18.6-100.el9 | ELSA-2023-6667 |
| Oracle Linux 8 | evolution-mapi +1 | 3.28.3-8.el8 | ELSA-2023-7139 |
| Oracle Linux 8 | openchange | 2.3-32.0.1.el8 | ELSA-2023-7139 |
Advisories 26
- ALSA-2023:6667 Moderate: samba security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2023:7139 Moderate: samba security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2024:0423 Red Hat Security Advisory: samba security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RHSA-2024:0580 Red Hat Security Advisory: samba security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2023:6667 Red Hat Security Advisory: samba security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2023:7139 Red Hat Security Advisory: samba security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- WID-SEC-2023-1842 Samba: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 25, 2026
- RLSA-2023:7139 Moderate: samba security, bug fix, and enhancement update Rocky Linux Security Advisories · Jun 25, 2026
- USN-6238-1 samba vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DSA-5477-1 samba - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-5647-1 samba - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3792-1 samba - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2023:3066-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:3358-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2888-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:3017-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13071-1 ctdb-4.18.5+git.313.c8e274c7852-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2929-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:3060-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2930-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2887-1 Security update for samba SUSE / openSUSE Security Updates · May 2, 2025
- ALAS2-2023-2367 Moderate: samba security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Dec 4, 2023
- ELSA-2023-7139 Moderate: samba security, bug fix, and enhancement update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Nov 18, 2023
- WID-SEC-2023-2910 Sophos Unified Threat Management (UTM) Software: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 14, 2023
- ELSA-2023-6667 Moderate: samba security, bug fix, and enhancement update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Nov 11, 2023
- ALAS2023-2023-316 Important: samba security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Aug 23, 2023
References
- RHSA-2023:6667 vendor-advisory
- RHSA-2023:7139 vendor-advisory
- RHSA-2024:0423 vendor-advisory
- RHSA-2024:0580 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2022-2127 vdb-entry
- RHBZ#2222791 issue-tracking
- https://www.samba.org/samba/security/CVE-2022-2127.html