Bug 2161348 (CVE-2023-0051) - CVE-2023-0051 vim: heap-based buffer overflow in msg_puts_printf() in message.c
Summary: CVE-2023-0051 vim: heap-based buffer overflow in msg_puts_printf() in message.c
Status: NEW
Alias: CVE-2023-0051
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 2161352 2161373
Blocks: 2159622
TreeView+ depends on / blocked
Reported: 2023-01-16 16:50 UTC by Guilherme de Almeida Suckevicz
Modified: 2023-01-16 18:29 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
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.
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2023-01-16 16:50:36 UTC
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1144.


Upstream patch:

Comment 1 Guilherme de Almeida Suckevicz 2023-01-16 17:05:04 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2161352]

Note You need to log in before you can comment on or make changes to this bug.