NULL Pointer Dereference in vim/vim
Description
A null pointer dereference in Vim's command-line handling allows attackers to crash the editor via a crafted nested :open command.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A null pointer dereference in Vim's command-line handling allows attackers to crash the editor via a crafted nested :open command.
Vulnerability
A null pointer dereference vulnerability exists in the vgetorpeek function of Vim's input processing. The issue occurs when handling a nested :open command while in command-line mode, where get_cmdline_info()->cmdbuff can be NULL. The vulnerability affects Vim versions prior to 9.0.1392. [1]
Exploitation
An attacker can exploit this vulnerability by crafting a file or command sequence that triggers a nested :open command during command-line editing. The attacker does not require authentication if they can trick a user into executing the malicious commands. The specific sequence involves entering command-line mode and executing :open within a context where the command buffer is not initialized. [1]
Impact
Successful exploitation causes a null pointer dereference leading to a segmentation fault, resulting in a denial of service. There is no evidence of code execution or information disclosure. The crash terminates the Vim process. [1]
Mitigation
The vulnerability is fixed in Vim version 9.0.1392, released on 2023-03-07. Users should update to this version or later. For systems where updating is not immediately possible, avoid processing untrusted commands or opening files that may contain malicious :open sequences. [1]
AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
19- osv-coords17 versionspkg:apk/chainguard/vimpkg:apk/chainguard/vim-docpkg:apk/wolfi/vimpkg:apk/wolfi/vim-docpkg:rpm/opensuse/vim&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/vim&distro=openSUSE%20Leap%20Micro%205.3pkg:rpm/opensuse/vim&distro=openSUSE%20Tumbleweedpkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Micro%205.1pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Micro%205.2pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Micro%205.3pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Micro%205.4pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP4pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP3pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCLpkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/vim&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5
< 9.0.1392-r0+ 16 more
- (no CPE)range: < 9.0.1392-r0
- (no CPE)range: < 9.0.1392-r0
- (no CPE)range: < 9.0.1392-r0
- (no CPE)range: < 9.0.1392-r0
- (no CPE)range: < 9.0.1443-150000.5.40.1
- (no CPE)range: < 9.0.1443-150000.5.40.1
- (no CPE)range: < 9.0.1392-1.1
- (no CPE)range: < 9.0.1443-150000.5.40.1
- (no CPE)range: < 9.0.1443-150000.5.40.1
- (no CPE)range: < 9.0.1443-150000.5.40.1
- (no CPE)range: < 9.0.1443-150000.5.40.1
- (no CPE)range: < 9.0.1443-150000.5.40.1
- (no CPE)range: < 9.0.1443-150000.5.40.1
- (no CPE)range: < 9.0.1443-150000.5.40.1
- (no CPE)range: < 9.0.1572-17.18.1
- (no CPE)range: < 9.0.1572-17.18.1
- (no CPE)range: < 9.0.1572-17.18.1
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DIAKPMKJ4OZ6NYRZJO7YWMNQL2BICLYV/mitrevendor-advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IE44W6WMMREYCW3GJHPSYP7NK2VT5NY6/mitrevendor-advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X4KDAU76Z7QNSPKZX2JAJ6O7KIEOXWTL/mitrevendor-advisory
- github.com/vim/vim/commit/7ac5023a5f1a37baafbe1043645f97ba3443d9f6mitre
- huntr.dev/bounties/b2989095-88f3-413a-9a39-c1c58a6e6815mitre
News mentions
0No linked articles in our index yet.