Bug 2176457 (CVE-2023-1175) - CVE-2023-1175 vim: Incorrect Calculation of Buffer Size
Summary: CVE-2023-1175 vim: Incorrect Calculation of Buffer Size
Status: NEW
Alias: CVE-2023-1175
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 2176458 Red Hat2177975 Red Hat2177976
Blocks: Embargoed2176460
TreeView+ depends on / blocked
Reported: 2023-03-08 12:59 UTC by Pedro Sampaio
Modified: 2023-03-17 04:26 UTC (History)
2 users (show)

Fixed In Version: vim 9.0.1378
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Vim. There is an incorrect calculation of buffer size issue found in Vim's yank_copy_line() function of the register.c file. This flaw allows illegal memory access when using virtual editing as "startspaces" goes negative. An attacker can trick a user into opening a specially crafted file, triggering an issue that causes an application to crash leading to a denial of service, corrupting memory, and possibly executing code.
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description Pedro Sampaio 2023-03-08 12:59:02 UTC
Incorrect Calculation of Buffer Size in GitHub repository vim/vim prior to 9.0.1378.



Comment 1 Pedro Sampaio 2023-03-08 12:59:17 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2176458]

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