Unrated severityNVD Advisory· Published Jul 22, 2021· Updated Feb 13, 2026
CVE-2021-35942
CVE-2021-35942
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.
Affected products
39- GNU C Library/glibcdescription
- osv-coords38 versionspkg:rpm/almalinux/compat-libpthread-nonsharedpkg:rpm/almalinux/glibc-benchtestspkg:rpm/almalinux/glibc-nss-develpkg:rpm/almalinux/glibc-staticpkg:rpm/almalinux/glibc-utilspkg:rpm/almalinux/nss_hesiodpkg:rpm/opensuse/glibc&distro=openSUSE%20Leap%2015.2pkg:rpm/opensuse/glibc&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/glibc&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/glibc-testsuite-src&distro=openSUSE%20Leap%2015.2pkg:rpm/suse/glibc&distro=HPE%20Helion%20OpenStack%208pkg:rpm/suse/glibc&distro=SUSE%20Enterprise%20Storage%206pkg:rpm/suse/glibc&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOSpkg:rpm/suse/glibc&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSSpkg:rpm/suse/glibc&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOSpkg:rpm/suse/glibc&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSSpkg:rpm/suse/glibc&distro=SUSE%20Linux%20Enterprise%20Micro%205.0pkg:rpm/suse/glibc&distro=SUSE%20Linux%20Enterprise%20Micro%205.1pkg:rpm/suse/glibc&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP2pkg:rpm/suse/glibc&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP3pkg:rpm/suse/glibc&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP2pkg:rpm/suse/glibc&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP3pkg:rpm/suse/glibc&distro=SUSE%20Linux%20Enterprise%20Point%20of%20Sale%2011%20SP3pkg:rpm/suse/glibc&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4-LTSSpkg:rpm/suse/glibc&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCLpkg:rpm/suse/glibc&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCLpkg:rpm/suse/glibc&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-LTSSpkg:rpm/suse/glibc&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/glibc&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCLpkg:rpm/suse/glibc&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSSpkg:rpm/suse/glibc&distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSSpkg:rpm/suse/glibc&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/glibc&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/glibc&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015pkg:rpm/suse/glibc&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1pkg:rpm/suse/glibc&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5pkg:rpm/suse/glibc&distro=SUSE%20OpenStack%20Cloud%208pkg:rpm/suse/glibc&distro=SUSE%20OpenStack%20Cloud%20Crowbar%208
< 2.28-164.el8+ 37 more
- (no CPE)range: < 2.28-164.el8
- (no CPE)range: < 2.28-164.el8
- (no CPE)range: < 2.28-164.el8
- (no CPE)range: < 2.28-164.el8
- (no CPE)range: < 2.28-164.el8
- (no CPE)range: < 2.28-164.el8
- (no CPE)range: < 2.26-lp152.26.9.1
- (no CPE)range: < 2.31-9.3.2
- (no CPE)range: < 2.38-6.1
- (no CPE)range: < 2.26-lp152.26.9.1
- (no CPE)range: < 2.22-116.1
- (no CPE)range: < 2.26-13.59.1
- (no CPE)range: < 2.26-13.59.1
- (no CPE)range: < 2.26-13.59.1
- (no CPE)range: < 2.26-13.59.1
- (no CPE)range: < 2.26-13.59.1
- (no CPE)range: < 2.26-13.59.1
- (no CPE)range: < 2.31-9.3.2
- (no CPE)range: < 2.26-13.59.1
- (no CPE)range: < 2.31-9.3.2
- (no CPE)range: < 2.26-13.59.1
- (no CPE)range: < 2.31-9.3.2
- (no CPE)range: < 2.11.3-17.110.37.1
- (no CPE)range: < 2.11.3-17.110.37.1
- (no CPE)range: < 2.22-116.1
- (no CPE)range: < 2.22-116.1
- (no CPE)range: < 2.22-116.1
- (no CPE)range: < 2.22-114.12.1
- (no CPE)range: < 2.26-13.59.1
- (no CPE)range: < 2.26-13.59.1
- (no CPE)range: < 2.26-13.59.1
- (no CPE)range: < 2.22-116.1
- (no CPE)range: < 2.22-114.12.1
- (no CPE)range: < 2.26-13.59.1
- (no CPE)range: < 2.26-13.59.1
- (no CPE)range: < 2.22-114.12.1
- (no CPE)range: < 2.22-116.1
- (no CPE)range: < 2.22-116.1
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- security.gentoo.org/glsa/202208-24mitrevendor-advisory
- lists.debian.org/debian-lts-announce/2022/10/msg00021.htmlmitremailing-list
- security.netapp.com/advisory/ntap-20210827-0005/mitre
- sourceware.org/bugzilla/show_bug.cgimitre
- sourceware.org/git/mitre
News mentions
0No linked articles in our index yet.