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.
Linux distributions: vendors such as Red Hat, Debian, Ubuntu and SUSE often backport security fixes into older package versions. Check your distribution's own advisory rather than comparing upstream version numbers.
Built only from official records (NVD, the CVE List and CISA). No AI. Always confirm applicability for your exact version and platform in the vendor advisory. NVD record last modified 14 Oct 2026, 10:17 UTC · checked by StraitOfVuln 02 Dec 2026, 19:23 UTC.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · Attack vector: Local| https://access.redhat.com/security/cve/CVE-2021-3999 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2024637 | Issue TrackingThird Party Advisory |
| https://cert-portal.siemens.com/productcert/html/ssa-398330.html | |
| https://cert-portal.siemens.com/productcert/html/ssa-831302.html | |
| https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html | Mailing ListThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20221104-0001/ | Third Party Advisory |
| https://security-tracker.debian.org/tracker/CVE-2021-3999 | Third Party Advisory |
| https://sourceware.org/bugzilla/show_bug.cgi?id=28769 | Issue Tracking |
A short explanation of who is affected, the impact and what to do, written only from this record's data.
AI isn't configured on this server (set AI_PROVIDER and an API key).
Add the affected products to your watchlist and get an e-mail when new CVEs list your versions.
+ Debian Debian Linux+ Gnu Glibc+ Netapp E-Series Performance Analyzer+ Netapp H300s Firmware| https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=23e0e8f5f1fb5ed150253d986ecccdc90c2dcd5e |
| https://www.openwall.com/lists/oss-security/2022/01/24/4 | ExploitMailing ListThird Party Advisory |