Bug 2498136

Summary: CVE-2026-47167 neovim: Vim: Arbitrary code execution via crafted step-definition patterns [epel-all]
Product: [Fedora] Fedora EPEL Reporter: Cedric Buissart <cbuissar>
Component: neovimAssignee: Michel Lind <michel>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: epel10CC: ali.alzwei.cy, aron, asn, bogado, igor.raits, julian.anderson6207, michel
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["f56a21bb-2c7c-4767-9313-36bca9682d1b"]}
Fixed In Version: neovim-0.12.5-1.fc46 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-08-25 14:13:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2487996    

Description Cedric Buissart 2026-07-08 16:22:39 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 Fedora Update System 2026-08-25 14:01:59 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 2 Fedora Update System 2026-08-25 14:13:47 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.