VULNERABILITY INTELLIGENCE
CVE-2023-48706
CVSS score3.6 LOW
EPSS probability0.54%
CISA KEVNot currently listed
Published2023-11-22
Last modified2026-09-17
CVSS vectorCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L
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.
Weakness classification
- security-advisories@github.com: CWE-416
Primary references
- security-advisories@github.com — Mailing List, Patch, Third Party Advisory
- security-advisories@github.com — Exploit
- security-advisories@github.com — Patch
- security-advisories@github.com — Issue Tracking, Patch
- security-advisories@github.com — Exploit, Vendor Advisory
- security-advisories@github.com — Vendor Advisory
- security-advisories@github.com — Vendor Advisory
- security-advisories@github.com — Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Mailing List, Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit
- af854a3a-2127-422b-91ae-364da2661108 — Patch
- af854a3a-2127-422b-91ae-364da2661108 — Issue Tracking, Patch