BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2025-22134 in Neovim and 3 more products

Medium 5.5

When switching to other buffers using the :all command and visual mode still being active, this may cause a heap-buffer overflow, because Vim does not properly end visual mode and therefore may try to access beyond the end of a line in a buffer. In Patch 9.1.1003 Vim will correctly reset the visual mode before openi...

Affects 4 products from 3 vendors. Facts below cite their sources.

CVSS 3.15.5
EPSS0.4%
EPSS percentile26th
FixUnknown

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
Neovim Neovim ≤ 0.10.4
Netapp Bootstrap Os No version listed by the source
Vim Vim ≤ 9.1.1003

Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Netapp Hci Compute Node

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

When switching to other buffers using the :all command and visual mode still being active, this may cause a heap-buffer overflow, because Vim does not properly end visual mode and therefore may try to access beyond the end of a line in a buffer. In Patch 9.1.1003 Vim will correctly reset the visual mode before opening other windows and buffers and therefore fix this bug. In addition it does verify that it won't try to access a position if the position is greater than the corresponding buffer line. Impact is medium since the user must have switched on visual mode when executing the :all ex command. The Vim project would like to thank github user gandalf4a for reporting this issue. The issue has been fixed as of Vim patch v9.1.1003

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-22134
BreachSpider IDBS-2025-GLOBAL-238043-M
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Published2025-01-13
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-122: Heap-Based Buffer Overflow

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

Related attack patterns (CAPEC)

CAPEC-92 Forced Integer Overflow via CWE-122

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2025-22134 is a heap-buffer overflow vulnerability in Vim that occurs when switching buffers with visual mode active, potentially allowing unauthorized memory access.

The vulnerability arises from Vim not properly ending visual mode when switching buffers using the :all command, leading to an attempt to access memory beyond the end of a line in a buffer.

Questions

What is CVE-2025-22134?

CVE-2025-22134 is a heap-buffer overflow vulnerability in Vim that occurs when switching buffers with visual mode active, potentially allowing unauthorized memory access.

What is the CVSS score for CVE-2025-22134?

CVE-2025-22134 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.4%.

Is CVE-2025-22134 actively exploited?

No confirmed active exploitation of CVE-2025-22134 as of 2026-09-25.

How do I remediate CVE-2025-22134?

Priority: MEDIUM. PSIRT: [email protected]

What systems are affected by CVE-2025-22134?

CVE-2025-22134 affects Neovim Neovim; Netapp Bootstrap Os; 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":"Neovim","product":"Neovim","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-06-17.