← Back

CVE-2023-48706

nvd nist
Published: Nov 22, 2023Modified: Jun 23, 2026

JSON object

Loading...
4.7
Vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
Exploitability: 1.0 / Impact: 3.6
Source: NVD

Description

Vim is a UNIX editor that, prior to version 9.0.2121, has a heap-use-after-free vulnerability. When executing a `:s` command for the very first time and using a sub-replace-special atom inside the substitution part, it is possible that the recursive `:s` call causes free-ing of memory which may later then be accessed by the initial `:s` command. The user must intentionally execute the payload and the whole process is a bit tricky to do since it seems to work only reliably for the very first :s command. It may also cause a crash of Vim. Version 9.0.2121 contains a fix for this issue.

Affected (1)

Products: Vim: Vim
1 product
Vim
Configuration A
1 vulnerable
Vulnerable SoftwareAffected Versions
Before 9.0.2121

References (16)

Source: security-advisories@github.com
Mailing ListPatchThird Party Advisory
Source: security-advisories@github.com
Exploit
Source: security-advisories@github.com
Issue TrackingPatch
Source: security-advisories@github.com
ExploitVendor Advisory
Source: security-advisories@github.com
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing ListPatchThird Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit
Source: af854a3a-2127-422b-91ae-364da2661108
Issue TrackingPatch
Source: af854a3a-2127-422b-91ae-364da2661108
ExploitVendor Advisory
Source: af854a3a-2127-422b-91ae-364da2661108

Timeline

No history available yet.