CVE-2026-57454: Vim: Out-of-bounds Read with Text Properties

Published Jun 25, 2026
·
Updated

Vim is an open source, command line text editor. From 9.2.0320 until 9.2.0679, a crafted undo or swap file can store a virtual-text property whose offset and length point outside the line's property data. When Vim restores or displays such a line it converts the offset into a pointer and reads the virtual text without bounds checking, causing an out-of-bounds read that can crash Vim or disclose adjacent heap memory. This vulnerability is fixed in 9.2.0679.

Other sources

Vim: Out-of-bounds Read with Text Properties

Microsoft

Affected Software

4 affected componentsFixes available
vim Vim>=9.2.0320<=9.2.0678
vim Vim=9.2.0679
vim Vim>=9.2.0320<9.2.0679
Microsoft azl3 vim 9.2.0620-1<9.2.0735-1
9.2.0735-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 9.2.0735-1
  2. Upgrade

    Upgrade Vim to a version that resolves this vulnerability.

    Fixed in 9.2.0679

Event History

Jun 25, 2026
CVE Published
via MITRE·03:24 PM
Data Sourced
via MITRE·03:24 PM
DescriptionWeakness
Data Sourced
via NVD·04:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 27, 2026
Data Sourced
via Microsoft·08:18 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:18 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2026-57454?

The severity of CVE-2026-57454 is rated as medium with a CVSS score of 6.8.

2

How do I fix CVE-2026-57454?

To fix CVE-2026-57454, update Vim to version 9.2.0680 or later.

3

What type of vulnerability is CVE-2026-57454?

CVE-2026-57454 is an out-of-bounds read vulnerability involving virtual-text properties in Vim.

4

What versions of Vim are affected by CVE-2026-57454?

Vim versions from 9.2.0320 to 9.2.0679 are affected by CVE-2026-57454.

5

What is the impact of CVE-2026-57454?

The impact of CVE-2026-57454 may lead to information disclosure due to reading past allocated buffers.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203