CVE-2023-4781 Heap-based Buffer Overflow in vim/vim
A heap-based buffer overflow in Vim allows attackers to execute arbitrary code or cause a denial of service via crafted input.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-4781?
CVE-2023-4781 is a high-severity memory corruption vulnerability in Apple Macos, published on 5 Sep 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1873.
Weakness: CWE-122
Which versions are affected by CVE-2023-4781?
It affects 4 products.
Products include Apple Macos, Debian Debian Linux, Neovim Neovim, Vim Vim.
How do I fix CVE-2023-4781?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2023-4781 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-4781 exists.
Other vulnerabilities in Apple Macos
Sources
Also known as ALPINE-CVE-2023-4781, AZL-28659, BELL-CVE-2023-4781, CLSA-2026-1770040871, DEBIAN-CVE-2023-4781, GHSA-hvfg-rr99-vxgg and 1 more.