CVE-2019-12735

NameCVE-2019-12735
Descriptiongetchar.c in Vim before 8.1.1365 and Neovim before 0.3.6 allows remote attackers to execute arbitrary OS commands via the :source! command in a modeline, as demonstrated by execute in Vim, and assert_fails or nvim_input in Neovim.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1871-1, DSA-4467-1, DSA-4487-1
Debian Bugs930020, 930024

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
neovim (PTS)bullseye0.4.4-1fixed
bookworm0.7.2-7fixed
sid, trixie0.9.5-10fixed
vim (PTS)bullseye2:8.2.2434-3+deb11u1fixed
bookworm2:9.0.1378-2fixed
sid, trixie2:9.1.0861-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
neovimsourcestretch0.1.7-4+deb9u1DSA-4487-1
neovimsource(unstable)0.3.4-3930024
vimsourcejessie2:7.4.488-7+deb8u4DLA-1871-1
vimsourcestretch2:8.0.0197-4+deb9u2DSA-4467-1
vimsource(unstable)2:8.1.0875-4930020

Notes

https://github.com/numirias/security/blob/master/doc/2019-06-04_ace-vim-neovim.md
vim patches: https://github.com/vim/vim/commit/53575521406739cf20bbe4e384d88e7dca11f040
neovim pull request: https://github.com/neovim/neovim/pull/10082

Search for package or bug name: Reporting problems