CVE-2021-35942

9.1 CRITICAL
Published: July 22, 2021 Modified: February 13, 2026
View on NVD

Description

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html
Source: cve@mitre.org
Mailing List Third Party Advisory
https://security.gentoo.org/glsa/202208-24
Source: cve@mitre.org
Third Party Advisory
https://security.netapp.com/advisory/ntap-20210827-0005/
Source: cve@mitre.org
Third Party Advisory
https://sourceware.org/bugzilla/show_bug.cgi?id=28011
Source: cve@mitre.org
Issue Tracking Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Third Party Advisory
https://security.gentoo.org/glsa/202208-24
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://security.netapp.com/advisory/ntap-20210827-0005/
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://sourceware.org/bugzilla/show_bug.cgi?id=28011
Source: af854a3a-2127-422b-91ae-364da2661108
Issue Tracking Third Party Advisory
https://sourceware.org/glibc/wiki/Security%20Exceptions
Source: af854a3a-2127-422b-91ae-364da2661108
Not Applicable

12 reference(s) from NVD

Quick Stats

CVSS v3 Score
9.1 / 10.0
EPSS (Exploit Probability)
1.1%
78th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

netapp gnu debian