🛡️ CVE-2026-2340 on Debian — samba
Description
A flaw was found in Samba’s vfs_worm module. The module is intended to provide write-once, read-many (WORM) protections by preventing modification of files after a configurable grace period. Due to insufficient validation during rename operations, an authenticated user with write access to a share could overwrite a protected file by renaming a newly created file over the existing WORM-protected file.
Distribution advisory
This page covers CVE-2026-2340 as tracked by Debian, for the package samba. The fix is available in version 2:4.24.3+dfsg-1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity high, availability none.
Weakness class
DEBIAN-CVE-2026-2340 is classified as CWE-280: Improper Handling of Insufficient Permissions or Privileges. The product does not handle or incorrectly handles when it has insufficient privileges to access resources or functionality as specified by their permissions. This may cause it to follow unexpected code paths that may leave the product in an invalid state.
Affected software
DEBIAN-CVE-2026-2340 is recorded against 1 package.
- samba (fixed in 2:4.24.3+dfsg-1)
Timeline and source
Published on 27 May 2026 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2026-2340 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| samba | — | 2:4.24.3+dfsg-1 |
References
Similar Threats
- Unknown ALPINE-CVE-2018-14628
- Unknown ALPINE-CVE-2022-1615
- Unknown ALPINE-CVE-2022-32743
- Unknown ALPINE-CVE-2022-0336
- Unknown ALPINE-CVE-2022-2031
Vulnerability Monitoring
Track new vulnerabilities in samba
DEBIAN-CVE-2026-2340 is rated CVSS 6.5 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.
Set Up Free Alerts →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.