All reports
Low

vim: heap-based buffer overflow in msg_puts_printf() in message.c

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2023-0051

Probability of exploitation in the next 30 days: 0.54%

FIRST EPSS · 2026-11-23

Description

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1144.

A heap-based buffer overflow was found in Vim in the msg_puts_printf function in the message.c file. The issue occurs because of an invalid memory access when calculating the length of a string when a specially crafted input is processed. This flaw allows an attacker who can trick a user into opening a specially crafted file into triggering the heap-based buffer overflow, causing the application to crash.