Bug 2487996 (CVE-2026-47167) - CVE-2026-47167 vim: Vim: Arbitrary code execution via crafted step-definition patterns
Summary: CVE-2026-47167 vim: Vim: Arbitrary code execution via crafted step-definition...
Keywords:
Status: NEW
Alias: CVE-2026-47167
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2490119 2498135 2498136
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-11 19:03 UTC by OSIDB Bzimport
Modified: 2026-08-31 13:26 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:38509 0 None None None 2026-07-13 06:50:11 UTC
Red Hat Product Errata RHSA-2026:38510 0 None None None 2026-07-13 07:26:40 UTC
Red Hat Product Errata RHSA-2026:38511 0 None None None 2026-07-13 10:56:05 UTC
Red Hat Product Errata RHSA-2026:54769 0 None None None 2026-08-18 12:25:32 UTC
Red Hat Product Errata RHSA-2026:55431 0 None None None 2026-08-17 02:29:48 UTC

Description OSIDB Bzimport 2026-06-11 19:03:09 UTC
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 3 errata-xmlrpc 2026-07-13 06:50:10 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:38509 https://access.redhat.com/errata/RHSA-2026:38509

Comment 4 errata-xmlrpc 2026-07-13 07:26:40 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:38510 https://access.redhat.com/errata/RHSA-2026:38510

Comment 5 errata-xmlrpc 2026-07-13 10:56:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:38511 https://access.redhat.com/errata/RHSA-2026:38511

Comment 6 errata-xmlrpc 2026-08-17 02:29:47 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:55431 https://access.redhat.com/errata/RHSA-2026:55431

Comment 7 errata-xmlrpc 2026-08-18 12:25:31 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.22

Via RHSA-2026:54769 https://access.redhat.com/errata/RHSA-2026:54769


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