CVE-2026-57451

EUVD-2026-39449
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
5.3 MEDIUM
LOCAL
HIGH
NONE
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 1.83%
Affected Products (NVD)
VendorProductVersion
vimvim
𝑥
< 9.2.0670
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
vim
bookworm
2:9.0.1378-2+deb12u2
fixed
bullseye
2:8.2.2434-3+deb11u1
fixed
bullseye (security)
2:8.2.2434-3+deb11u3
fixed
forky
2:9.2.0858-1
fixed
sid
2:9.2.0858-1
fixed
trixie
2:9.1.1230-2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
vim
bionic
not-affected
focal
not-affected
jammy
not-affected
noble
not-affected
questing
not-affected
resolute
not-affected
trusty
not-affected
xenial
not-affected
Amazon Linux logo
Amazon Linux Releases
Amazon Package
Release
vim-common
Amazon Linux 2023
2:9.2.725-1.amzn2023.0.1
fixed
vim-data
Amazon Linux 2023
2:9.2.725-1.amzn2023.0.1
fixed
vim-debuginfo
Amazon Linux 2023
2:9.2.725-1.amzn2023.0.1
fixed
vim-debugsource
Amazon Linux 2023
2:9.2.725-1.amzn2023.0.1
fixed
vim-default-editor
Amazon Linux 2023
2:9.2.725-1.amzn2023.0.1
fixed
vim-enhanced
Amazon Linux 2023
2:9.2.725-1.amzn2023.0.1
fixed
vim-enhanced-debuginfo
Amazon Linux 2023
2:9.2.725-1.amzn2023.0.1
fixed
vim-filesystem
Amazon Linux 2023
2:9.2.725-1.amzn2023.0.1
fixed
vim-minimal
Amazon Linux 2023
2:9.2.725-1.amzn2023.0.1
fixed
vim-minimal-debuginfo
Amazon Linux 2023
2:9.2.725-1.amzn2023.0.1
fixed
xxd
Amazon Linux 2023
2:9.2.725-1.amzn2023.0.1
fixed
xxd-debuginfo
Amazon Linux 2023
2:9.2.725-1.amzn2023.0.1
fixed
Azure Linux logo
Azure Linux Releases
Azure Package
Release
vim
Azure Linux 3.0
0:9.2.0735-1.azl3
fixed