Floating Point Comparison with Incorrect Operator Affecting vim/vim package, versions [,9.0.0804)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.13% (50th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-VIMVIM-3164754
  • published8 Dec 2022
  • disclosed2 Dec 2022
  • creditex7l0it, Bram Moolenaar

Introduced: 2 Dec 2022

CVE-2022-4293  (opens in a new tab)
CWE-1077  (opens in a new tab)

How to fix?

Upgrade vim/vim to version 9.0.0804 or higher.

Overview

Affected versions of this package are vulnerable to Floating Point Comparison with Incorrect Operator in num_divide() in src/eval.c.

CVSS Scores

version 3.1