CVE-2021-35942
CVE-2021-35942 Vulnerability Analysis & Exploit Intelligence
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.
Published Updated Sources: cvelistV5, mitre
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
3%
chance of exploitation in 30 days
CVSS base
9.1
CRITICAL
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (3)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.1 | CVSS 3.1 | CRITICAL | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-704
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /wordexp.c).
References
8 on the record
- sourceware.org/glibc/wiki/Security%20Exceptions
reference
- sourceware.org/bugzilla/show_bug.cgi?id=28011
reference
- sourceware.org/git/?p=glibc.git%3Ba=commit%3Bh=5adda61f62b77384718b4c0d8336ade8f2b4b35c
reference
- security.netapp.com/advisory/ntap-20210827-0005/
reference
- security.gentoo.org/glsa/202208-24
vendor-advisory
- lists.debian.org/debian-lts-announce/2022/10/msg00021.html
mailing-list
- cert-portal.siemens.com/productcert/html/ssa-831302.html
reference
- cert-portal.siemens.com/productcert/html/ssa-398330.html
reference
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-15826 User Profile Builder <= 3.16.4 - Unauthenticated Authentication Bypass via Type Confusion to Administrator Account Takeover via 'username' ParameterCVSS 9.8
- CVE-2026-10080 Boards plugin panics on WebSocket command with non-string field typesCVSS 6.5
- CVE-2026-18675 Kong Mesh: control plane denial of service via a malformed dataplane token with a non-string JWT kidCVSS 5.3
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.