{"schemaVersion":4,"id":"CVE-2026-71411","aliases":["DEBIAN-CVE-2026-71411","UBUNTU-CVE-2026-71411"],"status":"published","duplicateOf":null,"title":"Time-of-check Time-of-use (TOCTOU) Race Condition leading to privilege escalation in GNU screen","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.","dates":{"published":"2026-11-26T13:22:26.641Z","modified":"2026-12-01T17:05:56.725Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":5.5,"severity":"medium","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":5.5,"severity":"medium","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":5.5,"severity":"medium","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":5.5,"severity":"medium","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","exploitability":null,"impact":null,"computed":true}]},"epss":{"probability":0.00208,"percentile":0.11494,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-27T00:00:00.000Z","score":0.00208,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00208,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00208,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00208,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00208,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00208,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00208,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00208,"percentile":0.11494}],"last30":[{"date":"2026-11-27T00:00:00.000Z","score":0.00208,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00208,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00208,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00208,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00208,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00208,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00208,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00208,"percentile":0.11494}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition","description":"The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/367.html"}],"affected":[{"vendor":"debian","product":"screen","name":"screen","label":"screen","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/screen","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 5.0.2-1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"5.0.2-1","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 5.0.2-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"screen","name":"screen","label":"screen","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/screen","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"gnu","product":"screen","name":"Screen","label":"screen","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.0.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"5.0.2","endInclusive":false}}],"versionsText":"< 5.0.2","eol":null,"hubHref":"/vendor/gnu/screen"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://cert.pl/en/posts/2026/11/CVE-2026-71409","label":"cert.pl/en/posts/2026/11/CVE-2026-71409","hostname":"cert.pl","tags":["Third Party Advisory","REPORT"]},{"url":"https://savannah.gnu.org/git/?group=screen","label":"savannah.gnu.org/git/?group=screen","hostname":"savannah.gnu.org","tags":["Product"]},{"url":"https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=3dea5ff20c58ad497062d094b6a9b80a7535a7db","label":"cgit.git.savannah.gnu.org/cgit/…","hostname":"cgit.git.savannah.gnu.org","tags":["Patch"]},{"url":"https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=15a1481ad85309835c466a49f99a55537a78d596","label":"cgit.git.savannah.gnu.org/cgit/…","hostname":"cgit.git.savannah.gnu.org","tags":["Patch"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-71411","label":"security-tracker.debian.org/tracker/CVE-2026-71411","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-71411","label":"ubuntu.com/security/CVE-2026-71411","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-71411","label":"www.cve.org/CVERecord?id=CVE-2026-71411","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-26T13:22:26.641Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-01T17:05:56.725Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,55],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00208,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-01T17:05:56.725Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.5,"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","headline":true},{"type":"cvss","source":"nvd","date":"2026-12-01T17:05:56.725Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.5,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"type":"cvss","source":"osv_debian","date":"2026-12-01T17:05:56.725Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.5,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"type":"cvss","source":"osv_ubuntu","date":"2026-12-01T17:05:56.725Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.5,"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"},{"type":"adp","source":"cisa-adp","date":"2026-12-01T17:05:49.418Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00208,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T02:02:32.515Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T02:02:33.061Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T02:02:33.247Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T02:00:57.638Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T02:02:28.824Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T02:02:28.182Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T03:00:24.188Z","stale":false,"partial":false}}