{"id":"CVE-2026-39881","state":"PUBLISHED","title":"Vim Ex command injection in Vims NetBeans integration","description":"Vim is an open source, command line text editor. Prior to 9.2.0316, a command injection vulnerability in Vim's netbeans interface allows a malicious netbeans server to execute arbitrary Ex commands when Vim connects to it, via unsanitized strings in the defineAnnoType and specialKeys protocol messages. This vulnerability is fixed in 9.2.0316.","publishedAt":"2026-04-08T20:18:19.774Z","updatedAt":"2026-04-09T13:50:24.001Z","severity":{"score":5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["vim vim"],"affected":[{"vendor":"vim","product":"vim","versions":[{"version":"< 9.2.0316","status":"affected"}]}],"references":["https://github.com/vim/vim/security/advisories/GHSA-mr87-rhgv-7pw6","https://github.com/vim/vim/commit/7ab76a86048ed492374ac6b19","https://github.com/vim/vim/releases/tag/v9.2.0316"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T20:11:50.837Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/39xxx/CVE-2026-39881.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-39881","state":"PUBLISHED","datePublished":"2026-04-08T20:18:19.774Z","dateUpdated":"2026-04-09T13:50:24.001Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-07T20:32:03.010Z"},"containers":{"cna":{"title":"Vim Ex command injection in Vims NetBeans integration","descriptions":[{"lang":"en","value":"Vim is an open source, command line text editor. Prior to 9.2.0316, a command injection vulnerability in Vim's netbeans interface allows a malicious netbeans server to execute arbitrary Ex commands when Vim connects to it, via unsanitized strings in the defineAnnoType and specialKeys protocol messages. This vulnerability is fixed in 9.2.0316."}],"affected":[{"vendor":"vim","product":"vim","versions":[{"version":"< 9.2.0316","status":"affected"}]}],"references":[{"url":"https://github.com/vim/vim/security/advisories/GHSA-mr87-rhgv-7pw6","name":"https://github.com/vim/vim/security/advisories/GHSA-mr87-rhgv-7pw6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vim/vim/commit/7ab76a86048ed492374ac6b19","name":"https://github.com/vim/vim/commit/7ab76a86048ed492374ac6b19","tags":["x_refsource_MISC"]},{"url":"https://github.com/vim/vim/releases/tag/v9.2.0316","name":"https://github.com/vim/vim/releases/tag/v9.2.0316","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":5,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","lang":"en","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-04-08T20:18:19.774Z"},"source":{"advisory":"GHSA-mr87-rhgv-7pw6","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-09T13:50:15.915453Z","id":"CVE-2026-39881","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-09T13:50:24.001Z"}}]}}}