Vulnerability · Published Sep 4, 2023 · Assigned by @huntrdev
CVE-2023-4752Use After Free in vim/vim
High 7.8
In plain English
A high-severity use-after-free in vim/vim from vim. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.0)7.8High
Exploit odds (30 days)0.6%top 52.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
Use After Free in GitHub repository vim/vim prior to 9.0.1858.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | vim-X11 | 2:8.2.2637-22.el9_6 | ALSA-2025:7440 |
| AlmaLinux:9 | vim-common | 2:8.2.2637-22.el9_6 | ALSA-2025:7440 |
| AlmaLinux:9 | vim-enhanced | 2:8.2.2637-22.el9_6 | ALSA-2025:7440 |
| AlmaLinux:9 | vim-filesystem | 2:8.2.2637-22.el9_6 | ALSA-2025:7440 |
| AlmaLinux:9 | vim-minimal | 2:8.2.2637-22.el9_6 | ALSA-2025:7440 |
| Alpine:v3.20 | vim | 9.0.1888-r0 | ALPINE-CVE-2023-4752 |
| Alpine:v3.21 | vim | 9.0.1888-r0 | ALPINE-CVE-2023-4752 |
| Alpine:v3.22 | vim | 9.0.1888-r0 | ALPINE-CVE-2023-4752 |
| Alpine:v3.23 | vim | 9.0.1888-r0 | ALPINE-CVE-2023-4752 |
| Alpine:v3.24 | vim | 9.0.1888-r0 | ALPINE-CVE-2023-4752 |
| Debian:12 | vim | 2:9.0.1378-2+deb12u1 | DEBIAN-CVE-2023-4752 |
| Debian:13 | vim | 2:9.0.1894-1 | DEBIAN-CVE-2023-4752 |
| Debian:14 | vim | 2:9.0.1894-1 | DEBIAN-CVE-2023-4752 |
| Rocky Linux:9 | vim | 2:8.2.2637-22.el9_6 | RLSA-2025:7440 |
| Ubuntu:22.04:LTS | vim | 2:8.2.3995-1ubuntu2.13 | UBUNTU-CVE-2023-4752 |
| Ubuntu:22.04:LTS | vim | 2:8.2.3995-1ubuntu2.13 | USN-6452-1 |
Affected products (as reported)
Weakness: CWE-416 · Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- https://huntr.dev/bounties/85f62dd7-ed84-4fa2-b265-8a369a318757
- https://github.com/vim/vim/commit/ee9166eb3b41846661a39b662dc7ebe8b5e15139
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ITRVK4FB74RZDIGTZJXOZMUW6X6F4TNF/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PFE3LDFRZ7EGWA5AU7YHYL62ELBOFZWQ/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I56ITJAFMFAQ2G3BMGTCGM3GS62V2DTR/
- https://lists.debian.org/debian-lts-announce/2023/09/msg00035.html
- https://support.apple.com/kb/HT213984
- http://seclists.org/fulldisclosure/2023/Oct/24
- https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html