CVE-2021-44142 in Canonical Ubuntu Linux and 22 more products
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...
Affects 23 products from 6 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 14.04 16.04 18.04 20.04 21.10 |
| Debian | Debian Linux | 10.0 11.0 |
| Fedoraproject | Fedora | 34 35 |
| Redhat | Enterprise Linux Server | 7.0 8.1 |
| Redhat | Enterprise Linux Workstation | 7.0 |
| Redhat | Enterprise Linux Eus | 8.2 8.4 |
| Redhat | Enterprise Linux For Ibm Z Systems | 7.0 8.0 |
| Redhat | Enterprise Linux For Power Big Endian | 7.0 |
| Redhat | Enterprise Linux Server Aus | 8.2 8.4 |
| Redhat | Gluster Storage | 3.5 |
| Redhat | Enterprise Linux For Scientific Computing | 7.0 |
| Redhat | Enterprise Linux Server Tus | 8.2 8.4 |
| Redhat | Enterprise Linux Resilient Storage | 7.0 |
| Redhat | Enterprise Linux For Power Little Endian | 7.0 8.0 |
| Redhat | Enterprise Linux For Power Little Endian Eus | 8.2 8.4 |
| Redhat | Enterprise Linux Server Update Services For Sap Solutions | 8.1 8.2 8.4 |
| Redhat | Virtualization Host | 4.0 |
| Redhat | Codeready Linux Builder | No version listed by the source |
| Redhat | Enterprise Linux For Ibm Z Systems Eus | 8.2 8.4 |
| Redhat | Enterprise Linux | 7.0 8.0 |
| Redhat | Enterprise Linux Desktop | 7.0 |
| Samba | Samba | < 4.13.17 ≥ 4.14.0, < 4.14.12 ≥ 4.15.0, < 4.15.5 |
| Synology | Diskstation Manager | ≥ 6.2, < 6.2.4-25556.4 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-44142 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-247962-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2022-02-21 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-125: Out-of-Bounds Read
Software reads data past the boundary of an allocated buffer, leaking sensitive information or causing crashes.
CWE-787: Out-of-Bounds Write
Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.
Related attack patterns (CAPEC)
CAPEC-540 Overread Buffers via CWE-125
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in the Samba vfs_fruit module allows out-of-bounds heap read and write via specially crafted extended file attributes, affecting Samba versions prior to 4.13.17, 4.14.12, and 4.15.5.
A remote attacker with write access to extended file attributes can exploit this vulnerability to perform out-of-bounds heap read and write operations, potentially leading to code execution or denial of service.
Questions
What is CVE-2021-44142?
A vulnerability in the Samba vfs_fruit module allows out-of-bounds heap read and write via specially crafted extended file attributes, affecting Samba versions prior to 4.13.17, 4.14.12, and 4.15.5.
What is the CVSS score for CVE-2021-44142?
CVE-2021-44142 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 73.6%.
Is CVE-2021-44142 actively exploited?
No confirmed active exploitation of CVE-2021-44142 as of 2026-09-25.
How do I remediate CVE-2021-44142?
Priority: IMMEDIATE. Advisory: https://bugzilla.samba.org/show_bug.cgi?id=14914
What systems are affected by CVE-2021-44142?
CVE-2021-44142 affects Canonical Ubuntu Linux; Debian Debian Linux; Fedoraproject Fedora; Redhat Enterprise Linux Server, Enterprise Linux Workstation, Enterprise Linux Eus, Enterprise Linux For Ibm Z Systems, Enterprise Linux For Power Big Endian, Enterprise Linux Server Aus, Gluster Storage (plus 13 more products across 2 more vendors).
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.