CVE-2026-57451
published medium CVSS 3.1 · 5.3Vim: Out-of-bounds Read in Text Property Count
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| vim | — | vim< 9.2.0670 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | Not Affected; No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1940 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | vim | Fixed | 9.2.0677-r0 | Package fix record |
| Amazon Linux | AL2023 | vimaarch64 | Listed in advisory | Not stated | ALAS2023-2026-1940 |
| Alpine Linux | v3.23 | vim | Fixed | 9.2.0854-r0 | Package fix record |
| Alpine Linux | v3.24 | vim | Fixed | 9.2.0677-r0 | Package fix record |
| Amazon Linux | AL2023 | vimnoarch | Listed in advisory | Not stated | ALAS2023-2026-1940 |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | vimsrc | Listed in advisory | Not stated | ALAS2023-2026-1940 |
| Amazon Linux | AL2023 | vimx86_64 | Listed in advisory | Not stated | ALAS2023-2026-1940 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| vim | vim | < 9.2.0670 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-125 CWE-125: Out-of-bounds Read
References
3Provider assertions
2GitHub_M · cna
Vim: Out-of-bounds Read in Text Property Count
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 105b3c6f00ff46d6baa9baaacc26b4b54fb04b38cd26f533239132a8db2beace
- Ingested
- 23 Sep 2026, 09:21:43 UTC
- Source record
- Official CVE record