CVSS 3.1
6.5 mediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:NMedium (6.5). EPSS 0.9% 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:H/A:NExplain CVE-2026-2340 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-2340?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-2340?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-2026-2340 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 CNA's record in the CVE List.
| Product | Fixed in |
|---|---|
| Red Hat Enterprise Linux 10 | 0:4.23.5-109.el10_2 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | 0:4.21.3-114.el10_0.1 |
| Red Hat Enterprise Linux 8 | 0:4.19.4-16.el8_10 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | 0:4.15.5-16.el8_6.1 |
| Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On | 0:4.15.5-16.el8_6.1 |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | 0:4.17.5-7.el8_8.1 |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | 0:4.17.5-7.el8_8.1 |
| Red Hat Enterprise Linux 9 | 0:4.23.5-10.el9_8 |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | 0:4.17.5-105.el9_2.5 |
| Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | 0:4.19.4-105.el9_4.4 |
| Red Hat Enterprise Linux 9.6 Extended Update Support | 0:4.21.3-14.el9_6.1 |
| Red Hat OpenShift Container Platform 4.12 | 412.86.202608241157-0 |
| Red Hat OpenShift Container Platform 4.12 | 412.86.202609082051-0 |
| Red Hat OpenShift Container Platform 4.13 | 413.92.202609080414-0 |
| Red Hat OpenShift Container Platform 4.13 | 413.92.202609302032-0 |
| Red Hat OpenShift Container Platform 4.14 | 414.92.202608172040-0 |
| Red Hat OpenShift Container Platform 4.14 | 414.92.202609011250-0 |
| Red Hat OpenShift Container Platform 4.15 | 415.92.202608180329-0 |
| Red Hat OpenShift Container Platform 4.15 | 415.92.202609140326-0 |
| Red Hat OpenShift Container Platform 4.16 | 416.94.202608150307-0 |
| Red Hat OpenShift Container Platform 4.16 | 416.94.202609011112-0 |
| Red Hat OpenShift Container Platform 4.17 | 417.94.202608250221-0 |
| Red Hat OpenShift Container Platform 4.17 | 417.94.202609191027-0 |
| Red Hat OpenShift Container Platform 4.18 | 418.94.202608142238-0 |
| Red Hat OpenShift Container Platform 4.18 | 418.94.202609031320-0 |
| Red Hat OpenShift Container Platform 4.19 | 4.19.9.6.202606241344-0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | samba | 2:4.17.12+dfsg-0+deb12u4 | DEBIAN-CVE-2026-2340 |
| Debian | 13 | samba | 2:4.22.8+dfsg-0+deb13u2 | DEBIAN-CVE-2026-2340 |
| Debian | 14 | samba | 2:4.24.3+dfsg-1 | DEBIAN-CVE-2026-2340 |
| Ubuntu | 22.04:LTS | samba | 2:4.15.13+dfsg-0ubuntu1.12 | UBUNTU-CVE-2026-2340 |
| Ubuntu | 24.04:LTS | samba | 2:4.19.5+dfsg-4ubuntu9.6 | UBUNTU-CVE-2026-2340 |
| Ubuntu | 25.10 | samba | 2:4.22.3+dfsg-4ubuntu2.4 | UBUNTU-CVE-2026-2340 |
| Ubuntu | 26.04:LTS | samba | 2:4.23.6+dfsg-1ubuntu2.1 | UBUNTU-CVE-2026-2340 |
| Red Hat | enterprise_linux:8::appstream | ctdb-debuginfo, samba-debuginfo, samba-debugsource and 23 more | 0:4.19.4-16.el8_10 | RHSA-2026:22644 |
| Red Hat | enterprise_linux:8::baseos | ctdb, samba, libnetapi and 50 more | 0:4.19.4-16.el8_10 | RHSA-2026:22644 |
| Red Hat | enterprise_linux:8::crb | samba-devel, ctdb-debuginfo, libnetapi-devel and 27 more | 0:4.19.4-16.el8_10 | RHSA-2026:22644 |
| Red Hat | enterprise_linux:9::appstream | samba-client, samba-winexe, ctdb-debuginfo and 32 more | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat | enterprise_linux:9::baseos | samba, libldb, ldb-tools and 46 more | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat | enterprise_linux:9::crb | samba-pidl, samba-test, samba-devel and 34 more | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat | enterprise_linux:9::resilientstorage | ctdb, ctdb-debuginfo, samba-debuginfo and 26 more | 0:4.23.5-10.el9_8 | RHSA-2026:25049 |
| Red Hat | enterprise_linux:10.2 | samba, libldb, ldb-tools and 62 more | 0:4.23.5-109.el10_2 | RHSA-2026:22963 |
| Red Hat | enterprise_linux_eus:10.0 | samba, libldb, ldb-tools and 62 more | 0:4.21.3-114.el10_0.1 | RHSA-2026:28055 |
| Red Hat | rhel_aus:8.6::appstream, rhel_eus_long_life:8.6::appstream | ctdb-debuginfo, samba-debuginfo, samba-debugsource and 18 more | 0:4.15.5-16.el8_6.1 | RHSA-2026:28057 |
| Red Hat | rhel_aus:8.6::baseos, rhel_eus_long_life:8.6::baseos | ctdb, samba, samba-libs and 38 more | 0:4.15.5-16.el8_6.1 | RHSA-2026:28057 |
| Red Hat | rhel_e4s:8.8::appstream, rhel_tus:8.8::appstream | ctdb-debuginfo, samba-debuginfo, samba-debugsource and 23 more | 0:4.17.5-7.el8_8.1 | RHSA-2026:28056 |
| 11 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Linux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0 | samba | 4.22.11+git.552.66cfeb7de0a-160000.1.1 | SUSE-SU-2026:23129-1 SUSE-SU-2026:23152-1 |
| SUSE | Linux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0 | samba | 4.22.9+git.506.22c03ce0781-160000.1.1 | SUSE-SU-2026:22080-1 |
| SUSE | Linux Micro 6.2 | samba | 4.22.11+git.552.66cfeb7de0a-160000.1.1 | SUSE-SU-2026:23003-1 |
| SUSE | Linux Micro 6.2 | samba | 4.22.9+git.506.22c03ce0781-160000.1.1 | SUSE-SU-2026:22045-1 |
| openSUSE | Leap 16.0 | samba | 4.22.11+git.552.66cfeb7de0a-160000.1.1 | openSUSE-SU-2026:21540-1 |
| openSUSE | Leap 16.0 | samba | 4.22.9+git.506.22c03ce0781-160000.1.1 | openSUSE-SU-2026:20905-1 |
| openSUSE | Tumbleweed | samba | 4.23.8+git.477.f78166bceed-1.1 | openSUSE-SU-2026:10884-1 |
| AlmaLinux | 8 | ctdb, samba, libnetapi and 31 more | 4.19.4-16.el8_10 | ALSA-2026:22644 |
| AlmaLinux | 9 | samba, libldb, ldb-tools and 34 more | 4.23.5-10.el9_8 | ALSA-2026:25049 |
| AlmaLinux | 10 | samba, libldb, ldb-tools and 34 more | 4.23.5-109.el10_2 | ALSA-2026:22963 |
| Rocky Linux | 9 | samba | 0:4.23.5-10.el9_8 | RLSA-2026:25049 |
| Rocky Linux | 10 | samba | 0:4.23.5-109.el10_2 | RLSA-2026:22963 |
| Alpine | v3.23 | samba | 4.22.10-r0 | ALPINE-CVE-2026-2340 |
| Alpine | v3.24 | samba | 4.23.8-r0 | ALPINE-CVE-2026-2340 |
| Azure Linux | 3 | samba | no fix listed | AZL-89145 |
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.
This vulnerability is rated Moderate severity because exploitation requires authenticated write access to a Samba share already configured to permit file creation and modification.
The flaw affects the vfs_worm module, which provides additional immutability protections for files after a configurable grace period. Due to improper handling of rename operations, a user with existing write permissions could overwrite files that should have become immutable under the WORM policy.
The vulnerability does not bypass underlying filesystem access controls or grant additional privileges beyond those already assigned to the authenticated user. However, because the primary purpose of the vfs_worm module is to protect file integrity, the ability to modify protected files results in a high integrity impact.
Administrators can mitigate this issue by:
Setting read-only permissions on protected files at the underlying filesystem level will prevent modifications.
Configuring ```worm:grace_period = 0``` (zero or less) in smb.conf will eliminate the writable grace period (will eliminate the window in which the rename can happen), understanding that this may impact workflows requiring multi-step file creation.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | samba-0:4.23.5-109.el10_2 | Fixed 2026-06-03 | RHSA-2026:22963 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | samba-0:4.21.3-114.el10_0.1 | Fixed 2026-06-23 | RHSA-2026:28055 |
| Red Hat Enterprise Linux 8 | samba-0:4.19.4-16.el8_10 | Fixed 2026-06-03 | RHSA-2026:22644 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | samba-0:4.15.5-16.el8_6.1 | Fixed 2026-06-23 | RHSA-2026:28057 |
| Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On | samba-0:4.15.5-16.el8_6.1 | Fixed 2026-06-23 | RHSA-2026:28057 |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | samba-0:4.17.5-7.el8_8.1 | Fixed 2026-06-23 | RHSA-2026:28056 |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | samba-0:4.17.5-7.el8_8.1 | Fixed 2026-06-23 | RHSA-2026:28056 |
| Red Hat Enterprise Linux 9 | samba-0:4.23.5-10.el9_8 | Fixed 2026-06-10 | RHSA-2026:25049 |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | samba-0:4.17.5-105.el9_2.5 | Fixed 2026-06-23 | RHSA-2026:28054 |
| Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | samba-0:4.19.4-105.el9_4.4 | Fixed 2026-06-23 | RHSA-2026:28053 |
| Red Hat Enterprise Linux 9.6 Extended Update Support | samba-0:4.21.3-14.el9_6.1 | Fixed 2026-06-15 | RHSA-2026:25979 |
| Red Hat OpenShift Container Platform 4.12 | openshift/ose-rhel-coreos-8:412.86.202608241157-0 | Fixed 2026-09-03 | RHSA-2026:59831 |
| Red Hat OpenShift Container Platform 4.12 | openshift/ose-rhel-coreos-8:412.86.202609082051-0 | Fixed 2026-09-17 | RHSA-2026:65907 |
| Red Hat OpenShift Container Platform 4.13 | openshift/ose-rhel-coreos-9:413.92.202609080414-0 | Fixed 2026-09-17 | RHSA-2026:65839 |
| Red Hat OpenShift Container Platform 4.13 | openshift/ose-rhel-coreos-9:413.92.202609302032-0 | Fixed 2026-10-15 | RHSA-2026:77320 |
| Red Hat OpenShift Container Platform 4.14 | openshift/ose-rhel-coreos-9:414.92.202608172040-0 | Fixed 2026-08-31 | RHSA-2026:56786 |
| Red Hat OpenShift Container Platform 4.14 | openshift/ose-rhel-coreos-9:414.92.202609011250-0 | Fixed 2026-09-14 | RHSA-2026:62409 |
| Red Hat Enterprise Linux 6 | samba | Out of support scope | |
| Red Hat Enterprise Linux 6 | samba4 | Out of support scope | |
| Red Hat Enterprise Linux 7 | samba | Will not fix | |
| 9 more in the JSON and on Red Hat's page. | |||
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-2026-2340.