Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
7.8

CVE-2023-4752: Debian vim may execute code after memory misuse

CVE-2023-4752 · published 3 years ago
Summary

The version of vim included in Debian before 9.0.1858 incorrectly reuses memory that has already been released. This can allow an attacker to make the editor run unwanted code or cause it to stop working. Upgrade vim to the latest version or apply the Debian security update to fix the issue.

What to do
  • Update debian vim to version 2:9.0.1378-2+deb12u1.
  • Update debian vim to version 2:9.0.1894-1.
  • Update vim to version 9.0.2073-r0.
  • Update vim to version 9.0.1888-r0.
  • Update neovim neovim to version 0.10.0 or later.
  • Update vim vim to version 9.0.1858 or later.
  • Update apple macos to version 14.1 or later.
Affected software
Ecosystem VendorProductAffected versions
– neovim neovim >= 0.5.0, < 0.10.0
cpe:2.3:a:neovim:neovim:*:*:*:*:*:*:*:*
– vim vim < 9.0.1858
cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*
– fedoraproject fedora 37
38
39
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
– debian debian_linux 10.0
11.0
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
– apple macos < 14.1
cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*
Debian:12 debian vim < 2:9.0.1378-2+deb12u1
Fix: upgrade to 2:9.0.1378-2+deb12u1
Debian:13 debian vim < 2:9.0.1894-1
Fix: upgrade to 2:9.0.1894-1
Alpine:v3.18 – vim < 9.0.2073-r0
Fix: upgrade to 9.0.2073-r0
Alpine:v3.19 – vim < 9.0.1888-r0
Fix: upgrade to 9.0.1888-r0
Original advisory text
Use After Free in vim/vim
Use After Free in GitHub repository vim/vim prior to 9.0.1858.
Fix within
Internet-facing 14 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit (estimated)
  • Gives an attacker full control (estimated)
Severity
7.8 High
Exploitation
<1% chance of attack within 30 days
Type
CWE-416Use After Free
Timeline
Published4 Sep 2023
Updated4 Nov 2026
First seen12 Apr 2026
Sources
CVE-2023-4752 · OSV
CVE-2023-4752 · NVD
Track software like this
Free during beta