CVEMETERBack to radar
OFFICIAL RECORD · C/C++

CVE-2021-35942

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 9.1 · critical

C/C++ · CVE-2021-35942

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.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 2.753% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 9.1 · published by [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Assessment source · checked 2026-11-19T12:41:17.645Z

CVSS 3.1 · 9.1 · published by 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Assessment source · checked 2026-11-19T12:41:17.645Z

CVSS 3.1 · 9.1 · published by Ubuntu Security
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Assessment source · checked 2026-11-19T16:53:06.627Z

CVSS 2.0 · 6.4 · published by [email protected]
AV:N/AC:L/Au:N/C:P/I:N/A:P
Assessment source · checked 2026-11-19T12:41:17.645Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:59:58.648ZCISA KEV
cvssverified2026-11-19T12:41:17.645ZNVD
epssverified2026-11-19T16:04:31.142ZFIRST EPSS
patchesverified2026-11-19T16:53:06.627ZUbuntu Security
affectedverified2026-11-19T12:56:01.831ZCVE Program
lifecycleverified2026-11-19T12:56:01.831ZCVE Program

Affected versions and configuration

n/a n/a; default status: unknown: n/a [affected; scheme: unspecified]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

Ubuntu Security · ubuntu-package · full conditions
[
  {
    "name": "glibc",
    "debian": "https://tracker.debian.org/pkg/glibc",
    "source": "https://ubuntu.com/security/cve?package=glibc",
    "ubuntu": "https://packages.ubuntu.com/search?suite=all&section=all&arch=any&searchon=sourcenames&keywords=glibc",
    "statuses": [
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "2.34-0ubuntu1",
        "release_codename": "stonking"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "2.34-0ubuntu1",
        "release_codename": "impish"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "2.34-0ubuntu1",
        "release_codename": "lunar"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "2.34",
        "release_codename": "upstream"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "trusty"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "2.27-3ubuntu1.5",
        "release_codename": "bionic"
      },
      {
        "pocket": "security",
        "status": "ignored",
        "component": null,
        "description": "end of life",
        "release_codename": "groovy"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "2.31-0ubuntu9.7",
        "release_codename": "focal"
      },
      {
        "pocket": "security",
        "status": "ignored",
        "component": null,
        "description": "end of life",
        "release_codename": "hirsute"
      },
      {
        "pocket": "esm-infra",
        "status": "released",
        "component": null,
        "description": "2.23-0ubuntu11.3+esm2",
        "release_codename": "xenial"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "2.34-0ubuntu1",
        "release_codename": "jammy"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "2.34-0ubuntu1",
        "release_codename": "kinetic"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "2.34-0ubuntu1",
        "release_codename": "mantic"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "2.34-0ubuntu1",
        "release_codename": "noble"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "2.34-0ubuntu1",
        "release_codename": "oracular"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "2.34-0ubuntu1",
        "release_codename": "plucky"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "2.34-0ubuntu1",
        "release_codename": "resolute"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "2.34-0ubuntu1",
        "release_codename": "questing"
      }
    ]
  }
]
Archived source JSON
CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "n/a",
      "product": "n/a",
      "versions": [
        {
          "status": "affected",
          "version": "n/a"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CVE Program Container",
      "references": [
        {
          "url": "https://sourceware.org/glibc/wiki/Security%20Exceptions",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://sourceware.org/bugzilla/show_bug.cgi?id=28011",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://sourceware.org/git/?p=glibc.git%3Ba=commit%3Bh=5adda61f62b77384718b4c0d8336ade8f2b4b35c",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://security.netapp.com/advisory/ntap-20210827-0005/",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://security.gentoo.org/glsa/202208-24",
          "name": "GLSA-202208-24",
          "tags": [
            "vendor-advisory",
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html",
          "name": "[debian-lts-announce] 20221017 [SECURITY] [DLA 3152-1] glibc security update",
          "tags": [
            "mailing-list",
            "x_transferred"
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "af854a3a-2127-422b-91ae-364da2661108",
        "shortName": "CVE",
        "dateUpdated": "2024-08-04T00:40:47.554Z"
      }
    },
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "cvssV3_1": {
            "scope": "UNCHANGED",
            "version": "3.1",
            "baseScore": 9.1,
            "attackVector": "NETWORK",
            "baseSeverity": "CRITICAL",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H",
            "integrityImpact": "NONE",
            "userInteraction": "NONE",
            "attackComplexity": "LOW",
            "availabilityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "confidentialityImpact": "HIGH"
          }
        },
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2021-35942",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-02-13T20:00:35.745017Z"
            }
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "type": "CWE",
              "cweId": "CWE-704",
              "description": "CWE-704 Incorrect Type Conversion or Cast"
            }
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-02-13T20:00:38.638Z"
      }
    },
    {
      "affected": [
        {
          "vendor": "Siemens",
          "product": "SIMATIC S7-1500 CPU 1518-4 PN/DP MFP",
          "versions": [
            {
              "status": "affected",
              "version": "V3.1.0",
              "lessThan": "V3.1.5",
              "versionType": "custom"
            }
          ],
          "defaultStatus": "unknown"
        },
        {
          "vendor": "Siemens",
          "product": "SIMATIC S7-1500 CPU 1518-4 PN/DP MFP",
          "versions": [
            {
              "status": "affected",
              "version": "V3.1.0",
              "lessThan": "V3.1.5",
              "versionType": "custom"
            }
          ],
          "defaultStatus": "unknown"
        },
        {
          "vendor": "Siemens",
          "product": "SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP",
          "versions": [
            {
              "status": "affected",
              "version": "V3.1.0",
              "lessThan": "V3.1.5",
              "versionType": "custom"
            }
          ],
          "defaultStatus": "unknown"
        },
        {
          "vendor": "Siemens",
          "product": "SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP",
          "versions": [
            {
              "status": "affected",
              "version": "V3.1.0",
              "lessThan": "V3.1.5",
              "versionType": "custom"
            }
          ],
          "defaultStatus": "unknown"
        },
        {
          "vendor": "Siemens",
          "product": "SIPLUS S7-1500 CPU 1518-4 PN/DP MFP",
          "versions": [
            {
              "status": "affected",
              "version": "V3.1.0",
              "lessThan": "V3.1.5",
              "versionType": "custom"
            }
          ],
          "defaultStatus": "unknown"
        }
      ],
      "x_adpType": "supplier",
      "references": [
        {
          "url": "https://cert-portal.siemens.com/productcert/html/ssa-831302.html"
        },
        {
          "url": "https://cert-portal.siemens.com/productcert/html/ssa-398330.html"
        }
      ],
      "providerMetadata": {
        "orgId": "0b142b55-0307-4c5a-b3c9-f314f3fb7c5e",
        "shortName": "siemens-SADP",
        "dateUpdated": "2026-10-14T11:48:50.934Z"
      }
    }
  ]
}
Archived source JSON
NVD · nvd-cpe · full conditions
[
  {
    "nodes": [
      {
        "negate": false,
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "580654C1-5047-40F4-9518-2AACF59AC357",
            "versionEndExcluding": "2.31"
          }
        ],
        "operator": "OR"
      }
    ]
  },
  {
    "nodes": [
      {
        "negate": false,
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:*",
            "vulnerable": true,
            "matchCriteriaId": "3A756737-1CC4-42C2-A4DF-E1C893B4E2D5"
          },
          {
            "criteria": "cpe:2.3:a:netapp:e-series_santricity_os_controller:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "73F81EC3-4AB0-4CD7-B845-267C5974DE98",
            "versionEndIncluding": "11.70.1",
            "versionStartIncluding": "11.0"
          },
          {
            "criteria": "cpe:2.3:a:netapp:hci_management_node:-:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "A3C19813-E823-456A-B1CE-EC0684CE1953"
          },
          {
            "criteria": "cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "E7CF3019-975D-40BB-A8A4-894E62BD3797"
          },
          {
            "criteria": "cpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "A6E9EF0C-AFA8-4F7B-9FDC-1E0F7C26E737"
          }
        ],
        "operator": "OR"
      }
    ]
  },
  {
    "nodes": [
      {
        "negate": false,
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "07B237A9-69A3-4A9C-9DA0-4E06BD37AE73"
          }
        ],
        "operator": "OR"
      }
    ]
  }
]
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
upstream-releaseupstream / upstreamglibcNot a distribution channel2.34Official record
distribution-packageUbuntu / bionicglibcsecurity2.27-3ubuntu1.5Official record
distribution-packageUbuntu / focalglibcsecurity2.31-0ubuntu9.7Official record
distribution-packageUbuntu / xenialglibcesm-infra2.23-0ubuntu11.3+esm2Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history