Bug 2437843 (CVE-2026-25749)

Summary: CVE-2026-25749 vim: Vim: Arbitrary code execution via 'helpfile' option processing
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: cchiang, dwojewod, kshier, kyoshida, mtrujill, naresh.sukhija, snavale, stcannon, teagle, timothy.a.meader, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in Vim, an open source, command line text editor. This heap buffer overflow vulnerability exists in the tag file resolution logic when processing the 'helpfile' option. A local user could exploit this by providing a specially crafted 'helpfile' option value, leading to a heap buffer overflow. This could result in arbitrary code execution or a denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 2438247    
Bug Blocks:    

Description OSIDB Bzimport 2026-02-09 11:09:21 UTC
Vim is an open source, command line text editor. Prior to version 9.1.2132, a heap buffer overflow vulnerability exists in Vim's tag file resolution logic when processing the 'helpfile' option. The vulnerability is located in the get_tagfname() function in src/tag.c. When processing help file tags, Vim copies the user-controlled 'helpfile' option value into a fixed-size heap buffer of MAXPATHL + 1 bytes (typically 4097 bytes) using an unsafe STRCPY() operation without any bounds checking. This issue has been patched in version 9.1.2132.

Comment 2 naresh.sukhija 2026-02-20 12:32:16 UTC
Hi,

Is someone looking into this Security Vulnerability ?

Regards,
Naresh

Comment 4 errata-xmlrpc 2026-03-12 09:13:51 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 5 naresh.sukhija 2026-03-13 04:52:53 UTC
This bug (vi) does not seem to be related to RHBA-2026:4476 (amq7/amq-broker-rhel8-operator)

Comment 6 errata-xmlrpc 2026-03-17 10:33:26 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

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

Comment 7 naresh.sukhija 2026-03-17 11:29:17 UTC
Please suggest about the fix for RHEL9

Comment 8 errata-xmlrpc 2026-03-24 10:29:47 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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

Comment 9 errata-xmlrpc 2026-04-02 16:45:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

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

Comment 10 errata-xmlrpc 2026-04-02 21:47:53 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Extended Update Support

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

Comment 11 errata-xmlrpc 2026-04-02 22:08:11 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.6 Extended Update Support

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

Comment 12 errata-xmlrpc 2026-04-06 03:22:43 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions

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

Comment 13 errata-xmlrpc 2026-04-06 03:29:37 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Extended Lifecycle Support

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

Comment 14 errata-xmlrpc 2026-04-06 03:31:15 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

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

Comment 15 errata-xmlrpc 2026-04-07 06:17:41 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Advanced Update Support

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

Comment 16 errata-xmlrpc 2026-04-07 06:21:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On

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

Comment 17 errata-xmlrpc 2026-04-07 06:36:51 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.6 Telecommunications Update Service

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

Comment 18 errata-xmlrpc 2026-04-07 06:57:58 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.8 Telecommunications Update Service

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

Comment 19 errata-xmlrpc 2026-04-16 10:24:18 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.13

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

Comment 20 errata-xmlrpc 2026-04-16 10:56:19 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.19

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

Comment 21 errata-xmlrpc 2026-04-22 08:27:41 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.18

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

Comment 26 errata-xmlrpc 2026-04-30 12:10:45 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.16

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

Comment 27 errata-xmlrpc 2026-05-08 20:56:56 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.12

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

Comment 28 errata-xmlrpc 2026-05-13 13:54:51 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.14

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

Comment 29 errata-xmlrpc 2026-05-13 14:16:18 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.15

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

Comment 30 errata-xmlrpc 2026-05-20 13:27:21 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.17

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