vim up to 9.1.1399 tuple_unref use after free

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.4$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as critical, has been found in vim up to 9.1.1399. Affected by this vulnerability is the function tuple_unref. This manipulation causes use after free. This vulnerability is registered as CVE-2025-55157. Remote exploitation of the attack is possible. No exploit is available. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability has been found in vim up to 9.1.1399 and classified as critical. Affected by this vulnerability is the function tuple_unref. The manipulation with an unknown input leads to a use after free vulnerability. The CWE definition for the vulnerability is CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

Vim is an open source, command line text editor. In versions from 9.1.1231 to before 9.1.1400, When processing nested tuples in Vim script, an error during evaluation can trigger a use-after-free in Vim’s internal tuple reference management. Specifically, the tuple_unref() function may access already freed memory due to improper lifetime handling, leading to memory corruption. The exploit requires direct user interaction, as the script must be explicitly executed within Vim. This issue has been patched in version 9.1.1400.

It is possible to read the advisory at github.com. This vulnerability is known as CVE-2025-55157 since 08/07/2025. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. It demands that the victim is doing some kind of user interaction. Technical details of the vulnerability are known, but there is no available exploit.

The vulnerability scanner Nessus provides a plugin with the ID 259914 (Linux Distros Unpatched Vulnerability : CVE-2025-55157), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 9.1.1400 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch 1307743697bbc46e1518abfea7f89caa95bcaf97 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at Tenable (259914) and CERT Bund (WID-SEC-2025-1753). Be aware that VulDB is the high quality source for vulnerability data.

Affected

  • Open Source vim

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒

CVSSv3info

VulDB Meta Base Score: 7.6
VulDB Meta Temp Score: 7.4

VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔒
VulDB Reliability: 🔍

NVD Base Score: 8.8
NVD Vector: 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Use after free
CWE: CWE-416 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒

Physical: No
Local: No
Remote: Yes

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 259914
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-55157

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: vim 9.1.1400
Patch: 1307743697bbc46e1518abfea7f89caa95bcaf97

Timelineinfo

08/07/2025 CVE reserved
08/12/2025 +5 days Advisory disclosed
08/12/2025 +0 days VulDB entry created
08/31/2025 +19 days VulDB entry last update

Sourcesinfo

Product: github.com

Advisory: GHSA-3r4f-mm4w-wgg6
Status: Confirmed

CVE: CVE-2025-55157 (🔒)
GCVE (CVE): GCVE-0-2025-55157
GCVE (VulDB): GCVE-100-319495
CERT Bund: WID-SEC-2025-1753 - vim: Mehrere Schwachstellen ermöglichen Denial of Service

Entryinfo

Created: 08/12/2025 07:11
Updated: 08/31/2025 19:36
Changes: 08/12/2025 07:11 (71), 08/12/2025 09:08 (7), 08/13/2025 08:29 (12), 08/31/2025 19:36 (2)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!