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

EcosystemPackageFixed inAdvisory
AlmaLinux:9vim-X112:8.2.2637-22.el9_6ALSA-2025:7440
AlmaLinux:9vim-common2:8.2.2637-22.el9_6ALSA-2025:7440
AlmaLinux:9vim-enhanced2:8.2.2637-22.el9_6ALSA-2025:7440
AlmaLinux:9vim-filesystem2:8.2.2637-22.el9_6ALSA-2025:7440
AlmaLinux:9vim-minimal2:8.2.2637-22.el9_6ALSA-2025:7440
Alpine:v3.20vim9.0.1888-r0ALPINE-CVE-2023-4752
Alpine:v3.21vim9.0.1888-r0ALPINE-CVE-2023-4752
Alpine:v3.22vim9.0.1888-r0ALPINE-CVE-2023-4752
Alpine:v3.23vim9.0.1888-r0ALPINE-CVE-2023-4752
Alpine:v3.24vim9.0.1888-r0ALPINE-CVE-2023-4752
Debian:12vim2:9.0.1378-2+deb12u1DEBIAN-CVE-2023-4752
Debian:13vim2:9.0.1894-1DEBIAN-CVE-2023-4752
Debian:14vim2:9.0.1894-1DEBIAN-CVE-2023-4752
Rocky Linux:9vim2:8.2.2637-22.el9_6RLSA-2025:7440
Ubuntu:22.04:LTSvim2:8.2.3995-1ubuntu2.13UBUNTU-CVE-2023-4752
Ubuntu:22.04:LTSvim2:8.2.3995-1ubuntu2.13USN-6452-1

Affected products (as reported)

VendorProductVersions
vim vim/vim unspecified – before 9.0.1858

Weakness: CWE-416 · Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References