CVE-2021-44142
📛 CVE Title
Alpine Linux: CVE-2021-44142: Out-of-bounds Read
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.
Description (MITRE) cveawg.mitre.org
Pulled from cveawg.mitre.org/api/cve/CVE-2021-44142 on 2026-07-27. Shown when MITRE's text differs from the cvelistV5 mirror.
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.
Overview
- State
- —
- Assigner (CNA)
- —
- CVSS severity
- MEDIUM
- CVSS score
- 5.0 / 10
- CVSS vector
AV:N/AC:L/Au:S/C:C/I:C/A:C- Effective score
- 5.0 / 10 MEDIUM source: CNA overview
- MSRC score
- 8.8 / 10 HIGH MS rating: Important
- CWE(s)
-
CWE-125 - Reserved
- —
- Published
- 2022-02-21 00:00 UTC
- Last updated
- 2026-02-18 03:19 UTC
- Source
- https://www.rapid7.com/db/vulnerabilities/alpine-linux-cve-2021-44142/
NVD triage scoring NVD CVE 2.0
Layer NVD adds on top of the CNA's CVE record — published / last-modified timestamps, exploitability / impact subscores, and the FIRST.org EPSS probability that this CVE will be exploited in the wild in the next 30 days.
- NVD published
- 2022-02-21 15:15:07 UTC
- NVD last modified
- 2026-06-17 04:11:56 UTC
- NVD CVSS v3.1
- 8.8 / 10 HIGH source: nvd@nist.gov
- NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Exploitability subscore
- 2.8 / 10
- Impact subscore
- 5.9 / 10
- EPSS score
- 0.7372 (probability of exploitation in next 30 days)
- EPSS percentile
- 99.42% vs all CVEs — higher = more likely to be exploited, as of 2026-07-27
NVD-assigned CWE(s):
CWE-125,
CWE-787
(differs from the CNA list above)
NVD / KEV / EPSS data refreshed 2026-07-27 17:19 UTC. Re-run the 🛰 Backfill from NVD button above to refresh.
European Union Vulnerability Database ENISA EUVD
ENISA's official EU repository for curated vulnerability intelligence. Carries a separate identifier (EUVD-YYYY-NNNN) and frequently exposes an earlier-published description + CVSS than NVD does.
- EUVD ID
-
EUVD-2021-30995 - Assigner
- redhat
- Published
- Feb 21, 2022, 2:30:12 PM
- Updated
- Apr 23, 2025, 7:02:19 PM
- EUVD base score (CVSS 3.1)
-
8.8 / 10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - EUVD-reported EPSS
- 73.7200
- Vendors
- Samba
- Products
-
SambaSamba (unspecified <4.13.17)Samba (unspecified <4.15.5)Samba (unspecified <4.14.12)
- Aliases
-
GHSA-mpfw-9wp5-hfff
ENISA 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.
EUVD references (5)
- 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
- https://bugzilla.samba.org/show_bug.cgi?id=14914
- https://security.gentoo.org/glsa/202309-06
Microsoft Security Response Center MSRC
Microsoft's vendor-authoritative record from the Security Update Guide — its own CVSS score, impact, severity rating, exploit assessment, and KB-article fixes. Refreshed 2026-09-25 03:00 UTC (source: CVRF).
- MS severity
- Important
- MS CVSS base score
- 8.8 / 10 (temporal 8.8)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Release
- 2022-Feb
Microsoft remediations / KB articles (2)
- CBL-Mariner Releases — Vendor Fix / Security Update (fixed build 4.18.3-1)
- https://learn.microsoft.com/en-us/azure/azure-linux/tutorial-azure-linux-upgrade — None Available / CBL-Mariner Releases
Microsoft FAQ (1)
Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Affected products — CPE 2.3 (40) NVD
NVD's normalized CPE 2.3 matchers, used by vendor tools (vulnerability scanners, asset managers) for automated detection. Compare with the CNA's free-text "Affected products" section above.
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*cpe:2.3:o:canonical:ubuntu_linux:21.10:*:*:*:*:*:*:*cpe:2.3:a:synology:diskstation_manager:*:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*cpe:2.3:a:redhat:codeready_linux_builder:-:*:*:*:*:*:*:*cpe:2.3:a:redhat:gluster_storage:3.5:*:*:*:*:*:*:*cpe:2.3:a:redhat:virtualization_host:4.0:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_eus:8.2:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_eus:8.4:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:7.0:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:8.0:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus:8.2:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus:8.4:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_for_power_big_endian:7.0:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:7.0:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:8.0:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_eus:8.2:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_eus:8.4:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_for_scientific_computing:7.0:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_resilient_storage:7.0:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_server:8.1:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_server_aus:8.2:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_server_aus:8.4:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_server_tus:8.2:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_server_tus:8.4:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_server_update_services_for_sap_solutions:8.1:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_server_update_services_for_sap_solutions:8.2:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_server_update_services_for_sap_solutions:8.4:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
Vendor references (0)
References embedded in the original CVE record by the assigning CNA.
None in the CVE record.
MITRE references (5) cveawg.mitre.org
Pulled from MITRE's CVE Services API by the 🛰 Backfill from MITRE button.
- https://www.zerodayinitiative.com/blog/2022/2/1/cve-2021-44142-details-on-a-samba-code-execution-bug-demonstrated-at-pwn2own-austin
- https://bugzilla.samba.org/show_bug.cgi?id=14914
- https://kb.cert.org/vuls/id/119678 third-party-advisory
- GLSA-202309-06 vendor-advisory
- https://www.samba.org/samba/security/CVE-2021-44142.html
Web references (12)
DuckDuckGo results ranked by threat-intel / vendor advisory domains. Generated by the 🔎 Find references (web) button above — same flow as the Remediations search.
- None Available msrc
- MSRC update guide: CVE-2021-44142 msrc
- None Available msrc
- http://www.samba.org/samba/security/CVE-2021-44142.html rapid7:www.samba.org
- https://errata.rockylinux.org/RLSA-2022:0332 rapid7:errata.rockylinux.org
- https://errata.almalinux.org/8/ALSA-2022-0332.html rapid7:errata.almalinux.org
- https://www.cve.org/CVERecord?id=CVE-2021-44142 rapid7:www.cve.org
- https://security.alpinelinux.org/vuln/CVE-2021-44142 rapid7:security.alpinelinux.org
- http://cwe.mitre.org/data/definitions/787.html rapid7:cwe.mitre.org
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-30995 rapid7:euvd.enisa.europa.eu
- https://attackerkb.com/topics/CVE-2021-44142 rapid7:attackerkb.com
- http://cwe.mitre.org/data/definitions/125.html rapid7:cwe.mitre.org
NVD-tagged references (11)
Reference list NVD curates from the CNA record, vendor advisories, and third-party reports. The tag chips below are NVD's analyst-assigned categories.
- https://bugzilla.samba.org/show_bug.cgi?id=14914 secalert@redhat.com
- https://bugzilla.samba.org/show_bug.cgi?id=14914 af854a3a-2127-422b-91ae-364da2661108
- https://kb.cert.org/vuls/id/119678 secalert@redhat.com
- https://kb.cert.org/vuls/id/119678 af854a3a-2127-422b-91ae-364da2661108
- https://security.gentoo.org/glsa/202309-06 secalert@redhat.com
- https://security.gentoo.org/glsa/202309-06 af854a3a-2127-422b-91ae-364da2661108
- https://www.kb.cert.org/vuls/id/119678 af854a3a-2127-422b-91ae-364da2661108
- https://www.samba.org/samba/security/CVE-2021-44142.html secalert@redhat.com
- https://www.samba.org/samba/security/CVE-2021-44142.html af854a3a-2127-422b-91ae-364da2661108
- https://www.zerodayinitiative.com/blog/2022/2/1/cve-2021-44142-details-on-a-samba-code-execution-bug-demonstrated-at-pwn2own-austin secalert@redhat.com
- https://www.zerodayinitiative.com/blog/2022/2/1/cve-2021-44142-details-on-a-samba-code-execution-bug-demonstrated-at-pwn2own-austin af854a3a-2127-422b-91ae-364da2661108
Remediations (2)
-
rapid7
debian-upgrade-samba
2026-05-29 02:45 UTC -
rapid7
amazon-linux-upgrade-samba
2026-05-29 01:31 UTC
AI Forensic Analysis
Only Available for Registered Users. Sign in to view.