Bug 2242141 (CVE-2023-5344)

Summary: CVE-2023-5344 vim: Heap-based Buffer Overflow in trunc_string()
Product: [Other] Security Response Reporter: Patrick Del Bello <pdelbell>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A heap-based buffer overflow vulnerability was found in Vim's trunc_string() function of the src/message.c file. This flaw allows an attacker to trick a user into opening a specially crafted file, triggering a heap-based buffer overflow that causes an application to crash, leading to a denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2242225    
Bug Blocks: 2242140    

Description Patrick Del Bello 2023-10-04 15:37:46 UTC
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1969.

https://huntr.dev/bounties/530cb762-899e-48d7-b50e-dad09eb775bf
https://github.com/vim/vim/commit/3bd7fa12e146c6051490d048a4acbfba974eeb04

Comment 2 Sandipan Roy 2023-10-05 04:30:46 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2242225]