CVE-2021-35942: debian debian_linux Integer Overflow or Wraparound
Vulnerability summary
CVE-2021-35942 is a critical (CVSS 9.1) Integer Overflow or Wraparound vulnerability in debian debian_linux. EPSS estimates a 2.75% chance of exploitation in the next 30 days, higher than 86.2% of scored vulnerabilities.
Severe, CVSS 9.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 3% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 12 · Related 10Timeline
- 22-07-2021PublishedVulnerability first disclosed.
- 14-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- OSV · DebianEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- NVDNIST9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS trend
Probability
2.75%
Chance of exploitation in the next 30 days
Percentile
86%
Versus all other CVEs
30-day change
Increase +0.15 pp
From 2.60% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-190Integer Overflow or WraparoundThe product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
- CWE-704Incorrect Type Conversion or CastThe product does not correctly convert an object, resource, or structure from one type to a different type.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Netapp5 products
Debian2 products
- glibc< 2.31-13
- debian_linuxEOL10.0
Ubuntu2 products
- eglibcAll versions (No fix recorded)
- glibc< 2.23-0ubuntu11.3+esm2 | < 2.27-3ubuntu1.5 | < 2.31-0ubuntu9.7
Gnu1 product
- glibc< 2.31
Mageia1 product
- glibc< 2.32-17.mga8
5 vendors · 11 products
References
17 links- sourceware.org/glibc/wiki/Security%20ExceptionsNot Applicable
- security.netapp.com/advisory/ntap-20210827-0005/Third Party Advisory