Buffer overflow in Vim
CVE-2025-9390
A security flaw has been discovered in vim up to 9.1.1615. Affected by this vulnerability is the function main of the file src/xxd/xxd.c of the component xxd. The manipulation results in buffer overflow. The attack requires a local approach. The exploit has been released to the public and may be exploited. Upgrading to version 9.1.1616 addresses this issue. The patch is identified as eeef7c77436a78cd27047b0f5fa6925d56de3cb0. It is recommended to upgrade the affected component.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.003, 23.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Vim
- Vim — versions 9.1.1615, 9.1.1616
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- VDB-321223 | vim xxd xxd.c main buffer overflow (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-321223 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #630903 | vim xxd vim-9.1.0000 and related xxd versions (latest master branch) Buffer Overflow (Exploit, Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/vim/vim/issues/17944 (issue-tracking, Exploit, Issue Tracking, Vendor Advisory)
- github.com/vim/vim/pull/17947 (issue-tracking, Exploit, Issue Tracking)
- drive.google.com/file/d/1JLnqrdcGsjUhbYzIEweXIGZyETjHlKtX/view (Exploit, exploit)
- github.com/vim/vim/commit/eeef7c77436a78cd27047b0f5fa6925d56de3cb0 (Patch, patch)
- github.com/vim/vim/releases/tag/v9.1.1616 (Release Notes, patch)