Improper Handling of Insufficient Permissions or Privileges Affecting samba-client-libs package, versions <0:4.21.3-14.el9_6.1


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.94% (57th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL9-SAMBACLIENTLIBS-17345119
  • published16 Jun 2026
  • disclosed27 May 2026

Introduced: 27 May 2026

CVE-2026-2340  (opens in a new tab)
CWE-280  (opens in a new tab)

How to fix?

Upgrade RHEL:9 samba-client-libs to version 0:4.21.3-14.el9_6.1 or higher.
This issue was patched in RHSA-2026:25979.

NVD Description

Note: Versions mentioned in the description apply only to the upstream samba-client-libs package and not the samba-client-libs package as distributed by RHEL. See How to fix? for RHEL:9 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1