CVE-2023-46246

Summary

CVECVE-2023-46246
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-10-27 19:15:00 UTC
Updated2023-11-07 18:09:00 UTC
DescriptionVim 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.

Risk And Classification

Problem Types: CWE-190

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Vim Vim All All All All

References

ReferenceSourceLinkTags
Integer Overflow in :history command · Advisory · vim/vim · GitHub MISC github.com
patch 9.0.2068: [security] overflow in :history · vim/vim@9198c1f · GitHub MISC github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 200016 Ubuntu Security Notification for Vim Vulnerabilities (USN-6557-1)
  • 284816 Fedora Security Update for vim (FEDORA-2023-ca6c3651fe)
  • 285093 Fedora Security Update for vim (FEDORA-2023-3fbd936b15)
  • 296107 Oracle Solaris 11.4 Support Repository Update (SRU) 65.157.1 Missing (CPUJAN2024)
  • 356740 Amazon Linux Security Advisory for vim : ALAS2-2023-2338
  • 356783 Amazon Linux Security Advisory for vim : ALAS-2023-1893
  • 356913 Amazon Linux Security Advisory for vim : ALAS2023-2023-431
  • 357186 Amazon Linux Security Advisory for vim : AL2012-2024-485
  • 673345 EulerOS Security Update for vim (EulerOS-SA-2024-1130)
  • 673421 EulerOS Security Update for vim (EulerOS-SA-2024-1306)
  • 673552 EulerOS Security Update for vim (EulerOS-SA-2024-1099)
  • 673740 EulerOS Security Update for vim (EulerOS-SA-2024-1075)
  • 673930 EulerOS Security Update for vim (EulerOS-SA-2024-1189)
  • 673976 EulerOS Security Update for vim (EulerOS-SA-2024-1209)
  • 674064 EulerOS Security Update for vim (EulerOS-SA-2024-1114)
  • 907695 Common Base Linux Mariner (CBL-Mariner) Security Update for vim (31702-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report