{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-48706","id":"CVE-2023-48706","title":"Vim has heap-use-after-free at /src/charset.c:1770:12 in skipwhite","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 ","descriptionLong":"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":"2023-11-22T22:03:39.503Z","updated":"2026-10-28T10:35:31.515546598Z","reserved":"2023-11-17T19:43:37.554Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":3.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L","rating":"low","source":"GitHub_M"},"metrics":[{"version":"3.1","score":3.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L","rating":"low","source":"GitHub_M"},{"version":"3.1","score":3.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L","rating":"low","source":"github.com"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":3.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L","rating":"low","source":"OSV"}],"rating":"low","products":["vim"],"affectedProducts":[{"vendor":"vim","product":"vim","defaultStatus":null,"versions":[{"version":"< 9.0.2121","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":["GHSA-c8qm-x72m-q53q"],"references":[{"url":"https://github.com/vim/vim/security/advisories/GHSA-c8qm-x72m-q53q","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Vendor Advisory","advisory"]},{"url":"https://github.com/vim/vim/pull/13552","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","fix"]},{"url":"https://github.com/vim/vim/commit/26c11c56888d01e298cd8044caf860f3c26f57bb","tags":["x_refsource_MISC","x_transferred","Patch","fix"]},{"url":"https://github.com/gandalf4a/crash_report/blob/main/vim/vim_huaf","tags":["x_refsource_MISC","x_transferred","Exploit","web"]},{"url":"http://www.openwall.com/lists/oss-security/2023/11/22/3","tags":["x_transferred","Mailing List","Patch","Third Party Advisory","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DNMFS3IH74KEMMESOA3EOB6MZ56TWGFF/","tags":["x_transferred","Vendor Advisory","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IVA7K73WHQH4KVFDJQ7ELIUD2WK5ZT5E/","tags":["x_transferred","Vendor Advisory","web"]},{"url":"https://security.netapp.com/advisory/ntap-20240105-0001/","tags":["x_transferred","Vendor Advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/48xxx/CVE-2023-48706.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-48706","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00544,"epssPercentile":0.4641,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-48706","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-48706","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-48706","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-48706","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}