CVE-2022-1154 Use after free in utf_ptr2char in vim/vim
A use-after-free vulnerability in Vim's utf_ptr2char function allows attackers to execute arbitrary code or cause a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-1154?
CVE-2022-1154 is a high-severity use after free vulnerability in Debian Debian Linux, published on 30 Mar 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Use after free in utf_ptr2char in GitHub repository vim/vim prior to 8.2.4646.
Weakness: CWE-416
Which versions are affected by CVE-2022-1154?
It affects 4 products.
Linux distribution packages (24)
vim-X11 AlmaLinux:8 | All versions | 2:8.0.1763-16.el8_5.13 |
vim-common AlmaLinux:8 | All versions | 2:8.0.1763-16.el8_5.13 |
vim-enhanced AlmaLinux:8 | All versions | 2:8.0.1763-16.el8_5.13 |
vim-filesystem AlmaLinux:8 | All versions | 2:8.0.1763-16.el8_5.13 |
vim-minimal AlmaLinux:8 | All versions | 2:8.0.1763-16.el8_5.13 |
vim-X11 Red Hat:enterprise_linux:8::appstream | All versions | 2:8.0.1763-16.el8_5.13 |
vim-X11-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 2:8.0.1763-16.el8_5.13 |
vim-common Red Hat:enterprise_linux:8::appstream | All versions | 2:8.0.1763-16.el8_5.13 |
vim-common-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 2:8.0.1763-16.el8_5.13 |
vim-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 2:8.0.1763-16.el8_5.13 |
vim-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 2:8.0.1763-16.el8_5.13 |
vim-enhanced Red Hat:enterprise_linux:8::appstream | All versions | 2:8.0.1763-16.el8_5.13 |
vim-enhanced-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 2:8.0.1763-16.el8_5.13 |
vim-filesystem Red Hat:enterprise_linux:8::appstream | All versions | 2:8.0.1763-16.el8_5.13 |
vim-minimal-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 2:8.0.1763-16.el8_5.13 |
vim Red Hat:enterprise_linux:8::baseos | All versions | 2:8.0.1763-16.el8_5.13 |
vim-X11-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 2:8.0.1763-16.el8_5.13 |
vim-common-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 2:8.0.1763-16.el8_5.13 |
vim-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 2:8.0.1763-16.el8_5.13 |
vim-debugsource Red Hat:enterprise_linux:8::baseos | All versions | 2:8.0.1763-16.el8_5.13 |
vim-enhanced-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 2:8.0.1763-16.el8_5.13 |
vim-minimal Red Hat:enterprise_linux:8::baseos | All versions | 2:8.0.1763-16.el8_5.13 |
vim-minimal-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 2:8.0.1763-16.el8_5.13 |
vim Rocky Linux:8 | All versions | 2:8.0.1763-16.el8_5.13 |
Products include Debian Debian Linux, Fedoraproject Fedora, Oracle Communications Cloud Native Core Network Exposure Function, Vim Vim.
How do I fix CVE-2022-1154?
Upgrade to a fixed version.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2022-1154 being exploited?
There is no known exploitation of CVE-2022-1154 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as ALPINE-CVE-2022-1154, ALSA-2022:1552, AZL-9189, CLSA-2022-1649869251, CLSA-2022-1649869286, CLSA-2022-1649869347 and 5 more.