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.
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
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| vim · Debian 14 | 2:9.2.0782-1 | DEBIAN-CVE-2026-57451 | Jun 25, 2026 |
| vim-common · amzn 2023 | 2:9.2.725-1.amzn2023.0.1 | ALAS2023-2026-1940 | Jul 20, 2026 |
| vim-data · amzn 2023 | 2:9.2.725-1.amzn2023.0.1 | ALAS2023-2026-1940 | Jul 20, 2026 |
| vim-debuginfo · amzn 2023 | 2:9.2.725-1.amzn2023.0.1 | ALAS2023-2026-1940 | Jul 20, 2026 |
| vim-debugsource · amzn 2023 | 2:9.2.725-1.amzn2023.0.1 | ALAS2023-2026-1940 | Jul 20, 2026 |
| vim-default-editor · amzn 2023 | 2:9.2.725-1.amzn2023.0.1 | ALAS2023-2026-1940 | Jul 20, 2026 |
| vim-enhanced · amzn 2023 | 2:9.2.725-1.amzn2023.0.1 | ALAS2023-2026-1940 | Jul 20, 2026 |
| vim-enhanced-debuginfo · amzn 2023 | 2:9.2.725-1.amzn2023.0.1 | ALAS2023-2026-1940 | Jul 20, 2026 |
| vim-filesystem · amzn 2023 | 2:9.2.725-1.amzn2023.0.1 | ALAS2023-2026-1940 | Jul 20, 2026 |
| vim-minimal · amzn 2023 | 2:9.2.725-1.amzn2023.0.1 | ALAS2023-2026-1940 | Jul 20, 2026 |
| vim-minimal-debuginfo · amzn 2023 | 2:9.2.725-1.amzn2023.0.1 | ALAS2023-2026-1940 | Jul 20, 2026 |
| xxd · amzn 2023 | 2:9.2.725-1.amzn2023.0.1 | ALAS2023-2026-1940 | Jul 20, 2026 |
| xxd-debuginfo · amzn 2023 | 2:9.2.725-1.amzn2023.0.1 | ALAS2023-2026-1940 | Jul 20, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
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.