Security mailing lists by PureSourceCode

CVE-2023-48706

MEDIUM 4.7CVSS 3.1

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.

Published
22 Nov 2023
Last modified
17 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-416
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 4.7 CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 LOW 3.6 CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
= 38
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
= 39
NVD netapp hci_compute_node
cpe:2.3:o:netapp:hci_compute_node:-:*:*:*:*:*:*:*
(no version)
NVD neovim neovim
cpe:2.3:a:neovim:neovim:*:*:*:*:*:*:*:*
<= 0.9.5
NVD vim vim
cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*
< 9.0.2121 9.0.2121

References

History

  • 25 Nov 2026 20:37 UTC · NVD: first stored (published 22 Nov 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.