CVE-2022-4141
25.11.2022, 14:15
Heap based buffer overflow in vim/vim 9.0.0946 and below by allowing an attacker to CTRL-W gf in the expression used in the RHS of the substitute command.Enginsight
Affected Products (NVD)
| Vendor | Product | Version |
|---|---|---|
| debian | debian_linux | 10.0 |
| debian | debian_linux | 11.0 |
| neovim | neovim | 0.1.0 ≤ 𝑥 < 0.10.0 |
| vim | vim | 𝑥 ≤ 9.0.0946 |
𝑥
= Vulnerable software versions
Debian Releases
Ubuntu Releases
openSUSE / SLES Releases
openSUSE Product | |||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| gvim |
| ||||||||||||||||||||||||||||||||||||||||||||||||
| vim |
| ||||||||||||||||||||||||||||||||||||||||||||||||
| vim-data |
| ||||||||||||||||||||||||||||||||||||||||||||||||
| vim-data-common |
| ||||||||||||||||||||||||||||||||||||||||||||||||
| vim-small |
|
Amazon Linux Releases
Amazon Package | |||||||
|---|---|---|---|---|---|---|---|
| vim-X11 |
| ||||||
| vim-common |
| ||||||
| vim-common-debuginfo |
| ||||||
| vim-data |
| ||||||
| vim-debuginfo |
| ||||||
| vim-debugsource |
| ||||||
| vim-default-editor |
| ||||||
| vim-enhanced |
| ||||||
| vim-enhanced-debuginfo |
| ||||||
| vim-filesystem |
| ||||||
| vim-minimal |
| ||||||
| vim-minimal-debuginfo |
|
Azure Linux Releases
Common Weakness Enumeration
- CWE-122 - Heap-based Buffer OverflowA heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
- CWE-787 - Out-of-bounds WriteThe software writes data past the end, or before the beginning, of the intended buffer.
References