CVE & CISA-KEV Catalog

CVE-2025-22134

MEDIUM
4.2
CVSS v3
NVD

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

How to fix

Remediation Available
vimDebian
Fixed in:2:9.1.1113-1CVE-2025-22134
Fixed in:2:9.1.1113-1CVE-2025-22134
vimUbuntu
Fixed in:2:8.1.2269-1ubuntu5.30USN-7220-1
Fixed in:2:8.2.3995-1ubuntu2.22USN-7220-1
Fixed in:2:9.1.0016-1ubuntu7.6USN-7220-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredLow
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityLow

CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L

Exploit Intelligence

0.37%probability of exploitation in 30 days
29thpercentile

Low risk: more likely to be exploited than 29% of all known CVEs.

References

Vendor Advisory1
Third-Party Advisory2

Related Vulnerabilities

Other CWE-122 (Heap-based Buffer Overflow) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2015-3113Critical9.8100%KEVFix
CVE-2024-26256High7.888%-Fix
CVE-2020-25687Medium5.987%-Fix
CVE-2009-3459High8.886%KEVFix
CVE-2021-21017High8.886%KEV-
CVE-2020-25683Medium5.986%-Fix
Embed a live status badge for CVE-2025-22134
CVE-2025-22134 severity badge

Markdown

[![CVE-2025-22134](https://tridentstack.com/cve/badge/CVE-2025-22134.svg)](https://tridentstack.com/cve/CVE-2025-22134)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-22134"><img src="https://tridentstack.com/cve/badge/CVE-2025-22134.svg" alt="CVE-2025-22134"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-09.