Home / Gnu / Glibc / CVE-2021-35942
CVE-2021-35942: is it exploited, and which versions of Gnu Glibc are affected and fixed?
CVE-2021-35942 is an integer overflow vulnerability in Gnu Glibc. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: glibc before 2.31, active iq unified manager all versions, e-series santricity os controller from 11.0 through 11.70.1 and 4 more (NVD). Fixed in 2.31 (NVD). Severity: Critical (9.1, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:56 UTC.
What is CVE-2021-35942?
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.
From the CVE record by mitre, last updated October 14, 2026, 11:48 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| gnu | glibc | before 2.31 | application |
| netapp | active iq unified manager | all versions | application |
| netapp | e-series santricity os controller | from 11.0 through 11.70.1 | application |
| netapp | hci management node | all versions | application |
| netapp | ontap select deploy administration utility | all versions | application |
| netapp | solidfire | all versions | application |
| debian | debian linux | 10.0 | operating system |
NVD analysis (status Modified), last modified October 14, 2026, 12:17 UTC.
How severe is CVE-2021-35942?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H | CISA-ADP |
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H | NVD |
| Medium 6.4 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-35942 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, February 13, 2026)
- EPSS
- 2.75% probability of exploitation activity in the next 30 days, percentile 86.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-190 Integer Overflow or Wraparound
Where are the vendor advisories and references?
- https://sourceware.org/glibc/wiki/Security%20Exceptions
- https://sourceware.org/bugzilla/show_bug.cgi?id=28011
- https://sourceware.org/git/?p=glibc.git%3Ba=commit%3Bh=5adda61f62b77384718b4c0d8336ade8f2b4b35c
- https://security.netapp.com/advisory/ntap-20210827-0005/
- GLSA-202208-24 vendor-advisory
- [debian-lts-announce] 20221017 [SECURITY] [DLA 3152-1] glibc security update mailing-list
- https://cert-portal.siemens.com/productcert/html/ssa-831302.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
When was it published, and where is the official record?
- Reserved
- June 29, 2021
- Published
- July 22, 2021, 00:00 UTC
- CVE record updated
- October 14, 2026, 11:48 UTC by mitre
- NVD
- Modified, last modified October 14, 2026, 12:17 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:56 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Glibc?
- Jun 25, 2023CVE-2015-20109 Gnu Glibc: buffer overflow
- Feb 3, 2023CVE-2023-25139 Gnu Glibc: out-of-bounds write (memory corruption)
- Aug 31, 2022CVE-2022-39046 Gnu Glibc: sensitive information written to log files
- Jan 14, 2022CVE-2022-23219 Gnu Glibc: buffer overflow
- Jan 14, 2022CVE-2022-23218 Gnu Glibc: buffer overflow
- Nov 4, 2021CVE-2021-43396 Gnu Glibc: n/a disputed
- Aug 12, 2021CVE-2021-38604 Gnu Glibc: NULL pointer dereference (crash)
- May 25, 2021CVE-2021-33574 Gnu Glibc: use after free
Questions about CVE-2021-35942
Is CVE-2021-35942 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 2.75% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Gnu Glibc are affected by CVE-2021-35942?
glibc before 2.31, active iq unified manager all versions, e-series santricity os controller from 11.0 through 11.70.1, hci management node all versions, ontap select deploy administration utility all versions, solidfire all versions and 1 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2021-35942?
2.31, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-35942?
Critical (9.1, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2021-35942?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.