{"affected":[{"defaultStatus":"unaffected","product":"Screen","source":"CNA: CERT-PL","vendor":"GNU","versions":[{"lessThan":"5.0.2","status":"affected","version":"0","versionType":"semver"}]}],"cveId":"CVE-2026-71411","cwes":["CWE-367"],"description":"GNU Screen is vulnerable to a Time-of-Check/Time-of-Use (TOCTOU) race condition in the hardcopy file handler. Due to checking write permissions using the real user ID and subsequently opening the file using the effective user ID, a local unprivileged attacker can atomically replace the target path with a symbolic link pointing to an arbitrary system file. Successfully exploiting this race condition allows the attacker to write to arbitrary files with root privileges, leading to local privilege escalation\n\n\n\nThis issue was fixed in version 5.0.2.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":5.5,"severity":"medium","source":"CNA: CERT-PL","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H","version":"4.0"}],"modifiedAt":1795699346641,"publishedAt":1795699346641,"references":[{"source":"CNA: CERT-PL","tags":["third-party-advisory"],"url":"https://cert.pl/en/posts/2026/11/CVE-2026-71409"},{"source":"CNA: CERT-PL","tags":["product"],"url":"https://savannah.gnu.org/git/?group=screen"},{"source":"CNA: CERT-PL","tags":["patch"],"url":"https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=3dea5ff20c58ad497062d094b6a9b80a7535a7db"},{"source":"CNA: CERT-PL","tags":["patch"],"url":"https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=15a1481ad85309835c466a49f99a55537a78d596"}],"remediation":[{"kind":"fix","source":"CNA: CERT-PL","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=3dea5ff20c58ad497062d094b6a9b80a7535a7db"},{"kind":"fix","source":"CNA: CERT-PL","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=15a1481ad85309835c466a49f99a55537a78d596"}],"revision":"8d25ffc49a85f92cc1ea5d702b1ed55033a0e511d233823080a93a6f0107126a","sources":[{"modifiedAt":1795699346641,"name":"CNA: CERT-PL","retrievedAt":1795702275412,"url":"https://www.cve.org/CVERecord?id=CVE-2026-71411"}],"ssvc":null,"status":"published","title":"Time-of-check Time-of-use (TOCTOU) Race Condition leading to privilege escalation in GNU screen","updatedAt":1795702275412}