{"id":"CVE-2021-35942","published":"2021-07-22T00:00:00Z","modified":"2026-10-14T11:48:50Z","title":"The wordexp function in the GNU C Library (aka glibc) through 2.33 may crash or read arbitrary memory in parse_param…","vendor":null,"product":null,"tier":"tail","description":{"text":"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 disclosure of information. This occurs because atoi was used but strtoul should have been used to ensure correct calculations.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.02753,"percentile":0.86573,"provenance":"source"},"cwes":[{"id":"CWE-704","name":"Incorrect Type Conversion or Cast"}],"references":[{"url":"https://sourceware.org/glibc/wiki/Security%20Exceptions","tags":[]},{"url":"https://sourceware.org/bugzilla/show_bug.cgi?id=28011","tags":[]},{"url":"https://sourceware.org/git/?p=glibc.git%3Ba=commit%3Bh=5adda61f62b77384718b4c0d8336ade8f2b4b35c","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20210827-0005/","tags":[]},{"url":"https://security.gentoo.org/glsa/202208-24","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html","tags":["mailing-list"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-831302.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[]}],"priority":{"score":23.7,"factors":[{"name":"EPSS percentile","points":17.31},{"name":"CVSS severity","points":6.37}]},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-02-13T20:00:35.745017Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-22577","exploited":false,"provenance":"source"}}