Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2023-48706 Details

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.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://github.com/gandalf4a/crash_report/blob/main/vim/vim_huaf CVEExploit
https://github.com/vim/vim/commit/26c11c56888d01e298cd8044caf860f3c26f57bb CVEPatch
https://github.com/vim/vim/pull/13552 CVEIssue TrackingPatch
https://github.com/vim/vim/security/advisories/GHSA-c8qm-x72m-q53q CVEExploitVendor Advisory
https://lists.fedoraproject.org/archives/list/[email protected]/message/DNMFS3IH74KEMMESOA3EOB6MZ56TWGFF/ CVEVendor Advisory

see all 16 references

Weakness Enumeration

CWE-IDCWE NameSource
CWE-416Use After Free[email protected]

Affected Products

ProductVersions
fedoraproject fedora
38
39

CPE

  • cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
netapp hci compute node
All versions

CPE

  • cpe:2.3:o:netapp:hci_compute_node:-:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
neovim neovim
<= 0.9.5

CPE

  • cpe:2.3:a:neovim:neovim:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
vim vim
< 9.0.2121

CPE

  • cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

10 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2023-48706
NVD Published Date:
Nov 22, 2023
NVD Last Modified:
Sep 17, 2026
Source:
[email protected]
CVE-2023-48706 Details - Not Deferred