Home / Samba / Samba / CVE-2021-44142
CVE-2021-44142: is it exploited, and which versions of Samba are affected and fixed?
CVE-2021-44142 is an out-of-bounds read vulnerability in Samba. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: Samba before 4.13.17, Samba before 4.14.12 and Samba before 4.15.5 (CVE record by redhat). Fixed in 4.13.17, 4.14.12 and 4.15.5 (CVE record by redhat). Severity: High (8.8, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 28, 2026, 20:05 UTC and NVD November 19, 2026, 07:51 UTC.
What is CVE-2021-44142?
The Samba vfs_fruit module uses extended file attributes (EA, xattr) to provide "...enhanced compatibility with Apple SMB clients and interoperability with a Netatalk 3 AFP fileserver." Samba versions prior to 4.13.17, 4.14.12 and 4.15.5 with vfs_fruit configured allow out-of-bounds heap read and write via specially crafted extended file attributes. A remote attacker with write access to extended file attributes can execute arbitrary code with the privileges of smbd, typically root.
From the CVE record by redhat, last updated April 23, 2025, 19:02 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Samba | Samba | before 4.13.17 before 4.14.12 before 4.15.5 | 4.13.17, 4.14.12, 4.15.5 |
As the CVE record by redhat states it, last updated April 23, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| samba | samba | before 4.13.17 | application |
| samba | samba | from 4.14.0 before 4.14.12 | application |
| samba | samba | from 4.15.0 before 4.15.5 | application |
| debian | debian linux | 10.0 | operating system |
| debian | debian linux | 11.0 | operating system |
| canonical | ubuntu linux | 14.04 | operating system |
| canonical | ubuntu linux | 16.04 | operating system |
| canonical | ubuntu linux | 18.04 | operating system |
| canonical | ubuntu linux | 20.04 | operating system |
| canonical | ubuntu linux | 21.10 | operating system |
| synology | diskstation manager | from 6.2 before 6.2.4-25556.4 | application |
| fedoraproject | fedora | 34 | operating system |
| fedoraproject | fedora | 35 | operating system |
| redhat | codeready linux builder | all versions | application |
| redhat | gluster storage | 3.5 | application |
| redhat | virtualization host | 4.0 | application |
| redhat | enterprise linux | 7.0 | operating system |
| redhat | enterprise linux | 8.0 | operating system |
| redhat | enterprise linux desktop | 7.0 | operating system |
| redhat | enterprise linux eus | 8.2 | operating system |
| redhat | enterprise linux eus | 8.4 | operating system |
| redhat | enterprise linux for ibm z systems | 7.0 | operating system |
| redhat | enterprise linux for ibm z systems | 8.0 | operating system |
| redhat | enterprise linux for ibm z systems eus | 8.2 | operating system |
| redhat | enterprise linux for ibm z systems eus | 8.4 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 04:11 UTC.
How severe is CVE-2021-44142?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 9.0 | CVSS 2.0 | AV:N/AC:L/Au:S/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-44142 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, April 23, 2025)
- EPSS
- 73.6% probability of exploitation activity in the next 30 days, percentile 99.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://www.samba.org/samba/security/CVE-2021-44142.html
- https://www.zerodayinitiative.com/blog/2022/2/1/cve-2021-44142-details-on-a-samba-code-execution-bug-demonstrated-at-pwn2own-austin
- https://kb.cert.org/vuls/id/119678 third-party-advisory
- https://bugzilla.samba.org/show_bug.cgi?id=14914
- GLSA-202309-06 vendor-advisory
- https://www.kb.cert.org/vuls/id/119678
When was it published, and where is the official record?
- Reserved
- November 22, 2021
- Published
- February 21, 2022, 14:30 UTC
- CVE record updated
- April 23, 2025, 19:02 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 04:11 UTC
- Last checked
- CVE list November 28, 2026, 20:05 UTC; NVD November 19, 2026, 07:51 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Samba?
- May 30, 2017CVE-2017-7494 samba: code injection (remote code execution) exploited
- Dec 1, 2026CVE-2026-135111 Samba: resource not released after use
- Nov 30, 2026CVE-2026-125628 Samba: type confusion
- Nov 27, 2026CVE-2026-125633 Samba: type confusion
- Nov 27, 2026CVE-2026-125627 Samba: NULL pointer dereference (crash)
- Nov 26, 2026CVE-2026-135107 Samba: memory Allocation with Excessive Size Value
- Nov 25, 2026CVE-2026-125634 Samba: NULL pointer dereference (crash)
- Oct 28, 2026CVE-2026-109411 Samba: improper Handling of Case Sensitivity
Questions about CVE-2021-44142
Is CVE-2021-44142 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 73.6% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Samba are affected by CVE-2021-44142?
Samba before 4.13.17, Samba before 4.14.12 and Samba before 4.15.5, per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2021-44142?
4.13.17, 4.14.12 and 4.15.5, per the CVE record by redhat. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-44142?
High (8.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2021-44142?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.