Vulnerabilities

Vulnerability · CVE-2021-3999

A flaw was found in glibc.

Published Aug 24, 2022 · catalog updated Oct 14, 2026 · A flaw was found

Check if you run it

No confirmed exploitation is on record for CVE-2021-3999. EPSS is 0.80%. Act only if a listed version of A flaw was found is installed.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (A flaw was found).
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
High7.8
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
0.80%
Remediation
Advisory link
Affected products
cpe debian/debian linux · cpe gnu/glibc · cpe netapp/e-series performance analyzer · cpe netapp/h300s firmware · cpe netapp/h410c firmware · cpe netapp/h410s firmware

A flaw was found in glibc. An off-by-one buffer overflow and underflow in getcwd() may lead to memory corruption when the size of the buffer is exactly 1. A local attacker who can control the input buffer and size passed to getcwd() in a setuid program could use this flaw to potentially execute arbitrary code and escalate their privileges on the system.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • cpe debian/debian linux10.0
  • cpe debian/debian linux11.0
  • cpe gnu/glibcversion unspecified
  • cpe netapp/e-series performance analyzerversion unspecified
  • cpe netapp/h300s firmwareversion unspecified
  • cpe netapp/h410c firmwareversion unspecified
  • cpe netapp/h410s firmwareversion unspecified
  • cpe netapp/h500s firmwareversion unspecified
  • cpe netapp/h700s firmwareversion unspecified
  • cpe netapp/nfs plug-inversion unspecified
  • cpe netapp/ontap select deploy administration utilityversion unspecified

How to fix CVE-2021-3999

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2021-3999. EPSS is 0.80%. Act only if a listed version of A flaw was found is installed.

Which versions are affected?

Compare what you have installed with debian/debian linux 10.0; debian/debian linux 11.0. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

CWE-193. EPSS 0.80%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Aug 24, 2022 · NIST NVD

    Detected

    A flaw was found in glibc. An off-by-one buffer overflow and underflow in getcwd() may lead to memory corruption when the size of the buffer is exactly 1. A local attacker who can control the input buffer and size passed to getcwd() in a setuid program could use this flaw to potentially execute arbitrary code and escalate their privileges on the system.

  2. Oct 14, 2026 · NIST NVD

    Updated

    A flaw was found in glibc. An off-by-one buffer overflow and underflow in getcwd() may lead to memory corruption when the size of the buffer is exactly 1. A local attacker who can control the input buffer and size passed to getcwd() in a setuid program could use this flaw to potentially execute arbitrary code and escalate their privileges on the system.

Sources

  • CVE.orgVulnerability recordCVE-2021-3999

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2021-3999

    30-day exploitation probability 0.8%

    first.org
  • NIST NVDVulnerability recordCVE-2021-3999

    A flaw was found in glibc. An off-by-one buffer overflow and underflow in getcwd() may lead to memory corruption when the size of the buffer is exactly 1. A local attacker who can control the input buffer and size passed to getcwd() in a setuid program could use this flaw to pote

    nvd.nist.gov

References

Freshness

Last verified in this catalog Oct 16, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.