Out-of-bounds read in samba
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-125 and the CVSS impact.
Summary
A flaw was found in samba. Spaces used in a string around a domain name (DN), while supposed to be ignored, can cause invalid DN strings with spaces to instead write a zero-byte into out-of-bounds memory, resulting in a crash. The highest threat from this vulnerability is to system availability.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | samba | samba 4.14.1, samba 4.13.6, samba 4.12.13 | — | No fix listed | CNA |
- samba Vendor— Affected samba 4.14.1, samba 4.13.6, samba 4.12.13 Fixed in — No fix listed CNA
CPE configurations NVD · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* | 4.0.0 to before 4.12.13; 4.13.0 to before 4.13.6; 4.14.0 to before 4.14.1 | Vulnerable | Samba |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 10.0 | Vulnerable | Debian |
| cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* | 32 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* | 33 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* | 34 | Vulnerable | Fedoraproject |
- cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* Versions 4.0.0 to before 4.12.13; 4.13.0 to before 4.13.6; 4.14.0 to before 4.14.1 Vulnerable ·Samba
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
- cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* Versions 32 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* Versions 33 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject
Remediation
No fixed version listed by the sources yet.
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
samba — FEDORA-2021-c93a3a5d3f
2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2021-03568 Out-of-bounds read in sambaPriority MEDIUM 40
- Advisory ·
samba — FEDORA-2021-c2d8628d33
2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2021-03568 Out-of-bounds read in sambaPriority MEDIUM 40
Show 1 more group
- Advisory ·
samba — FEDORA-2021-1a8e93a285
2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2021-03568 Out-of-bounds read in sambaPriority MEDIUM 40
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 5 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Storage 3
Timeline
- 2026-10-02 Threatist record created from CVE-2020-27840
- 2026-10-03 Alias added: GHSA-36xh-w73j-574g
- 2026-10-21 EPSS moved to the 90th–95th percentile
References
Advisory 9
- https://security.netapp.com/advisory/ntap-20210326-0007/
- FEDORA-2021-c2d8628d33
- [debian-lts-announce] 20210331 [SECURITY] [DLA 2611-1] ldb security update
- DSA-4884
- FEDORA-2021-1a8e93a285
- FEDORA-2021-c93a3a5d3f
- https://bugzilla.redhat.com/show_bug.cgi?id=1941400
- https://www.samba.org/samba/security/CVE-2020-27840.html
- GLSA-202105-22
Sources
- CVE-2020-27840 · CVE Program
- CVE-2020-27840 · NVD
- FIRST EPSS
- GHSA-36xh-w73j-574g · GitHub Advisory Database · CC BY 4.0
- CVE-2020-27840 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences