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.
Conclusion & alert: CVE-2021-3999 is rated High Exploit Risk (63.3/100): CVSS High severity, with low exploitation likelihood (EPSS 0.73%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.78% | 0.73% | -0.06% |
| 2 | 2026-02-26 | 1.02% | 0.78% | -0.24% |
| 3 | 2025-11-21 | — | 1.02% | — |
Full EPSS history (16 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.8 | 3.1 | HIGH |
|
1.8 | 5.9 | [email protected] |
| 7.8 | 3.1 | HIGH |
|
1.8 | 5.9 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2021-3999 not yet assigned priority: Debian including 1 source packages (glibc), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2021-3999 |
gentoo
|
normal | CVE-2021-3999: 1 GLSA(s) (202208-24), 1 atom(s) (sys-libs/glibc); latest impact normal. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2021-3999 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2021-3999 |
suse
|
high | CVE-2021-3999 severity important: SUSE including 813 source package names (0.21.0.1.8.1:glibc-2.26-13.65.1, 0.21.0.3.2.10:glibc-2.31-150300.9.12.1, …), 2437 product×package rows across 401 product lines (Container bci/bci-base-fips, Container bci/bci-busybox, … (401 product lines)): Fixed 2262, Known Affected 175. | https://www.suse.com/security/cve/CVE-2021-3999/ |
ubuntu
|
medium | CVE-2021-3999 medium priority: Ubuntu including 2 source packages (eglibc, glibc), 23 status rows across 12 suites (bionic, focal, hirsute, impish, jammy, kinetic, lunar, mantic, noble, trusty, upstream, xenial): DNE 10, not-affected 5, released 5, needs-triage 2, ignored 1. | https://ubuntu.com/security/CVE-2021-3999 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| gnu | glibc | < 2.31 | cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:* |
| debian | debian_linux | 10.0 | cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
| debian | debian_linux | 11.0 | cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
| netapp | e-series_performance_analyzer | — | cpe:2.3:a:netapp:e-series_performance_analyzer:-:*:*:*:*:*:*:* |
| netapp | nfs_plug-in | — | cpe:2.3:a:netapp:nfs_plug-in:*:*:*:*:*:vmware_vaai:*:* |
| netapp | ontap_select_deploy_administration_utility | — | cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:* |
| netapp | h300s_firmware | — | cpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:* |
| netapp | h500s_firmware | — | cpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:* |
| netapp | h700s_firmware | — | cpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:* |
| netapp | h410s_firmware | — | cpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:* |
| netapp | h410c_firmware | — | cpe:2.3:o:netapp:h410c_firmware:-:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://access.redhat.com/security/cve/CVE-2021-3999 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2024637 | Issue Tracking Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html | Mailing List Third Party Advisory |
| https://security-tracker.debian.org/tracker/CVE-2021-3999 | Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20221104-0001/ | Third Party Advisory |
| https://sourceware.org/bugzilla/show_bug.cgi?id=28769 | Issue Tracking Third Party Advisory |
| https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=23e0e8f5f1fb5ed150253d986ecccdc90c2dcd5e | |
| https://www.openwall.com/lists/oss-security/2022/01/24/4 | Exploit Mailing List Third Party Advisory |