CVE-2025-22134: heap-buffer-overflow with visual mode in Vim < 9.1.1003
Noroxi assessment
Priority: Monitor (action score 22/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.37% (FIRST EPSS).
- Someone with local access to the system can trigger it. No account or password is required. A user must open a link or visit a page. No special conditions are required; it is repeatable.
- Fixed version: azl3 vim 9.1.0791-2 on Azure Linux 3.0 9.1.0791-2; azl3 vim 9.1.0791-4 on Azure Linux 3.0 9.1.0791-2; cbl2 vim 9.1.0791-2 on CBL Mariner 2.0 9.1.0791-2.
Low priority for now. Upgrade to azl3 vim 9.1.0791-2 on Azure Linux 3.0 9.1.0791-2; azl3 vim 9.1.0791-4 on Azure Linux 3.0 9.1.0791-2; cbl2 vim 9.1.0791-2 on CBL Mariner 2.0 9.1.0791-2 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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
- Published
- Jan 13, 2025
- Updated
- Jun 17, 2026
- EPSS
- 0.3% · 31th percentile
- CWE
- CWE-122
Report tools
Action score
22
Low priority for now.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.3%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 5.5
- CNA · GitHub_M
- 4.2
- 1.3 point gap
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| neovim | neovim | cpe:2.3:a:neovim:neovim |
| vim | vim | cpe:2.3:a:vim:vim |
| netapp | bootstrap os | cpe:2.3:o:netapp:bootstrap_os |
| netapp | hci compute node | cpe:2.3:h:netapp:hci_compute_node |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.
vim vim
- < v9.1.1003affected
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- neovim neovimup to 0.10.4 inclusive
- netapp bootstrap osall versions
- vim vimup to 9.1.1003 inclusive
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.21 | vim | before 9.1.1003-r0 | 9.1.1003-r0 |
| Debian:12 | vim | from 0 | — |
| Debian:13 | vim | before 2:9.1.1113-1 | 2:9.1.1113-1 |
| openSUSE:Leap 15.6 | vim | before 9.1.1101-150500.20.21.1 | 9.1.1101-150500.20.21.1 |
| SUSE:Linux Enterprise Micro 5.3 | vim | before 9.1.1101-150000.5.69.1 | 9.1.1101-150000.5.69.1 |
| SUSE:Linux Enterprise Micro 5.5 | vim | before 9.1.1101-150500.20.21.1 | 9.1.1101-150500.20.21.1 |
| SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | vim | before 9.1.1101-17.41.1 | 9.1.1101-17.41.1 |
| SUSE:Linux Micro 6.0 | vim | before 9.1.1101-1.1 | 9.1.1101-1.1 |
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| azl3 vim 9.1.0791-2 on Azure Linux 3.0 | 9.1.0791-2 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 vim 9.1.0791-4 on Azure Linux 3.0 | 9.1.0791-2 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 vim 9.1.0791-2 on CBL Mariner 2.0 | 9.1.0791-2 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 vim 9.1.0791-4 on CBL Mariner 2.0 | 9.1.0791-2 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 vim 9.1.0791-4 on CBL-Mariner 2.0 | 9.1.0791-2 · CBL-Mariner Releases | Microsoft (MSRC) |
| alpine:vim | 9.1.1003-r0 · Alpine:v3.21 | Package registry (OSV) |
| debian:vim | 2:9.1.1113-1 · Debian:13 | Package registry (OSV) |
| opensuse:vim | 9.1.1101-150500.20.21.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| suse:vim | 9.1.1101-150500.20.21.1 · SUSE:Linux Enterprise Micro 5.5 | Package registry (OSV) |
| suse:vim | 9.1.1101-17.41.1 · SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-122 · Heap-based Buffer OverflowCVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (3 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.