{"id":"CVE-2021-35942","title":"The wordexp function in the GNU C Library (aka glibc) through 2.33 may crash or read arbitrary memory in parse_param (in posix/wordexp.c) when called with an untrusted, crafted pattern, potentially resulting in a denial of service or dis…","summary":"The wordexp function in the GNU C Library (aka glibc) through 2.33 may crash or read arbitrary memory in parse_param (in posix/wordexp.c) when called with an untrusted, crafted pattern, potentially resulting in a denial of service or dis…","severity":"critical","cvss":9.1,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","cwe":["CWE-190","CWE-704"],"vendor":"gnu","product":"glibc","affected":["glibc < 2.31","active_iq_unified_manager","e-series_santricity_os_controller >= 11.0, <= 11.70.1","hci_management_node","ontap_select_deploy_administration_utility","solidfire","debian_linux = 10.0"],"patched":["glibc 2.31"],"published":"2021-07-22","updated":"2026-10-14","sourceUpdated":"2026-10-14T12:17:13.210","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2021-35942","references":[{"url":"https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html","label":"cve@mitre.org"},{"url":"https://security.gentoo.org/glsa/202208-24","label":"cve@mitre.org"},{"url":"https://security.netapp.com/advisory/ntap-20210827-0005/","label":"cve@mitre.org"},{"url":"https://sourceware.org/bugzilla/show_bug.cgi?id=28011","label":"cve@mitre.org"},{"url":"https://sourceware.org/git/?p=glibc.git%3Ba=commit%3Bh=5adda61f62b77384718b4c0d8336ade8f2b4b35c","label":"cve@mitre.org"},{"url":"https://sourceware.org/glibc/wiki/Security%20Exceptions","label":"cve@mitre.org"},{"url":"https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.gentoo.org/glsa/202208-24","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.netapp.com/advisory/ntap-20210827-0005/","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://sourceware.org/bugzilla/show_bug.cgi?id=28011","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://sourceware.org/git/?p=glibc.git%3Ba=commit%3Bh=5adda61f62b77384718b4c0d8336ade8f2b4b35c","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://sourceware.org/glibc/wiki/Security%20Exceptions","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","label":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-831302.html","label":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"}],"tags":["nvd"],"epss":0.02605,"epssPercentile":0.84992,"ingestedAt":"2026-10-14T12:29:10.822Z","slug":"CVE-2021-35942","body":"## Overview\n\nThe wordexp function in the GNU C Library (aka glibc) through 2.33 may crash or read arbitrary memory in parse_param (in posix/wordexp.c) when called with an untrusted, crafted pattern, potentially resulting in a denial of service or disclosure of information. This occurs because atoi was used but strtoul should have been used to ensure correct calculations.\n\n## Affected\n\n- `glibc < 2.31`\n- `active_iq_unified_manager`\n- `e-series_santricity_os_controller >= 11.0, <= 11.70.1`\n- `hci_management_node`\n- `ontap_select_deploy_administration_utility`\n- `solidfire`\n- `debian_linux = 10.0`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `glibc 2.31`","depth":"midnight","depthScore":51,"depthScoreParts":{"impact":50.1,"likelihood":0.5,"exploitation":0,"ransomware":0},"changes":[]}