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

CVE-2026-57451 is fixed in 13 products on 1 platform, first by DEBIAN-CVE-2026-57451, released June 25, 2026. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2026-57451
- Priority: Routine
- CVSS: 6.1 (Moderate)
- EPSS: 0.0016
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jun 25, 2026
- Weakness: Out-of-bounds Read
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-57451

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | vim Debian 14 | 2:9.2.0782-1 | [DEBIAN-CVE-2026-57451](https://patchblox.com/security/data/fix/linux/debian-cve-2026-57451.md) | Jun 25, 2026 |
| Linux | vim-common amzn 2023 | 2:9.2.725-1.amzn2023.0.1 | [ALAS2023-2026-1940](https://patchblox.com/security/data/fix/linux/alas2023-2026-1940.md) | Jul 20, 2026 |
| Linux | vim-data amzn 2023 | 2:9.2.725-1.amzn2023.0.1 | [ALAS2023-2026-1940](https://patchblox.com/security/data/fix/linux/alas2023-2026-1940.md) | Jul 20, 2026 |
| Linux | vim-debuginfo amzn 2023 | 2:9.2.725-1.amzn2023.0.1 | [ALAS2023-2026-1940](https://patchblox.com/security/data/fix/linux/alas2023-2026-1940.md) | Jul 20, 2026 |
| Linux | vim-debugsource amzn 2023 | 2:9.2.725-1.amzn2023.0.1 | [ALAS2023-2026-1940](https://patchblox.com/security/data/fix/linux/alas2023-2026-1940.md) | Jul 20, 2026 |
| Linux | vim-default-editor amzn 2023 | 2:9.2.725-1.amzn2023.0.1 | [ALAS2023-2026-1940](https://patchblox.com/security/data/fix/linux/alas2023-2026-1940.md) | Jul 20, 2026 |
| Linux | vim-enhanced amzn 2023 | 2:9.2.725-1.amzn2023.0.1 | [ALAS2023-2026-1940](https://patchblox.com/security/data/fix/linux/alas2023-2026-1940.md) | Jul 20, 2026 |
| Linux | vim-enhanced-debuginfo amzn 2023 | 2:9.2.725-1.amzn2023.0.1 | [ALAS2023-2026-1940](https://patchblox.com/security/data/fix/linux/alas2023-2026-1940.md) | Jul 20, 2026 |
| Linux | vim-filesystem amzn 2023 | 2:9.2.725-1.amzn2023.0.1 | [ALAS2023-2026-1940](https://patchblox.com/security/data/fix/linux/alas2023-2026-1940.md) | Jul 20, 2026 |
| Linux | vim-minimal amzn 2023 | 2:9.2.725-1.amzn2023.0.1 | [ALAS2023-2026-1940](https://patchblox.com/security/data/fix/linux/alas2023-2026-1940.md) | Jul 20, 2026 |
| Linux | vim-minimal-debuginfo amzn 2023 | 2:9.2.725-1.amzn2023.0.1 | [ALAS2023-2026-1940](https://patchblox.com/security/data/fix/linux/alas2023-2026-1940.md) | Jul 20, 2026 |
| Linux | xxd amzn 2023 | 2:9.2.725-1.amzn2023.0.1 | [ALAS2023-2026-1940](https://patchblox.com/security/data/fix/linux/alas2023-2026-1940.md) | Jul 20, 2026 |
| Linux | xxd-debuginfo amzn 2023 | 2:9.2.725-1.amzn2023.0.1 | [ALAS2023-2026-1940](https://patchblox.com/security/data/fix/linux/alas2023-2026-1940.md) | Jul 20, 2026 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
