Bug 2193207 (CVE-2022-2874) - CVE-2022-2874 vim: NULL pointer dereference in generate_loadvar() in vim9compile.c
Summary: CVE-2022-2874 vim: NULL pointer dereference in generate_loadvar() in vim9comp...
Keywords:
Status: NEW
Alias: CVE-2022-2874
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2193210
Blocks: 2193204
TreeView+ depends on / blocked
 
Reported: 2023-05-04 17:12 UTC by Guilherme de Almeida Suckevicz
Modified: 2023-07-07 08:34 UTC (History)
2 users (show)

Fixed In Version: vim 9.0.0224
Doc Type: If docs needed, set a value
Doc Text:
A NULL pointer dereference vulnerability was found in Vim in the generate_loadvar function in the vim9compile.c file. This flaw allows an attacker who can trick a user into processing a specially crafted file to trigger the NULL pointer dereference, causing the application to crash.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2023-05-04 17:12:07 UTC
NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0224.

Reference:
https://huntr.dev/bounties/95f97dfe-247d-475d-9740-b7adc71f4c79

Upstream patch:
https://github.com/vim/vim/commit/4875d6ab068f09df88d24d81de40dcd8d56e243d


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