{"api_version":"1","generated_at":"2026-11-26T14:35:18+00:00","cve":"CVE-2026-71409","urls":{"html":"https://cve.report/CVE-2026-71409","api":"https://cve.report/api/cve/CVE-2026-71409.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-71409","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-71409"},"summary":{"title":"Global Buffer Overflow in GNU screen","description":"GNU screen is vulnerable to a global buffer overflow in the SendCmdMessage() function within attacher.c. Due to the use of an unchecked sprintf() call when appending the STY environment variable to the global SocketPath buffer. The vulnerability occurs when GNU screen is executed in an environment where the HOME and STY environment variables contain attacker-controlled values that are sufficiently long. Successful exploitation may result in an application crash or potentially arbitrary code execution.\n\n\nThis issue was fixed in version 5.0.2.","state":"PUBLISHED","assigner":"CERT-PL","published_at":"2026-11-26 14:17:37","updated_at":"2026-11-26 14:17:37"},"problem_types":["CWE-120","CWE-120 CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')"],"metrics":[{"version":"4.0","source":"cvd@cert.pl","type":"Secondary","score":"4.6","severity":"MEDIUM","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:L/SI:L/SA:L/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","data":{"version":"4.0","vectorString":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:L/SI:L/SA:L/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","baseScore":4.6,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"ACTIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","subAvailabilityImpact":"LOW","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}},{"version":"4.0","source":"CNA","type":"CVSS","score":"4.6","severity":"MEDIUM","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:L/SI:L/SA:L","data":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"LOCAL","baseScore":4.6,"baseSeverity":"MEDIUM","exploitMaturity":"NOT_DEFINED","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"LOW","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","userInteraction":"ACTIVE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:L/SI:L/SA:L","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"}}],"references":[{"url":"https://savannah.gnu.org/git/?group=screen","name":"https://savannah.gnu.org/git/?group=screen","refsource":"cvd@cert.pl","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=15a1481ad85309835c466a49f99a55537a78d596","name":"https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=15a1481ad85309835c466a49f99a55537a78d596","refsource":"cvd@cert.pl","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://cert.pl/en/posts/2026/11/CVE-2026-71409","name":"https://cert.pl/en/posts/2026/11/CVE-2026-71409","refsource":"cvd@cert.pl","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=21aef43ea720b5c810b913830e3add075e517dbb","name":"https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=21aef43ea720b5c810b913830e3add075e517dbb","refsource":"cvd@cert.pl","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-71409","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71409","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"GNU","product":"Screen","version":"affected 5.0.2 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Michał Majchrowicz (AFINE Team)","lang":"en"},{"source":"CNA","value":"Marcin Wyczechowski (AFINE Team)","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Screen","programFiles":["attacher.c"],"repo":"https://cgit.git.savannah.gnu.org/cgit/screen.git/","vendor":"GNU","versions":[{"lessThan":"5.0.2","status":"affected","version":"0","versionType":"semver"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:gnu:screen:*:*:*:*:*:*:*:*","versionEndExcluding":"5.0.2","versionStartIncluding":"0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"OR"}],"credits":[{"lang":"en","type":"finder","value":"Michał Majchrowicz (AFINE Team)"},{"lang":"en","type":"finder","value":"Marcin Wyczechowski (AFINE Team)"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"GNU screen is vulnerable to a global buffer overflow in the SendCmdMessage() function within attacher.c. Due to the use of an unchecked sprintf() call when appending the STY environment variable to the global SocketPath buffer.&nbsp;<span>The vulnerability occurs when GNU screen is executed in an environment where the HOME and STY environment variables contain attacker-controlled values that are sufficiently long. Successful exploitation may result in an application crash or potentially arbitrary code execution.</span><div><div><br></div><div>This issue was fixed in version&nbsp;5.0.2.</div></div>"}],"value":"GNU screen is vulnerable to a global buffer overflow in the SendCmdMessage() function within attacher.c. Due to the use of an unchecked sprintf() call when appending the STY environment variable to the global SocketPath buffer. The vulnerability occurs when GNU screen is executed in an environment where the HOME and STY environment variables contain attacker-controlled values that are sufficiently long. Successful exploitation may result in an application crash or potentially arbitrary code execution.\n\n\nThis issue was fixed in version 5.0.2."}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"LOCAL","baseScore":4.6,"baseSeverity":"MEDIUM","exploitMaturity":"NOT_DEFINED","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"LOW","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","userInteraction":"ACTIVE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:L/SI:L/SA:L","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-120","description":"CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-26T13:22:22.849Z","orgId":"4bb8329e-dd38-46c1-aafb-9bf32bcb93c6","shortName":"CERT-PL"},"references":[{"tags":["third-party-advisory"],"url":"https://cert.pl/en/posts/2026/11/CVE-2026-71409"},{"tags":["product"],"url":"https://savannah.gnu.org/git/?group=screen"},{"tags":["patch"],"url":"https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=21aef43ea720b5c810b913830e3add075e517dbb"},{"tags":["patch"],"url":"https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=15a1481ad85309835c466a49f99a55537a78d596"}],"source":{"discovery":"EXTERNAL"},"tags":["x_open-source"],"title":"Global Buffer Overflow in GNU screen","x_generator":{"engine":"Vulnogram 1.0.3"}}},"cveMetadata":{"assignerOrgId":"4bb8329e-dd38-46c1-aafb-9bf32bcb93c6","assignerShortName":"CERT-PL","cveId":"CVE-2026-71409","datePublished":"2026-11-26T13:22:22.849Z","dateReserved":"2026-08-06T12:43:52.381Z","dateUpdated":"2026-11-26T13:22:22.849Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-26 14:17:37","lastModifiedDate":"2026-11-26 14:17:37","problem_types":["CWE-120","CWE-120 CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')"],"metrics":{"cvssMetricV40":[{"source":"cvd@cert.pl","type":"Secondary","cvssData":{"version":"4.0","vectorString":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:L/SI:L/SA:L/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","baseScore":4.6,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"ACTIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","subAvailabilityImpact":"LOW","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"71409","Ordinal":"1","Title":"Global Buffer Overflow in GNU screen","CVE":"CVE-2026-71409","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"71409","Ordinal":"1","NoteData":"GNU screen is vulnerable to a global buffer overflow in the SendCmdMessage() function within attacher.c. Due to the use of an unchecked sprintf() call when appending the STY environment variable to the global SocketPath buffer. The vulnerability occurs when GNU screen is executed in an environment where the HOME and STY environment variables contain attacker-controlled values that are sufficiently long. Successful exploitation may result in an application crash or potentially arbitrary code execution.\n\n\nThis issue was fixed in version 5.0.2.","Type":"Description","Title":"Global Buffer Overflow in GNU screen"}]}}}