{"id":"JLSEC-2026-2248","details":"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.","modified":"2026-12-02T21:45:06.484906051Z","published":"2026-12-02T21:30:37.148Z","upstream":["CVE-2021-3999"],"database_specific":{"license":"CC-BY-4.0","sources":[{"html_url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3999","database_specific":{"status":"Modified"},"affected":{"gnu:glibc":["\u003c 2.31"]},"id":"CVE-2021-3999","imported":"2026-12-02T20:36:47.144Z","modified":"2026-10-14T10:17:50.007Z","published":"2022-08-24T16:15:09.077Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2021-3999"}]},"references":[{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-3999"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-3999"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2024637"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2024637"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-831302.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html"},{"type":"WEB","url":"https://security-tracker.debian.org/tracker/CVE-2021-3999"},{"type":"WEB","url":"https://security-tracker.debian.org/tracker/CVE-2021-3999"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20221104-0001/"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20221104-0001/"},{"type":"WEB","url":"https://sourceware.org/bugzilla/show_bug.cgi?id=28769"},{"type":"WEB","url":"https://sourceware.org/bugzilla/show_bug.cgi?id=28769"},{"type":"WEB","url":"https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=23e0e8f5f1fb5ed150253d986ecccdc90c2dcd5e"},{"type":"WEB","url":"https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=23e0e8f5f1fb5ed150253d986ecccdc90c2dcd5e"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2022/01/24/4"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2022/01/24/4"}],"affected":[{"package":{"name":"GCCBootstrap_jll","ecosystem":"Julia","purl":"pkg:julia/GCCBootstrap_jll?uuid=7627cfbf-f290-59f7-b5e8-595c7b62b918"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-2248.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"NVD"}]}