Bug 2148991 (CVE-2022-4141) - CVE-2022-4141 vim: invalid memory access in substitute with function
Summary: CVE-2022-4141 vim: invalid memory access in substitute with function
Status: NEW
Alias: CVE-2022-4141
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Nobody
QA Contact:
Depends On: 2148992 2156265
Blocks: 2148821
TreeView+ depends on / blocked
Reported: 2022-11-28 12:48 UTC by TEJ RATHI
Modified: 2023-07-07 08:28 UTC (History)
1 user (show)

Fixed In Version: vim 9.0.0947
Doc Type: If docs needed, set a value
Doc Text:
A heap-based buffer overflow vulnerability was found in Vim due to invalid memory access. This issue could allow an attacker to trick a user into opening a specially crafted file, triggering an out-of-bounds write that causes an application to crash, possibly executing code and corrupting memory.
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description TEJ RATHI 2022-11-28 12:48:20 UTC
The target's backtrace indicates that libc has detected a heap error or that the target was executing a heap function when it stopped. This could be due to heap corruption, passing a bad pointer to a heap function such as free(), etc. Since heap errors might include buffer overflows, use-after-free situations, etc. they are generally considered exploitable.


Comment 1 TEJ RATHI 2022-11-28 12:50:00 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2148992]

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