{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-46246","published":"2023-10-27T19:15:41.417000Z","last_modified":"2026-06-23T18:17:34.203000Z","status":"Modified","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-190","CWE-416"],"cpes":[{"criteria":"cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*","part":"a","vendor":"vim","product":"vim","version_end_excluding":"9.0.2068"}],"cpes_truncated":false,"vendors":["vim"],"products":["vim/vim"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00353,"percentile":0.2137,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2023-46246/","html_en":"/en/cve/CVE-2023-46246/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-46246","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-46246"},"untrusted":{"vendor_name":"Vim","product_name":"Vim","desc_en":"Vim is an improved version of the good old UNIX editor Vi. Heap-use-after-free in memory allocated in the function `ga_grow_inner` in in the file `src/alloc.c` at line 748, which is freed in the file `src/ex_docmd.c` in the function `do_cmdline` at line 1010 and then used again in `src/cmdhist.c` at line 759. When using the `:history` command, it's possible that the provided argument overflows the accepted value. Causing an Integer Overflow and potentially later an use-after-free. This vulnerability has been patched in version 9.0.2068.","affected":[{"untrusted_vendor":"vim","untrusted_product":"vim","versions":[]}],"references":[{"url":"https://github.com/vim/vim/commit/9198c1f2b1ddecde22af918541e0de2a32f0f45a","tags":["Patch"]},{"url":"https://github.com/vim/vim/security/advisories/GHSA-q22m-h7m2-9mgm","tags":["Exploit","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DNMFS3IH74KEMMESOA3EOB6MZ56TWGFF/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IVA7K73WHQH4KVFDJQ7ELIUD2WK5ZT5E/","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20231208-0006/","tags":[]}]}}