cvedb.io
CVE-2021-35942
CRITICAL · CVSS 9.1
EPSS exploitation probability: 0%
Published 2021-07-22T18:15:23.287 · Last modified 2026-06-17T03:57:58.390

Summary

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

gnu — glibc

Does this affect you?

Add your gear to cvedb and we'll alert you only when gnu ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.