CVSS 3.1
5.4 mediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:LMedium (5.4) in samba samba. EPSS 1.4% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:LExplain CVE-2022-32746 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-32746?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-32746?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-32746 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| samba:samba | from 4.3.0 before 4.14.14 |
| samba:samba | from 4.15.0 before 4.15.9 |
| samba:samba | from 4.16.0 before 4.16.4 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | samba | 2:4.13.13+dfsg-1~deb11u5 | DSA-5205-1 |
| Debian | 12, 13, 14 | samba | 2:4.16.4+dfsg-1 | DEBIAN-CVE-2022-32746 |
| Ubuntu | 16.04:LTS, 18.04:LTS | ldb | no fix listed | UBUNTU-CVE-2022-32746 |
| Ubuntu | 20.04:LTS | ldb | 2:2.2.3-0ubuntu0.20.04.3 | UBUNTU-CVE-2022-32746 |
| Ubuntu | 20.04:LTS | samba | 2:4.13.17~dfsg-0ubuntu1.20.04.1 | UBUNTU-CVE-2022-32746 USN-5542-1 |
| Ubuntu | 22.04:LTS | ldb | 2:2.4.4-0ubuntu0.1 | UBUNTU-CVE-2022-32746 |
| Ubuntu | 22.04:LTS | samba | 2:4.15.9+dfsg-0ubuntu0.2 | UBUNTU-CVE-2022-32746 USN-5542-1 |
| Ubuntu | Pro:14.04:LTS | ldb, samba | no fix listed | UBUNTU-CVE-2022-32746 |
| Ubuntu | Pro:16.04:LTS, Pro:18.04:LTS | samba | no fix listed | UBUNTU-CVE-2022-32746 |
| Red Hat | enterprise_linux:8::baseos | libldb, ldb-tools, python3-ldb and 5 more | 0:2.5.2-2.el8 | RHSA-2022:7730 |
| Red Hat | enterprise_linux:8::crb | libldb-debuginfo, python3-ldb-devel, libldb-debugsource and 3 more | 0:2.5.2-2.el8 | RHSA-2022:7730 |
| Red Hat | enterprise_linux:9::baseos | libldb, ldb-tools, python3-ldb and 4 more | 0:2.5.2-1.el9 | RHSA-2022:8318 |
| Red Hat | enterprise_linux:9::crb | libldb-devel, libldb-debuginfo, libldb-debugsource and 2 more | 0:2.5.2-1.el9 | RHSA-2022:8318 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Availability Extension 15 SP3, Linux Enterprise High Performance Computing 15 SP3-ESPOS and 7 more | samba | 4.15.13+git.636.53d93c5b9d6-150300.3.52.1 | SUSE-SU-2023:1687-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Availability Extension 15 SP3, Linux Enterprise Micro 5.2 and 2 more | samba | 4.15.12+git.535.7750e5c95ef-150300.3.43.1 | SUSE-SU-2022:4395-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Availability Extension 15 SP3, Linux Enterprise Micro 5.2 and 2 more | samba | 4.15.8+git.500.d5910280cc7-150300.3.37.1 | SUSE-SU-2022:2586-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 7 more | ldb | 2.4.4-150300.3.23.1 | SUSE-SU-2023:1687-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise Micro 5.1, Linux Enterprise Micro 5.2 and 1 more | ldb | 2.4.3-150300.3.20.1 | SUSE-SU-2022:2586-1 |
| SUSE | Linux Enterprise High Availability Extension 12 SP5, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 and 1 more | samba | 4.15.13+git.482.1ac2c665c7-3.74.1 | SUSE-SU-2023:0081-1 |
| SUSE | Linux Enterprise High Availability Extension 12 SP5, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 and 1 more | samba | 4.15.8+git.462.e73f4310487-3.68.1 | SUSE-SU-2022:2582-1 |
| SUSE | Linux Enterprise High Availability Extension 15 SP4, Linux Enterprise Micro 5.3, Linux Enterprise Micro 5.4 and 1 more | samba | 4.15.13+git.636.53d93c5b9d6-150400.3.23.1 | SUSE-SU-2023:1689-1 |
| SUSE | Linux Enterprise High Availability Extension 15 SP4, Linux Enterprise Micro 5.3, Linux Enterprise Module for Basesystem 15 SP4 | samba | 4.15.13+git.591.ab36624310c-150400.3.19.1 | SUSE-SU-2023:0160-1 |
| SUSE | Linux Enterprise High Availability Extension 15 SP4, Linux Enterprise Module for Basesystem 15 SP4 | samba | 4.15.8+git.500.d5910280cc7-150400.3.11.1 | SUSE-SU-2022:2659-1 |
| SUSE | Linux Enterprise Micro 5.3, Linux Enterprise Micro 5.4, Linux Enterprise Module for Basesystem 15 SP4 | ldb | 2.4.4-150400.4.11.1 | SUSE-SU-2023:1689-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP4 | ldb | 2.4.3-150400.4.8.1 | SUSE-SU-2022:2659-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:2586-1 |
| openSUSE | Leap 15.3, Leap Micro 5.2 | samba | 4.15.12+git.535.7750e5c95ef-150300.3.43.1 | SUSE-SU-2022:4395-1 |
| openSUSE | Leap 15.4 | ldb | 2.4.3-150400.4.8.1 | SUSE-SU-2022:2659-1 |
| openSUSE | Leap 15.4 | samba | 4.15.8+git.500.d5910280cc7-150400.3.11.1 | SUSE-SU-2022:2659-1 |
| openSUSE | Leap 15.4, Leap Micro 5.3 | ldb | 2.4.4-150400.4.11.1 | SUSE-SU-2023:1689-1 |
| openSUSE | Leap 15.4, Leap Micro 5.3 | samba | 4.15.13+git.591.ab36624310c-150400.3.19.1 | SUSE-SU-2023:0160-1 |
| openSUSE | Leap 15.4, Leap Micro 5.3 | samba | 4.15.13+git.636.53d93c5b9d6-150400.3.23.1 | SUSE-SU-2023:1689-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:2586-2 |
| openSUSE | Tumbleweed | ldb | 2.5.2-1.1 | openSUSE-SU-2024:12241-1 |
| openSUSE | Tumbleweed | samba | 4.16.4+git.297.1497eb221ed-1.1 | openSUSE-SU-2024:12243-1 |
| AlmaLinux | 8 | libldb, ldb-tools, python3-ldb and 3 more | 2.5.2-2.el8 | ALSA-2022:7730 |
| AlmaLinux | 9 | libldb, ldb-tools, python3-ldb and 1 more | 2.5.2-1.el9 | ALSA-2022:8318 |
| Rocky Linux | 8 | libldb | 0:2.5.2-2.el8 | RLSA-2022:7730 |
| Rocky Linux | 9 | libldb | 0:2.5.2-1.el9 | RLSA-2022:8318 |
| Alpine | v3.14 | samba | 4.14.14-r0 | ALPINE-CVE-2022-32746 |
| Alpine | v3.15, v3.16 | samba | 4.15.12-r0 | ALPINE-CVE-2022-32746 |
| Alpine | v3.17, v3.18, v3.19 and 5 more | samba | 4.15.9-r0 | ALPINE-CVE-2022-32746 |
| Azure Linux | 2 | samba | no fix listed | AZL-10707 |
| Azure Linux | 3 | libldb | 2.7.2-1 | AZL-45138 |
| Azure Linux | 3 | samba | 4.18.3-1 | AZL-37015 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
Although versions of Samba shipped with Red Hat Enterprise Linux do not support Samba in AD mode, the affected code is shipped in RHEL with the `libldb` package.
Disabling the AD DC database audit logging prevents the use-after-free from occurring, as that is the only component that will access the original message.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | libldb-0:2.5.2-2.el8 | Fixed 2022-11-08 | RHSA-2022:7730 |
| Red Hat Enterprise Linux 9 | libldb-0:2.5.2-1.el9 | Fixed 2022-11-15 | RHSA-2022:8318 |
| Red Hat Enterprise Linux 6 | libldb | Out of support scope | |
| Red Hat Enterprise Linux 6 | samba | Not affected | |
| Red Hat Enterprise Linux 6 | samba4 | Not affected | |
| Red Hat Enterprise Linux 7 | libldb | Out of support scope | |
| Red Hat Enterprise Linux 7 | samba | Not affected | |
| Red Hat Enterprise Linux 8 | samba | Not affected | |
| Red Hat Enterprise Linux 9 | samba | Not affected | |
| Red Hat Storage 3 | libldb | Will not fix | |
| Red Hat Storage 3 | samba | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-32746.