Bug 2151566 (CVE-2022-4293) - CVE-2022-4293 vim: floating point exception in num_divide() in src/eval.c
Summary: CVE-2022-4293 vim: floating point exception in num_divide() in src/eval.c
Status: NEW
Alias: CVE-2022-4293
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Nobody
QA Contact:
Depends On: 2151567 2156268 2156269
Blocks: 2151568
TreeView+ depends on / blocked
Reported: 2022-12-07 14:05 UTC by Guilherme de Almeida Suckevicz
Modified: 2023-07-07 08:29 UTC (History)
2 users (show)

Fixed In Version: vim 9.0.0804
Doc Type: If docs needed, set a value
Doc Text:
A floating point exception flaw was found in Vim's num_divide() function of the eval.c file. This issue occurs when dividing the largest negative number by -1. This could allow an attacker to trick a user into opening a specially crafted file, triggering an application to crash and leading to a denial of service.
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2022-12-07 14:05:43 UTC
Floating Point Comparison with Incorrect Operator in GitHub repository vim/vim prior to 9.0.0804.


Upstream patch:

Comment 1 Guilherme de Almeida Suckevicz 2022-12-07 14:05:59 UTC
Created vim tracking bugs for this issue:

Affects: fedora-all [bug 2151567]

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