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

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.8$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.9
VulDB 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: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 247768
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2021-35942

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: sourceware.org

Timelineinfo

06/29/2021 🔍
07/23/2021 +24 days 🔍
07/23/2021 +0 days 🔍
02/13/2026 +1666 days 🔍

Sourcesinfo

Vendor: gnu.org

Advisory: sourceware.org
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2021-35942 (🔍)
GCVE (CVE): GCVE-0-2021-35942
GCVE (VulDB): GCVE-100-179453

Entryinfo

Created: 07/23/2021 07:41
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!