CVE-2025-9389 Details
Description
A vulnerability was identified in vim 9.1.0000. Affected is the function __memmove_avx_unaligned_erms of the file memmove-vec-unaligned-erms.S. The manipulation leads to memory corruption. The attack needs to be performed locally. The exploit is publicly available and might be used. Some users are not able to reproduce this. One of the users mentions that this appears not to be working, "when coloring is turned on".
A memory corruption vulnerability has been identified in Vim version 9.1.0000, specifically within the XXD utility when the autoskip mode is enabled. The issue arises in the function '__memmove_avx_unaligned_erms' located in 'memmove-vec-unaligned-erms.S'. This vulnerability leads to segmentation faults due to improper memory management during the detection and replacement of null lines, allowing for out-of-bounds memory access. The vulnerability requires local exploitation and has a public proof-of-concept available, although some users have reported difficulty reproducing the issue, particularly when terminal coloring is enabled.
Users are advised to avoid using the XXD autoskip feature until this vulnerability has been addressed. Once a patch is available, it is recommended to update to the latest version of Vim.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 25, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/vim/vim/issues/17940 | CISA-ADP | ExploitIssue TrackingPatchVendor Advisory |
| https://github.com/vim/vim/issues/17940#issuecomment-3203415781 | CISA-ADP | ExploitIssue TrackingPatch |
| https://vuldb.com/?submit.630898 | CISA-ADP | ExploitThird Party AdvisoryVDB Entry |
| https://drive.google.com/file/d/1iFbTpW79vqBPkFjWYzGYIh_E6esPhYVY/view?usp=sharing | [email protected] | Exploit |
| https://github.com/vim/vim/issues/17940 | [email protected] | ExploitIssue TrackingPatchVendor Advisory |
| https://github.com/vim/vim/issues/17940#issuecomment-3203415781 | [email protected] | ExploitIssue TrackingPatch |
| https://vuldb.com/?ctiid.321222 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.321222 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.630898 | [email protected] | ExploitThird Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| vim vim | 9.1.0000 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Sep 12, 2025 | Initial Analysis | [email protected] |
| Aug 25, 2025 | CVE Modified | CISA-ADP |
| Aug 24, 2025 | New CVE Received | [email protected] |