Skip to content
NewA calmer, faster ZeroHour

[vim-security] Command Execution via Rmd Syntax Highlighting in Vim < 9.2.1178

oss-security ()1 · 1 read
Part of a story covered by 2 sourcesThree medium Vim flaws allow code or command execution without CVEsMerged summary & timeline
AI summary · grok-4.7Summaries by Vani AI

Vim before 9.2.1178 can run OS commands via R Markdown syntax highlighting; no CVE yet.

Christian Brabandt reported a medium-severity command-execution flaw in Vim versions before 9.2.1178. The R Markdown syntax script in runtime/syntax/rmd.vim collects language names of code chunks from the buffer and can lead to OS command execution. The issue is tracked as CWE-78 and CWE-20. A CVE has been requested but is not yet assigned, and the report does not describe exploitation in the wild.

Key facts
  • Affects Vim versions before 9.2.1178 through runtime/syntax/rmd.vim.
  • R Markdown syntax highlighting can lead to OS command execution.
  • Rated medium; mapped to CWE-78 and CWE-20.
  • A CVE was requested but has not yet been assigned.
Analyze this story with Vani AIImpact, who is affected and what defenders should do, in a new chat

From the original article

Posted by Christian Brabandt on Oct 12 Command Execution via Rmd Syntax Highlighting in Vim < 9. 2. 1178 =============================================================== Date: 12.

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.