Vulnerability · Published Aug 24, 2025 · Assigned by VulDB
CVE-2025-9390vim xxd xxd.c main buffer overflow
Medium 5.3
In plain English
A medium-severity buffer overflow in vim. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 21% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:14 | vim | 2:9.1.1829-1 | DEBIAN-CVE-2025-9390 |
| Ubuntu:22.04:LTS | vim | no fix listed | UBUNTU-CVE-2025-9390 |
| Ubuntu:24.04:LTS | vim | no fix listed | UBUNTU-CVE-2025-9390 |
Affected products (as reported)
Weakness: CWE-120, CWE-119 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
References
- VDB-321223 | vim xxd xxd.c main buffer overflow vdb-entry, technical-description
- VDB-321223 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #630903 | vim xxd vim-9.1.0000 and related xxd versions (latest master branch) Buffer Overflow third-party-advisory
- https://github.com/vim/vim/issues/17944 issue-tracking
- https://github.com/vim/vim/pull/17947 issue-tracking
- https://drive.google.com/file/d/1JLnqrdcGsjUhbYzIEweXIGZyETjHlKtX/view?usp=sharing exploit
- https://github.com/vim/vim/commit/eeef7c77436a78cd27047b0f5fa6925d56de3cb0 patch
- https://github.com/vim/vim/releases/tag/v9.1.1616 patch