BreachSpiderVerified, not vibes

CVE-2026-45130 in Vim

Medium 5.5 Fix available

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 integ...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.15.5
EPSS0.2%
EPSS percentile5th
FixAvailable

Requires local access, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Vim Vim < 9.2.0450

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-45130
BreachSpider IDBS-2026-GLOBAL-153525-M
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Published2026-05-08
Last modified2026-05-18
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-122: Heap-Based Buffer Overflow

Buffer overflow corrupting dynamically allocated heap memory, exploitable for arbitrary code execution.

CWE-190: Integer Overflow or Wraparound

Arithmetic operation exceeds the maximum integer value, wrapping around and often leading to undersized allocations.

Related attack patterns (CAPEC)

CAPEC-92 Forced Integer Overflow via CWE-122, CWE-190

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A heap buffer overflow vulnerability exists in Vim versions prior to 9.2.0450 in the read_compound() function when processing a crafted spell file with UTF-8 encoding.

An attacker can exploit this vulnerability by creating a malicious .spl file with a specially crafted length field in the compound section, which causes a buffer overflow during the read_compound() function execution.

Questions

What is CVE-2026-45130?

A heap buffer overflow vulnerability exists in Vim versions prior to 9.2.0450 in the read_compound() function when processing a crafted spell file with UTF-8 encoding.

What is the CVSS score for CVE-2026-45130?

CVE-2026-45130 has CVSS 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H. EPSS: 0.2%.

Is CVE-2026-45130 actively exploited?

No confirmed active exploitation of CVE-2026-45130 as of 2026-05-30.

How do I remediate CVE-2026-45130?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2026-45130?

CVE-2026-45130 affects Vim Vim.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Vim","product":"Vim","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-05-18.