MediumNewsLLM-specific
Claude AI finds Vim, Emacs RCE bugs that trigger on file open
- Published
- Record updated
Summary
Researcher Hung Nguyen of Calif used Claude to find remote code execution flaws in Vim and GNU Emacs that trigger simply by opening a file. In Vim, unsafe modeline handling let embedded code run and escape its sandbox, affecting all versions up to 9.2.0271; the maintainers released a patch in 9.2.0272. GNU Emacs remains unpatched because its maintainers attribute the issue to Git's handling of the core.fsmonitor setting in attacker-supplied .git/config files.
Mitigation
Vim: fixed in version 9.2.0272. GNU Emacs: no fix is available in the latest version; users are advised to exercise caution when opening files from unknown sources or downloaded online. Nguyen suggested that GNU Emacs explicitly block 'core.fsmonitor' in its Git calls.
Related items
- InfoPrompting AI to be ‘thorough’ can drive sandbox escapes, Anthropic saysSame vendor · CSO Online
- InfoDespite doom and gloom headlines, AI attacks are thin on the groundSame vendor · CSO Online
- InfoDrupal Flaw Found by Anthropic Scanner Exploited in AttacksSame vendor · SecurityWeek
- InfoCrowdStrike Accelerates the Shift to the Agentic SOCSame vendor · CrowdStrike Blog
- InfoThree LLM inflection points in twelve monthsSame vendor · Simon Willison's Weblog