A flaw was found in the way Samba handled file/directory metadata. This flaw allows an authenticated attacker with permissions to read or modify share metadata, to perform this operation outside of the share.
Conclusion & alert: CVE-2021-20316 is rated Moderate Risk (44.9/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.76%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-23 | 0.74% | 0.76% | +0.02% |
| 2 | 2026-06-15 | 1.10% | 0.74% | -0.36% |
| 3 | 2026-06-14 | — | 1.10% | — |
Full EPSS history (25 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.8 | 3.1 | MEDIUM |
|
1.6 | 5.2 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
medium | CVE-2021-20316: 1 source package rows (samba); 95 state rows across 5 repos (3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 0, open 95. | https://security.alpinelinux.org/vuln/CVE-2021-20316 |
debian
|
not yet assigned | CVE-2021-20316 not yet assigned priority: Debian including 1 source packages (samba), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 4, open 1. | https://security-tracker.debian.org/tracker/CVE-2021-20316 |
gentoo
|
high | CVE-2021-20316: 1 GLSA(s) (202309-06), 1 atom(s) (net-fs/samba); latest impact high. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2021-20316 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2021-20316 |
suse
|
medium | CVE-2021-20316 severity moderate: SUSE including 602 source package names (0.21.0.3.2.10:krb5-1.19.2-150300.8.3.2, 1.1.2.3.2.10:krb5-1.19.2-150300.8.3.2, …), 2787 product×package rows across 152 product lines (Container bci/bci-init, Container bci/dotnet-aspnet, … (152 product lines)): Will Not Fix 1470, Fixed 1110, Known Affected 181, Known Not Affected 26. | https://www.suse.com/security/cve/CVE-2021-20316/ |
ubuntu
|
medium | CVE-2021-20316 medium priority: Ubuntu including 1 source packages (samba), 15 status rows across 15 suites (bionic, focal, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 6, not-affected 6, needed 2, released 1. | https://ubuntu.com/security/CVE-2021-20316 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| samba | samba | < 4.15.0 | cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* |
| debian | debian_linux | 10.0 | cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
| debian | debian_linux | 11.0 | cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
| redhat | virtualization_host | 4.0 | cpe:2.3:a:redhat:virtualization_host:4.0:*:*:*:*:*:*:* |
| redhat | enterprise_linux | 8.0 | cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* |
| redhat | enterprise_linux_aus | 8.6 | cpe:2.3:o:redhat:enterprise_linux_aus:8.6:*:*:*:*:*:*:* |
| redhat | enterprise_linux_eus | 8.6 | cpe:2.3:o:redhat:enterprise_linux_eus:8.6:*:*:*:*:*:*:* |
| redhat | enterprise_linux_tus | 8.6 | cpe:2.3:o:redhat:enterprise_linux_tus:8.6:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://access.redhat.com/security/cve/CVE-2021-20316 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2009673 | Issue Tracking Third Party Advisory |
| https://bugzilla.samba.org/show_bug.cgi?id=14842 | Issue Tracking Vendor Advisory |
| https://security-tracker.debian.org/tracker/CVE-2021-20316 | Mitigation Third Party Advisory |
| https://security.gentoo.org/glsa/202309-06 | |
| https://www.samba.org/samba/security/CVE-2021-20316.html | Vendor Advisory |