Bug 2498135 - CVE-2026-47167 neovim: Vim: Arbitrary code execution via crafted step-definition patterns [fedora-all]
Summary: CVE-2026-47167 neovim: Vim: Arbitrary code execution via crafted step-definit...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: neovim
Version: 45
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Andreas Schneider
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["f56a21bb-2c7c-4767-9313-3...
Depends On:
Blocks: CVE-2026-47167
TreeView+ depends on / blocked
 
Reported: 2026-07-08 16:22 UTC by Cedric Buissart
Modified: 2026-08-25 14:13 UTC (History)
7 users (show)

Fixed In Version: neovim-0.12.5-1.fc46
Clone Of:
Environment:
Last Closed: 2026-08-25 14:13:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Cedric Buissart 2026-07-08 16:22:33 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Vim is an open source, command line text editor. Prior to version 9.2.0496, a code injection vulnerability exists in s:stepmatch() in the cucumber filetype plugin (runtime/ftplugin/cucumber.vim) on Vim builds with +ruby support. Step-definition patterns read from .rb files under the repository's features/*/ or stories/*/ directories are embedded into a Ruby Kernel.eval argument without sufficient escaping, allowing a crafted pattern in an attacker-controlled repository to execute arbitrary Ruby (and through it arbitrary shell commands) when the user invokes a step-jump mapping ([d, ]d). This issue has been patched in version 9.2.0496.

Comment 1 Aoife Moloney 2026-08-17 15:15:51 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.

Comment 2 Fedora Update System 2026-08-25 14:01:55 UTC
FEDORA-2026-bb39640a6c (neovim-0.12.5-1.fc46 and tree-sitter-0.26.13-1.fc46) has been submitted as an update to Fedora 46.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-bb39640a6c

Comment 3 Fedora Update System 2026-08-25 14:13:44 UTC
FEDORA-2026-bb39640a6c (neovim-0.12.5-1.fc46 and tree-sitter-0.26.13-1.fc46) has been pushed to the Fedora 46 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.