Home / samba / samba / CVE-2023-4154
CVE-2023-4154: is it exploited, and which versions of samba are affected and fixed?
CVE-2023-4154 is an out-of-bounds write (memory corruption) vulnerability in samba. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:08 UTC). Affected: Fedora all versions (the record names no range) (CVE record by redhat). Fixed in 4.17.12, 4.18.8 and 4.19.1 (NVD). Severity: High (7.5, CVSS 3.1, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 28, 2026, 19:16 UTC and NVD November 19, 2026, 07:34 UTC.
What is CVE-2023-4154?
Samba: ad dc password exposure to privileged users and rodcs
A design flaw was found in Samba's DirSync control implementation, which exposes passwords and secrets in Active Directory to privileged users and Read-Only Domain Controllers (RODCs). This flaw allows RODCs and users possessing the GET_CHANGES right to access all attributes, including sensitive secrets and passwords. Even in a default setup, RODC DC accounts, which should only replicate some passwords, can gain access to all domain secrets, including the vital krbtgt, effectively eliminating the RODC / DC distinction. Furthermore, the vulnerability fails to account for error conditions (fail open), like out-of-memory situations, potentially granting access to secret attributes, even under low-privileged attacker influence.
From the CVE record by redhat, last updated August 2, 2024, 07:17 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| samba | not stated | ||
| Red Hat | Red Hat Enterprise Linux 6 samba | not stated | |
| Red Hat | Red Hat Enterprise Linux 6 samba4 | not stated | |
| Red Hat | Red Hat Enterprise Linux 7 samba | not stated | |
| Red Hat | Red Hat Enterprise Linux 8 samba | not stated | |
| Red Hat | Red Hat Enterprise Linux 9 samba | not stated | |
| Red Hat | Red Hat Storage 3 samba | not stated | |
| Fedora | Fedora samba | all versions (the record names no range) |
As the CVE record by redhat states it, last updated August 2, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| samba | samba | from 4.0.0 before 4.17.12 | application |
| samba | samba | from 4.18.0 before 4.18.8 | application |
| samba | samba | from 4.19.0 before 4.19.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 06:37 UTC.
How severe is CVE-2023-4154?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | redhat |
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-4154 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.40% probability of exploitation activity in the next 30 days, percentile 73.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-787 Out-of-bounds Write
Where are the vendor advisories and references?
- https://access.redhat.com/security/cve/CVE-2023-4154 vdb-entry, x_refsource_REDHAT
- RHBZ#2241883 issue-tracking, x_refsource_REDHAT
- https://bugzilla.samba.org/show_bug.cgi?id=15424
- https://security.netapp.com/advisory/ntap-20231124-0002/
- https://www.samba.org/samba/security/CVE-2023-4154.html
When was it published, and where is the official record?
- Reserved
- August 4, 2023
- Published
- November 7, 2023, 19:14 UTC
- CVE record updated
- August 2, 2024, 07:17 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 06:37 UTC
- Last checked
- CVE list November 28, 2026, 19:16 UTC; NVD November 19, 2026, 07:34 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect samba?
- May 30, 2017CVE-2017-7494 samba: code injection (remote code execution) exploited
- Dec 1, 2026CVE-2026-135111 Samba: resource not released after use
- Nov 30, 2026CVE-2026-125628 Samba: type confusion
- Nov 27, 2026CVE-2026-125633 Samba: type confusion
- Nov 27, 2026CVE-2026-125627 Samba: NULL pointer dereference (crash)
- Nov 26, 2026CVE-2026-135107 Samba: memory Allocation with Excessive Size Value
- Nov 25, 2026CVE-2026-125634 Samba: NULL pointer dereference (crash)
- Oct 28, 2026CVE-2026-109411 Samba: improper Handling of Case Sensitivity
Questions about CVE-2023-4154
Is CVE-2023-4154 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 1.40% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of samba are affected by CVE-2023-4154?
Fedora all versions (the record names no range), per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2023-4154?
4.17.12, 4.18.8 and 4.19.1, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-4154?
High (7.5, CVSS 3.1, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2023-4154?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.