Skip to content
OpenAdvisories
Medium · 6.8 CVE-2026-57454 EUVD-2026-39441

Vim: Out-of-bounds Read with Text Properties

Published Jun 25, 2026 · Updated Jun 26, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
vim vim >= 9.2.0320, < 9.2.0679 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 vim 2:9.2.0782-1 —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 vim +8 2:9.2.967-1.1.hum1 RHSA-2026:57614
ReleasePackageFixed inAdvisory
Alpine v3.24 vim 9.2.0680-r0 —
Alpine v3.23 vim 9.2.0854-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 xxd +6 2:9.2.725-1.amzn2023.0.1 ALAS2023-2026-1940

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 vim 9.2.0735-1 —

Advisories 3

References