Bug 2092973 (CVE-2022-1886)

Summary: CVE-2022-1886 vim: heap-based buffer overflow in function utf_head_off
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: gchamoul, karsten, michal.skrivanek, mperina, sbonazzo, zdohnal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: vim 8.2.5016 Doc Type: If docs needed, set a value
Doc Text:
A heap buffer overflow flaw was found in Vim's utf_head_off() function in the mbyte.c file. This flaw allows an attacker to trick a user into opening a specially crafted file, triggering a heap buffer overflow that causes an application to crash, leading to a denial of service and possibly some amount of memory leak.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-07 13:20:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: Embargoed2092892    

Description Marian Rehak 2022-06-02 16:45:13 UTC
Heap-based Buffer Overflow in function utf_head_off at mbyte.c:3872.

Reference:

https://huntr.dev/bounties/fa0ad526-b608-45b3-9ebc-f2b607834d6a

Comment 2 Product Security DevOps Team 2022-06-07 13:20:26 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-1886