# CVE-2026-57451: Vim: Out-of-bounds Read in Text Property Count

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H`
- 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.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-06-25T15:28:50.474Z
- Modified: 2026-11-19T19:31:21.003Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Vim is an open source, command line text editor. Prior to 9.2.0670, get_text_props() in src/textprop.c reads a uint16 property count stored inline after a line's text and returns it as the number of 32-byte textprop_T entries that follow. The only check is a floor that guarantees room for a single entry; the count is never checked against the amount of data actually present. A line that declares a large count while carrying little data causes consumers to read far past the end of the line buffer. Such a line can be delivered through a crafted undo file, leading to a crash. This vulnerability is fixed in 9.2.0670.

(As written by CVE List.)

## Affected

- vim vim: < 9.2.0670; from 9.2.0320 before 9.2.0670

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H`

## References

- <https://github.com/vim/vim/security/advisories/GHSA-f36c-2qcp-7gpw> (vendor-advisory)
- <https://github.com/vim/vim/commit/b2338ca90643e2f01ecb6547c1172716aaec4f79> (patch)
- <https://github.com/vim/vim/releases/tag/v9.2.0670> (product)

## Sources

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

---

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