CVE-2025-55158
Last modified
CVE-2025-55158 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. Vim is an open source, command line text editor. In versions from 9.1.1231 to before 9.1.1406, when processing nested tuples during Vim9 script import operations, an error during evaluation can trigger a double-free in Vim’s internal typed value (typval_T) management. EPSS estimates a 0.33% chance of exploitation in the next 30 days.
Description
Vim is an open source, command line text editor. In versions from 9.1.1231 to before 9.1.1406, when processing nested tuples during Vim9 script import operations, an error during evaluation can trigger a double-free in Vim’s internal typed value (typval_T) management. Specifically, the clear_tv() function may attempt to free memory that has already been deallocated, due to improper lifetime handling in the handle_import / ex_import code paths. The vulnerability can only be triggered if a user explicitly opens and executes a specially crafted Vim script. This issue has been patched in version 9.1.1406.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Vim | Vim | >= 9.1.1231, < 9.1.1406 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-55158?
How severe is CVE-2025-55158?
How do I fix CVE-2025-55158?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-55152oak is a middleware framework for Deno's native HTTP server,…5.3
- CVE-2025-55153Rejected reason: This CVE is a duplicate of another CVE.
- CVE-2025-55154ImageMagick is free and open-source software used for editin…7.8
- CVE-2025-55155Mantis Bug Tracker (MantisBT) is an open source issue tracke…5.4
- CVE-2025-55156pyLoad is the free and open-source Download Manager written …7.8
- CVE-2025-55157Vim is an open source, command line text editor. In versions…8.8
- CVE-2025-55159slab is a pre-allocated storage for a uniform data type. In …5.1
- CVE-2025-5516A vulnerability, which was classified as problematic, was fo…4.8
- CVE-2025-55160ImageMagick is free and open-source software used for editin…5.3
- CVE-2025-55161Stirling-PDF is a locally hosted web application that perfor…9.8
- CVE-2025-55162Envoy is an open source L7 proxy and communication bus desig…8.8
- CVE-2025-55163Netty is an asynchronous, event-driven network application f…7.5
Are you affected by CVE-2025-55158?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
