GNU C Library up to 2.33 posix/wordexp.c parse_param memory corruption

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.8 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as critical, has been found in GNU C Library up to 2.33. Affected is the function parse_param of the file posix/wordexp.c. The manipulation leads to memory corruption.
This vulnerability is listed as CVE-2021-35942. There is no available exploit.
Applying a patch is the recommended action to fix this issue.
Details
A vulnerability, which was classified as critical, has been found in GNU C Library up to 2.33 (Software Library). This issue affects the function parse_param of the file posix/wordexp.c. The manipulation with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. Impacted is confidentiality, integrity, and availability.
The weakness was presented 07/23/2021. The advisory is shared at sourceware.org. The identification of this vulnerability is CVE-2021-35942. Technical details are known, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 247768 (Linux Distros Unpatched Vulnerability : CVE-2021-35942), which helps to determine the existence of the flaw in a target environment.
Applying a patch is able to eliminate this problem. The bugfix is ready for download at sourceware.org.
The vulnerability is also documented in the vulnerability database at Tenable (247768). If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Type
Vendor
Name
Version
- 2.0
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
- 2.6
- 2.7
- 2.8
- 2.9
- 2.10
- 2.11
- 2.12
- 2.13
- 2.14
- 2.15
- 2.16
- 2.17
- 2.18
- 2.19
- 2.20
- 2.21
- 2.22
- 2.23
- 2.24
- 2.25
- 2.26
- 2.27
- 2.28
- 2.29
- 2.30
- 2.31
- 2.32
- 2.33
License
Website
- Vendor: https://www.gnu.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.9VulDB Meta Temp Score: 7.8
VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.1
NVD Vector: 🔍
ADP CISA Base Score: 9.1
ADP CISA Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 247768
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2021-35942
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: sourceware.org
Timeline
06/29/2021 🔍07/23/2021 🔍
07/23/2021 🔍
02/13/2026 🔍
Sources
Vendor: gnu.orgAdvisory: sourceware.org
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2021-35942 (🔍)
GCVE (CVE): GCVE-0-2021-35942
GCVE (VulDB): GCVE-100-179453
Entry
Created: 07/23/2021 07:41Updated: 02/13/2026 23:05
Changes: 07/23/2021 07:41 (40), 07/27/2021 12:50 (3), 05/02/2025 00:23 (33), 08/12/2025 02:06 (2), 02/13/2026 23:05 (11)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.