{"id":"CVE-2026-73070","summary":"Vim: Stack Buffer Overflow in the Vim Socket Server","details":"Vim is an open source, command line text editor. Prior to 9.2.0842, the socket server backend in src/socketserver.c accepts unbounded client connections in socketserver_accept(), causing descriptors to overflow fd_set structures in src/channel.c and fixed-size struct pollfd arrays in src/os_unix.c, which allows a local process that can connect to the server socket to corrupt stack memory or terminate the Vim server. This issue is fixed in version 9.2.0842.","aliases":["GHSA-49m8-wwxj-mr69"],"modified":"2026-10-31T07:26:23.676209523Z","published":"2026-08-11T15:21:49.070Z","related":["SUSE-SU-2026:23190-1","SUSE-SU-2026:23365-1","SUSE-SU-2026:23391-1","SUSE-SU-2026:23393-1","SUSE-SU-2026:23552-1","SUSE-SU-2026:3677-1","SUSE-SU-2026:3679-1","SUSE-SU-2026:3680-1","openSUSE-SU-2026:21671-1"],"database_specific":{"cwe_ids":["CWE-121"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73070.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/vim/vim/releases/tag/v9.2.0842"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73070.json"},{"type":"ADVISORY","url":"https://github.com/vim/vim/security/advisories/GHSA-49m8-wwxj-mr69"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73070"},{"type":"FIX","url":"https://github.com/vim/vim/commit/5598618b2daf8e36b3bf0251caaefcf0bf8e85e4"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/vim/vim","events":[{"introduced":"e9c793bebcad2b585b3f5d25ca6108bcb48772fe"},{"fixed":"5598618b2daf8e36b3bf0251caaefcf0bf8e85e4"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"9.2.0842"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"5598618b2daf8e36b3bf0251caaefcf0bf8e85e4"}]},{"range":[{"fixed":"5598618b2daf8e36b3bf0251caaefcf0bf8e85e4"}],"source":"REFERENCES_TAG","original_tag":"v9.2.0842"},{"source":"CPE_RANGE","cpe":"cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*","range":[{"introduced":"9.2.0512"},{"fixed":"9.2.0842"}]}]}}],"versions":["v9.2.0841","v9.2.0840","v9.2.0839","v9.2.0838","v9.2.0837","v9.2.0836","v9.2.0835","v9.2.0834","v9.2.0833","v9.2.0832","v9.2.0831","v9.2.0830","v9.2.0829","v9.2.0828","v9.2.0827","v9.2.0826","v9.2.0825","v9.2.0824","v9.2.0823","v9.2.0822","v9.2.0821","v9.2.0820","v9.2.0819","v9.2.0818","v9.2.0817","v9.2.0816","v9.2.0815","v9.2.0814","v9.2.0813","v9.2.0812","v9.2.0811","v9.2.0810","v9.2.0809","v9.2.0808","v9.2.0807","v9.2.0806","v9.2.0805","v9.2.0804","v9.2.0803","v9.2.0802","v9.2.0801","v9.2.0800","v9.2.0799","v9.2.0798","v9.2.0797","v9.2.0796","v9.2.0795","v9.2.0794","v9.2.0793","v9.2.0792","v9.2.0791","v9.2.0790","v9.2.0789","v9.2.0788","v9.2.0787","v9.2.0786","v9.2.0785","v9.2.0784","v9.2.0783","v9.2.0782","v9.2.0781","v9.2.0780","v9.2.0779","v9.2.0778","v9.2.0777","v9.2.0776","v9.2.0775","v9.2.0774","v9.2.0773","v9.2.0772","v9.2.0771","v9.2.0770","v9.2.0769","v9.2.0768","v9.2.0767","v9.2.0766","v9.2.0765","v9.2.0764","v9.2.0763","v9.2.0762","v9.2.0761","v9.2.0760","v9.2.0759","v9.2.0758","v9.2.0757","v9.2.0756","v9.2.0755","v9.2.0754","v9.2.0753","v9.2.0752","v9.2.0751","v9.2.0750","v9.2.0749","v9.2.0748","v9.2.0747","v9.2.0746","v9.2.0745","v9.2.0744","v9.2.0743","v9.2.0742","v9.2.0741","v9.2.0740","v9.2.0739","v9.2.0738","v9.2.0737","v9.2.0736","v9.2.0735","v9.2.0734","v9.2.0733","v9.2.0732","v9.2.0731","v9.2.0730","v9.2.0729","v9.2.0728","v9.2.0727","v9.2.0726","v9.2.0725","v9.2.0724","v9.2.0723","v9.2.0722","v9.2.0721","v9.2.0720","v9.2.0719","v9.2.0718","v9.2.0717","v9.2.0716","v9.2.0715","v9.2.0714","v9.2.0713","v9.2.0712","v9.2.0711","v9.2.0710","v9.2.0709","v9.2.0708","v9.2.0707","v9.2.0706","v9.2.0705","v9.2.0704","v9.2.0703","v9.2.0702","v9.2.0701","v9.2.0700","v9.2.0699","v9.2.0698","v9.2.0697","v9.2.0696","v9.2.0695","v9.2.0694","v9.2.0693","v9.2.0692","v9.2.0691","v9.2.0690","v9.2.0689","v9.2.0688","v9.2.0687","v9.2.0686","v9.2.0685","v9.2.0684","v9.2.0683","v9.2.0682","v9.2.0681","v9.2.0680","v9.2.0679","v9.2.0678","v9.2.0677","v9.2.0676","v9.2.0675","v9.2.0674","v9.2.0673","v9.2.0672","v9.2.0671","v9.2.0670","v9.2.0669","v9.2.0668","v9.2.0667","v9.2.0666","v9.2.0665","v9.2.0664","v9.2.0663","v9.2.0662","v9.2.0661","v9.2.0660","v9.2.0659","v9.2.0658","v9.2.0657","v9.2.0656","v9.2.0655","v9.2.0654","v9.2.0653","v9.2.0652","v9.2.0651","v9.2.0650","v9.2.0649","v9.2.0648","v9.2.0647","v9.2.0646","v9.2.0645","v9.2.0644","v9.2.0643","v9.2.0642","v9.2.0641","v9.2.0640","v9.2.0639","v9.2.0638","v9.2.0637","v9.2.0636","v9.2.0635","v9.2.0634","v9.2.0633","v9.2.0632","v9.2.0631","v9.2.0630","v9.2.0629","v9.2.0628","v9.2.0627","v9.2.0626","v9.2.0625","v9.2.0624","v9.2.0623","v9.2.0622","v9.2.0621","v9.2.0620","v9.2.0619","v9.2.0618","v9.2.0617","v9.2.0616","v9.2.0615","v9.2.0614","v9.2.0613","v9.2.0612","v9.2.0611","v9.2.0610","v9.2.0609","v9.2.0608","v9.2.0607","v9.2.0606","v9.2.0605","v9.2.0604","v9.2.0603","v9.2.0602","v9.2.0601","v9.2.0600","v9.2.0599","v9.2.0598","v9.2.0597","v9.2.0596","v9.2.0595","v9.2.0594","v9.2.0593","v9.2.0592","v9.2.0591","v9.2.0590","v9.2.0589","v9.2.0588","v9.2.0587","v9.2.0586","v9.2.0585","v9.2.0584","v9.2.0583","v9.2.0582","v9.2.0581","v9.2.0580","v9.2.0579","v9.2.0578","v9.2.0577","v9.2.0576","v9.2.0575","v9.2.0574","v9.2.0573","v9.2.0572","v9.2.0571","v9.2.0570","v9.2.0569","v9.2.0568","v9.2.0567","v9.2.0566","v9.2.0565","v9.2.0564","v9.2.0563","v9.2.0562","v9.2.0561","v9.2.0560","v9.2.0559","v9.2.0558","v9.2.0557","v9.2.0556","v9.2.0555","v9.2.0554","v9.2.0553","v9.2.0552","v9.2.0551","v9.2.0550","v9.2.0549","v9.2.0548","v9.2.0547","v9.2.0546","v9.2.0545","v9.2.0544","v9.2.0543","v9.2.0542","v9.2.0541","v9.2.0540","v9.2.0539","v9.2.0538","v9.2.0537","v9.2.0536","v9.2.0535","v9.2.0534","v9.2.0533","v9.2.0532","v9.2.0531","v9.2.0530","v9.2.0529","v9.2.0528","v9.2.0527","v9.2.0526","v9.2.0525","v9.2.0524","v9.2.0523","v9.2.0522","v9.2.0521","v9.2.0520","v9.2.0519","v9.2.0518","v9.2.0517","v9.2.0516","v9.2.0515","v9.2.0514","v9.2.0513","v9.2.0512"],"database_specific":{"vanir_signatures":[{"signature_type":"Function","signature_version":"v1","source":"https://github.com/vim/vim/commit/5598618b2daf8e36b3bf0251caaefcf0bf8e85e4","target":{"function":"channel_select_setup","file":"src/channel.c"},"deprecated":false,"digest":{"length":691,"function_hash":"298471314337379111008744927566211848161"},"id":"CVE-2026-73070-712ac08c"},{"id":"CVE-2026-73070-739f9007","signature_type":"Line","signature_version":"v1","source":"https://github.com/vim/vim/commit/5598618b2daf8e36b3bf0251caaefcf0bf8e85e4","target":{"file":"src/version.c"},"deprecated":false,"digest":{"line_hashes":["146200493773228420153804765641940418619","3961971518578718233728620780318514","12075496184436988406115679710997711077","70549688629272946239732189753139687821"],"threshold":0.9}},{"deprecated":false,"digest":{"line_hashes":["113395843997339089065348720532964582057","30836306813356530863924976521982607673","130257974598269041032950666130465998718","289539226395635890959423121391916624757","316732130582561897940797092199841634442","167750100356845978178992142009711679318","16787181494239473446950974794793354930","241804144192415154587898166183510186191","157864529496072478028515156061212896742","318085661258325023406870813998590176637","172909982680885756288299361442835962026","193393074308424798020161736426841516883","32367047978463642655745112994591169895","337932618109275015479951034820502396454","136034649872336984316383310378536114390","176197714617887221674935959192255621739","152575063898567494252596953467174676881","249105800118801052324099083707862080436","255293008164373638190486573516303267483","88121136517177204011078496441957900173","58463821328732157872366678719915846230","162843499187415396788915565034854375575","328969171125219650952221648422364481204","170596573142666015256811475782148227932","179928478029308272777206839062199210463","83375297880088747214563798899898946449","273775834516127954448812785939816330465","123479936298385871090229486058226282994"],"threshold":0.9},"id":"CVE-2026-73070-810687cd","signature_type":"Line","signature_version":"v1","source":"https://github.com/vim/vim/commit/5598618b2daf8e36b3bf0251caaefcf0bf8e85e4","target":{"file":"src/socketserver.c"}},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/vim/vim/commit/5598618b2daf8e36b3bf0251caaefcf0bf8e85e4","target":{"file":"src/channel.c"},"deprecated":false,"digest":{"line_hashes":["96265917058158424372438729074492942336","19162746664467410404222839192543611845","261759564620673187480248573511028015987","271364783410798058832894972311972247379","188839756114221298725984240420910765312","270786608319513083802928976132205961530","130171176272324928847122615986073587317","136959533429523396701319998942298019403","333074141710635353878506192750459148821","213903345752185058963165358927891649095","339846783934875090299917415844998319470","284946812381421999757851160339890334604","111012152268989513712456366310444206306","58660371148098293621165523141377791405","102808757322153737777189005344881752609","206098164398764370545074245268946702761","24945339489717487861811949235929125946","174595403886599834351093930686902684243","237417351529563112753847347032466812648","119647816845588869290253639425553123914"],"threshold":0.9},"id":"CVE-2026-73070-8f985bd7"},{"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["240388057872009485837231272697425725723","37437026734698742007098931216599794663","140919458591433701499613979973136257128","267939697624468562750218369367980837491"]},"id":"CVE-2026-73070-993508e0","signature_type":"Line","signature_version":"v1","source":"https://github.com/vim/vim/commit/5598618b2daf8e36b3bf0251caaefcf0bf8e85e4","target":{"file":"src/os_unix.c"}},{"signature_version":"v1","source":"https://github.com/vim/vim/commit/5598618b2daf8e36b3bf0251caaefcf0bf8e85e4","target":{"function":"socketserver_wait","file":"src/socketserver.c"},"deprecated":false,"digest":{"length":2854,"function_hash":"272074741005067136764118318938099576481"},"id":"CVE-2026-73070-a2b83bf9","signature_type":"Function"},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/vim/vim/commit/5598618b2daf8e36b3bf0251caaefcf0bf8e85e4","target":{"function":"socketserver_accept","file":"src/socketserver.c"},"deprecated":false,"digest":{"function_hash":"290821407368758377616786241420585888380","length":467},"id":"CVE-2026-73070-b9fc4c72"},{"source":"https://github.com/vim/vim/commit/5598618b2daf8e36b3bf0251caaefcf0bf8e85e4","target":{"file":"src/socketserver.c","function":"socketserver_client_close"},"deprecated":false,"digest":{"length":361,"function_hash":"142080103634831376032195670508220082228"},"id":"CVE-2026-73070-c396114c","signature_type":"Function","signature_version":"v1"},{"source":"https://github.com/vim/vim/commit/5598618b2daf8e36b3bf0251caaefcf0bf8e85e4","target":{"file":"src/vim.h"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["262316417916715952702711805515970168430","46377863294966406024471558275829124264","301963902696651370078924416453090319376"]},"id":"CVE-2026-73070-c81a294f","signature_type":"Line","signature_version":"v1"},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/vim/vim/commit/5598618b2daf8e36b3bf0251caaefcf0bf8e85e4","target":{"function":"channel_fill_wfds","file":"src/channel.c"},"deprecated":false,"digest":{"length":354,"function_hash":"286072954443476783918415381079694216679"},"id":"CVE-2026-73070-e22a2d80"},{"id":"CVE-2026-73070-ee717d02","signature_type":"Function","signature_version":"v1","source":"https://github.com/vim/vim/commit/5598618b2daf8e36b3bf0251caaefcf0bf8e85e4","target":{"file":"src/channel.c","function":"channel_wait"},"deprecated":false,"digest":{"length":1618,"function_hash":"62307628746044103114300480455939461093"}},{"target":{"file":"src/channel.c","function":"channel_select_check"},"deprecated":false,"digest":{"function_hash":"308851859773248669577776233771603306264","length":991},"id":"CVE-2026-73070-ff3a626a","signature_type":"Function","signature_version":"v1","source":"https://github.com/vim/vim/commit/5598618b2daf8e36b3bf0251caaefcf0bf8e85e4"}],"vanir_signatures_modified":"2026-10-31T07:26:23Z","source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-73070.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}