{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2026-25749 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-25749 is a medium-severity memory corruption vulnerability in Vim Vim, published on 6 Feb 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-25749 and fix it if it is affected.\n\nWhat it is: CVE-2026-25749 is a medium-severity memory corruption vulnerability in Vim Vim, published on 6 Feb 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-25749 in the wild and no public exploit code.\n\nAffected product: Vim Vim. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-25749/ (Markdown: https://insights.sbomify.com/CVE-2026-25749/index.md)","id":"CVE-2026-25749","markdown":"https://insights.sbomify.com/CVE-2026-25749/index.md","name":"CVE-2026-25749","record":{"aliases":["ALPINE-CVE-2026-25749","ALSA-2026:4442","ALSA-2026:4715","ALSA-2026:5602","AZL-76764","AZL-77411","BELL-CVE-2026-25749","CLSA-2026-1774017921","CLSA-2026-1774607178","CLSA-2026-1774607944","CLSA-2026-1787083167","DEBIAN-CVE-2026-25749","ECHO-cd9f-8404-8ddc","GHSA-5w93-4g67-mm43","OESA-2026-1365","RHSA-2026:4442","RHSA-2026:4715","RHSA-2026:5602","RLSA-2026:4442","RLSA-2026:4715","RLSA-2026:5602"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Vim text editor","requires_auth":"low_privilege","summary":"A heap buffer overflow in Vim's tag file resolution allows attackers to execute arbitrary code or cause a crash via a crafted helpfile option.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"neovim","vendor":"neovim"},{"product":"vim","vendor":"vim"}],"cvss":{"score":6.6,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"description":"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.","ecosystems":["AlmaLinux:10","AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:10.1","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Rocky Linux:10","Rocky Linux:8","Rocky Linux:9"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Heap Overflow in Vim","id":"CVE-2026-25749","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"vim:vim","products":["vim:vim"],"type":"memory_corruption","year":"2026"},"n_packages":27,"n_references":3,"next":{"headline":"LangSmith Studio has URL Parameter Injection Vulnerability that Enables Token Theft via Malicious baseUrl","id":"CVE-2026-25750"},"packages":[{"ecosystem":"AlmaLinux:10","fixed":["2:9.1.083-6.el10_1.1"],"introduced":["0"],"last_affected":[],"package":"vim-data","purl":"pkg:rpm/almalinux/vim-data","source":"ALSA-2026:4715"},{"ecosystem":"AlmaLinux:10","fixed":["2:9.1.083-6.el10_1.1"],"introduced":["0"],"last_affected":[],"package":"vim-filesystem","purl":"pkg:rpm/almalinux/vim-filesystem","source":"ALSA-2026:4715"},{"ecosystem":"AlmaLinux:8","fixed":["2:8.0.1763-22.el8_10"],"introduced":["0"],"last_affected":[],"package":"vim-X11","purl":"pkg:rpm/almalinux/vim-X11","source":"ALSA-2026:4442"},{"ecosystem":"AlmaLinux:8","fixed":["2:8.0.1763-22.el8_10"],"introduced":["0"],"last_affected":[],"package":"vim-common","purl":"pkg:rpm/almalinux/vim-common","source":"ALSA-2026:4442"},{"ecosystem":"AlmaLinux:8","fixed":["2:8.0.1763-22.el8_10"],"introduced":["0"],"last_affected":[],"package":"vim-enhanced","purl":"pkg:rpm/almalinux/vim-enhanced","source":"ALSA-2026:4442"},{"ecosystem":"AlmaLinux:8","fixed":["2:8.0.1763-22.el8_10"],"introduced":["0"],"last_affected":[],"package":"vim-filesystem","purl":"pkg:rpm/almalinux/vim-filesystem","source":"ALSA-2026:4442"},{"ecosystem":"AlmaLinux:8","fixed":["2:8.0.1763-22.el8_10"],"introduced":["0"],"last_affected":[],"package":"vim-minimal","purl":"pkg:rpm/almalinux/vim-minimal","source":"ALSA-2026:4442"},{"ecosystem":"AlmaLinux:9","fixed":["2:8.2.2637-23.el9_7.1"],"introduced":["0"],"last_affected":[],"package":"vim-X11","purl":"pkg:rpm/almalinux/vim-X11","source":"ALSA-2026:5602"},{"ecosystem":"AlmaLinux:9","fixed":["2:8.2.2637-23.el9_7.1"],"introduced":["0"],"last_affected":[],"package":"vim-common","purl":"pkg:rpm/almalinux/vim-common","source":"ALSA-2026:5602"},{"ecosystem":"AlmaLinux:9","fixed":["2:8.2.2637-23.el9_7.1"],"introduced":["0"],"last_affected":[],"package":"vim-enhanced","purl":"pkg:rpm/almalinux/vim-enhanced","source":"ALSA-2026:5602"},{"ecosystem":"AlmaLinux:9","fixed":["2:8.2.2637-23.el9_7.1"],"introduced":["0"],"last_affected":[],"package":"vim-filesystem","purl":"pkg:rpm/almalinux/vim-filesystem","source":"ALSA-2026:5602"},{"ecosystem":"AlmaLinux:9","fixed":["2:8.2.2637-23.el9_7.1"],"introduced":["0"],"last_affected":[],"package":"vim-minimal","purl":"pkg:rpm/almalinux/vim-minimal","source":"ALSA-2026:5602"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["2:9.1.083-6.el10_1.1"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/redhat/vim","source":"RHSA-2026:4715"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["2:9.1.083-6.el10_1.1"],"introduced":["0"],"last_affected":[],"package":"vim-X11","purl":"pkg:rpm/redhat/vim-X11","source":"RHSA-2026:4715"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["2:9.1.083-6.el10_1.1"],"introduced":["0"],"last_affected":[],"package":"vim-enhanced","purl":"pkg:rpm/redhat/vim-enhanced","source":"RHSA-2026:4715"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["2:9.1.083-6.el10_1.1"],"introduced":["0"],"last_affected":[],"package":"vim-minimal","purl":"pkg:rpm/redhat/vim-minimal","source":"RHSA-2026:4715"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["2:8.0.1763-22.el8_10"],"introduced":["0"],"last_affected":[],"package":"vim-X11","purl":"pkg:rpm/redhat/vim-X11","source":"RHSA-2026:4442"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["2:8.0.1763-22.el8_10"],"introduced":["0"],"last_affected":[],"package":"vim-enhanced","purl":"pkg:rpm/redhat/vim-enhanced","source":"RHSA-2026:4442"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["2:8.0.1763-22.el8_10"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/redhat/vim","source":"RHSA-2026:4442"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["2:8.0.1763-22.el8_10"],"introduced":["0"],"last_affected":[],"package":"vim-minimal","purl":"pkg:rpm/redhat/vim-minimal","source":"RHSA-2026:4442"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["2:8.2.2637-23.el9_7.1"],"introduced":["0"],"last_affected":[],"package":"vim-X11","purl":"pkg:rpm/redhat/vim-X11","source":"RHSA-2026:5602"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["2:8.2.2637-23.el9_7.1"],"introduced":["0"],"last_affected":[],"package":"vim-enhanced","purl":"pkg:rpm/redhat/vim-enhanced","source":"RHSA-2026:5602"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["2:8.2.2637-23.el9_7.1"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/redhat/vim","source":"RHSA-2026:5602"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["2:8.2.2637-23.el9_7.1"],"introduced":["0"],"last_affected":[],"package":"vim-minimal","purl":"pkg:rpm/redhat/vim-minimal","source":"RHSA-2026:5602"},{"ecosystem":"Rocky Linux:10","fixed":["2:9.1.083-6.el10_1.1"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/rocky-linux/vim?distro=rocky-linux-10\u0026epoch=2","source":"RLSA-2026:4715"},{"ecosystem":"Rocky Linux:8","fixed":["2:8.0.1763-22.el8_10"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/rocky-linux/vim?distro=rocky-linux-8\u0026epoch=2","source":"RLSA-2026:4442"},{"ecosystem":"Rocky Linux:9","fixed":["2:8.2.2637-23.el9_7.1"],"introduced":["0"],"last_affected":[],"package":"vim","purl":"pkg:rpm/rocky-linux/vim?distro=rocky-linux-9\u0026epoch=2","source":"RLSA-2026:5602"}],"prev":{"headline":"authentik has a forward authentication bypass with broken cookie","id":"CVE-2026-25748"},"products":["vim"],"published":"2026-02-06","related":[{"cvss_score":8.6,"headline":"Command injection in n/a","id":"CVE-2019-12735","kev_date_added":null,"published":"2019-06-05"},{"cvss_score":7.8,"headline":"Use After Free in vim/vim","id":"CVE-2022-3591","kev_date_added":null,"published":"2022-12-02"},{"cvss_score":6.6,"headline":"Vim: Heap Buffer Overflow in spell file loading","id":"CVE-2026-45130","kev_date_added":null,"published":"2026-05-08"},{"cvss_score":4.5,"headline":"Vim heap-use-after-free in src/arglist.c:207","id":"CVE-2024-43374","kev_date_added":null,"published":"2024-08-15"},{"cvss_score":4.2,"headline":"heap-buffer-overflow with visual mode in Vim \u003c 9.1.1003","id":"CVE-2025-22134","kev_date_added":null,"published":"2025-01-13"},{"cvss_score":4.2,"headline":"Vim \u003c v9.1.0648 has a double-free in dialog_changed()","id":"CVE-2024-41965","kev_date_added":null,"published":"2024-08-01"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-02-09","vendors":["vim"]},"summary":"A heap buffer overflow in Vim's tag file resolution allows attackers to execute arbitrary code or cause a crash via a crafted helpfile option.","url":"https://insights.sbomify.com/CVE-2026-25749/"}