5.5

CVE-2025-22134: neovim Heap-based Buffer Overflow

CVSS: 5.5v3.1MediumAnalyzed
AliasesALPINE-CVE-2025-22134MGASA-2025-0014UBUNTU-CVE-2025-22134
Published 13-01-2025Last modified 14-03-2025

Vulnerability summary

CVE-2025-22134 is a medium (CVSS 5.5) Heap-based Buffer Overflow vulnerability in neovim. EPSS estimates a 0.37% chance of exploitation in the next 30 days, higher than 29.9% of scored vulnerabilities.

Overall risk
22/100
0100
Low · default modelHow is this calculated?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.37%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 4 · Related 4

Timeline

  1. 13-01-2025
    PublishedVulnerability first disclosed.
  2. 14-03-2025
    Last modifiedVulnerability information updated.

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

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.37%

Chance of exploitation in the next 30 days

Percentile

30%

Versus all other CVEs

30-day change

0.00 pp

From 0.37% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.37%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Alpine1 product
  • vim< 9.1.1003-r0
Debian1 product
  • vimAll versions (No fix recorded) | < 2:9.1.1113-1
Mageia1 product
  • vim< 9.1.1012-1.mga9
Neovim1 product
Netapp1 product
Ubuntu1 product
  • vimAll versions (No fix recorded) | < 2:8.1.2269-1ubuntu5.30 | < 2:8.2.3995-1ubuntu2.22 | < 2:9.1.0016-1ubuntu7.6
Vim1 product
  • vim< v9.1.1003 | ≤ 9.1.1003

7 vendors · 7 products

References

13 links
Show all 13 references