CVE-2023-48706

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.
References
Link Resource
http://www.openwall.com/lists/oss-security/2023/11/22/3 Mailing List Patch Third Party Advisory
https://github.com/gandalf4a/crash_report/blob/main/vim/vim_huaf Exploit
https://github.com/vim/vim/commit/26c11c56888d01e298cd8044caf860f3c26f57bb Patch
https://github.com/vim/vim/pull/13552 Issue Tracking Patch
https://github.com/vim/vim/security/advisories/GHSA-c8qm-x72m-q53q Exploit Vendor Advisory
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DNMFS3IH74KEMMESOA3EOB6MZ56TWGFF/ Vendor Advisory
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IVA7K73WHQH4KVFDJQ7ELIUD2WK5ZT5E/ Vendor Advisory
https://security.netapp.com/advisory/ntap-20240105-0001/ Vendor Advisory
http://www.openwall.com/lists/oss-security/2023/11/22/3 Mailing List Patch Third Party Advisory
https://github.com/gandalf4a/crash_report/blob/main/vim/vim_huaf Exploit
https://github.com/vim/vim/commit/26c11c56888d01e298cd8044caf860f3c26f57bb Patch
https://github.com/vim/vim/pull/13552 Issue Tracking Patch
https://github.com/vim/vim/security/advisories/GHSA-c8qm-x72m-q53q Exploit Vendor Advisory
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DNMFS3IH74KEMMESOA3EOB6MZ56TWGFF/ Vendor Advisory
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IVA7K73WHQH4KVFDJQ7ELIUD2WK5ZT5E/ Vendor Advisory
https://security.netapp.com/advisory/ntap-20240105-0001/ Vendor Advisory
Configurations

Configuration 1 (hide)

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

Configuration 2 (hide)

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

Configuration 3 (hide)

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

Configuration 4 (hide)

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

History

17 Sep 2026, 17:59

Type Values Removed Values Added
References () https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DNMFS3IH74KEMMESOA3EOB6MZ56TWGFF/ - () https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DNMFS3IH74KEMMESOA3EOB6MZ56TWGFF/ - Vendor Advisory
References () https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IVA7K73WHQH4KVFDJQ7ELIUD2WK5ZT5E/ - () https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IVA7K73WHQH4KVFDJQ7ELIUD2WK5ZT5E/ - Vendor Advisory
References () https://security.netapp.com/advisory/ntap-20240105-0001/ - () https://security.netapp.com/advisory/ntap-20240105-0001/ - Vendor Advisory
First Time Netapp
Fedoraproject
Fedoraproject fedora
Neovim neovim
Neovim
Netapp hci Compute Node
CPE cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
cpe:2.3:o:netapp:hci_compute_node:-:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
cpe:2.3:a:neovim:neovim:*:*:*:*:*:*:*:*

Information

Published : 2023-11-22 22:15

Updated : 2026-09-17 17:59


NVD link : CVE-2023-48706

Mitre link : CVE-2023-48706

CVE.ORG link : CVE-2023-48706


JSON object : View

Products Affected

vim

  • vim

netapp

  • hci_compute_node

neovim

  • neovim

fedoraproject

  • fedora
CWE
CWE-416

Use After Free