# CVE-2025-9390: vim xxd xxd.c main buffer overflow

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 27% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 4 links below, marked "exploit"
- Published: 2025-08-24T14:02:09.444Z
- Modified: 2026-06-17T10:08:52.103Z
- Weaknesses: CWE-119, CWE-120
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- vim: 9.1.1615 (not affected: 9.1.1616)
- vim vim: from 9.1.1459 before 9.1.1616

## Every score

- VulDB: CVSS:4.0 4.8 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 5.3 Medium `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`
- VulDB: CVSS:3.0 5.3 Medium `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:2.0 4.3 Medium `AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://vuldb.com/?submit.630903> (exploit, third-party-advisory, vdb-entry)
- <https://github.com/vim/vim/issues/17944> (exploit, issue-tracking, vendor-advisory)
- <https://github.com/vim/vim/pull/17947> (exploit, issue-tracking)
- <https://drive.google.com/file/d/1JLnqrdcGsjUhbYzIEweXIGZyETjHlKtX/view?usp=sharing> (exploit)
- <https://vuldb.com/?id.321223> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.321223> (permissions-required, signature, vdb-entry)
- <https://github.com/vim/vim/commit/eeef7c77436a78cd27047b0f5fa6925d56de3cb0> (patch)
- <https://github.com/vim/vim/releases/tag/v9.1.1616> (patch, release-notes)

## Sources

- CVE List: [CVE-2025-9390](https://www.cve.org/CVERecord?id=CVE-2025-9390), CVE Terms of Use, modified 2025-08-25
- NVD: [CVE-2025-9390](https://nvd.nist.gov/vuln/detail/CVE-2025-9390), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-9390 · Whole record: https://cve.day/CVE-2025-9390.json · Rebuilt by cve.day 2026-11-25T22:59:03.615Z
