{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2026-45130 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-45130 is a medium-severity vulnerability in Vim Vim, published on 8 May 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-45130 and fix it if it is affected.\n\nWhat it is: CVE-2026-45130 is a medium-severity vulnerability in Vim Vim, published on 8 May 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-45130 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-45130/ (Markdown: https://insights.sbomify.com/CVE-2026-45130/index.md)","id":"CVE-2026-45130","markdown":"https://insights.sbomify.com/CVE-2026-45130/index.md","name":"CVE-2026-45130","record":{"aliases":["ALPINE-CVE-2026-45130","AZL-86246","BELL-CVE-2026-45130","CLSA-2026-1779495062","CLSA-2026-1779496075","DEBIAN-CVE-2026-45130","ECHO-dad7-435c-45c4","GHSA-q4jv-r9gj-6cwv","UBUNTU-CVE-2026-45130"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Vim text editor","requires_auth":"none","summary":"An attacker can achieve code execution by tricking a user into opening a text file with a modeline that loads a malicious spell file.","user_interaction":"required","vuln_class":"integer_overflow"},"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:N/UI:R/S:U/C:L/I:L/A:H","version":"3.1"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"},{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"description":"Vim is an open source, command line text editor. Prior to version 9.2.0450, a heap buffer overflow exists in read_compound() in src/spellfile.c when loading a crafted spell file (.spl) with UTF-8 encoding active. An attacker-controlled length field in the spell file's compound section overflows a 32-bit signed integer multiplication, causing a small buffer to be allocated for a write loop that runs many iterations, overflowing the heap. Because the 'spelllang' option can be set from a modeline, a text file modeline can trigger spell file loading if a malicious .spl file has been planted on the runtimepath. This issue has been patched in version 9.2.0450.","ecosystems":[],"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":"Vim: Heap Buffer Overflow in spell file loading","id":"CVE-2026-45130","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"vim:vim","products":["vim:vim"],"type":"integer_overflow","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"Code injection in helm-charts","id":"CVE-2026-45131"},"packages":[],"prev":{"headline":"MyBB: ACP Recovery Codes CSRF","id":"CVE-2026-45129"},"products":["vim"],"published":"2026-05-08","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":"Heap Overflow in Vim","id":"CVE-2026-25749","kev_date_added":null,"published":"2026-02-06"},{"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":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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-05-14","vendors":["vim"]},"summary":"An attacker can achieve code execution by tricking a user into opening a text file with a modeline that loads a malicious spell file.","url":"https://insights.sbomify.com/CVE-2026-45130/"}