vim up to 9.1.1615 xxd src/xxd/xxd.c main buffer overflow

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.
5.2$0-$5k0.00

Summaryinfo

A vulnerability was found in vim up to 9.1.1615. It has been rated as critical. Affected by this issue is the function main of the file src/xxd/xxd.c of the component xxd. This manipulation causes buffer overflow. This vulnerability appears as CVE-2025-9390. The attack requires local access. In addition, an exploit is available. Upgrading the affected component is advised.

Detailsinfo

A vulnerability has been found in vim up to 9.1.1615 and classified as critical. Affected by this vulnerability is the function main of the file src/xxd/xxd.c of the component xxd. The manipulation with an unknown input leads to a buffer overflow vulnerability. The CWE definition for the vulnerability is CWE-120. The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow. As an impact it is known to affect confidentiality, integrity, and availability.

The weakness was presented by Xudong Cao and Meng Xu as 17944. It is possible to read the advisory at github.com. This vulnerability is known as CVE-2025-9390. The exploitation appears to be easy. Attacking locally is a requirement. Technical details and also a public exploit are known.

It is possible to download the exploit at drive.google.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 258074 (Vim 9.1.1459 < 9.1.1616 XXD Fortify Buffer Overflow (17944)), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 9.1.1616 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch eeef7c77436a78cd27047b0f5fa6925d56de3cb0 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 vulnerability database at Tenable (258074). Be aware that VulDB is the high quality source for vulnerability data.

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: 5.4
VulDB Meta Temp Score: 5.2

VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔒
VulDB Reliability: 🔍

NVD Base Score: 5.5
NVD Vector: 🔒

CNA Base Score: 5.3
CNA Vector: 🔒

CVSSv2info

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

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

Exploitinginfo

Class: Buffer overflow
CWE: CWE-120 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: No

Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 258074
Nessus Name: Vim 9.1.1459 < 9.1.1616 XXD Fortify Buffer Overflow (17944)

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: vim 9.1.1616
Patch: eeef7c77436a78cd27047b0f5fa6925d56de3cb0

Timelineinfo

08/23/2025 Advisory disclosed
08/23/2025 +0 days VulDB entry created
09/12/2025 +20 days VulDB entry last update

Sourcesinfo

Product: github.com

Advisory: 17944
Researcher: Xudong Cao, Meng Xu
Status: Confirmed
Confirmation: 🔒

CVE: CVE-2025-9390 (🔒)
GCVE (CVE): GCVE-0-2025-9390
GCVE (VulDB): GCVE-100-321223
scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 08/23/2025 17:34
Updated: 09/12/2025 20:43
Changes: 08/23/2025 17:34 (64), 08/24/2025 16:23 (30), 08/29/2025 04:44 (2), 09/12/2025 20:43 (12)
Complete: 🔍
Submitter: nipc-cxd
Cache ID: 216::103

Submitinfo

Accepted

  • Submit #630903: vim xxd vim-9.1.0000 and related xxd versions (latest master branch) Buffer Overflow (by nipc-cxd)

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!