# CVE-2022-4293: Floating Point Comparison with Incorrect Operator in vim/vim

- Severity: Medium 6.8 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-12-05T00:00:00.000Z
- Modified: 2026-06-17T05:20:30.487Z
- Weaknesses: CWE-697, CWE-1077
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntrdev

## Description

Floating Point Comparison with Incorrect Operator in GitHub repository vim/vim prior to 9.0.0804.

(As written by CVE List.)

## Affected

- vim vim/vim: from unspecified before 9.0.0804
- vim vim: before 9.0.0804

## Every score

- @huntrdev: CVSS:3.0 6.8 Medium `CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://huntr.dev/bounties/385a835f-6e33-4d00-acce-ac99f3939143> (exploit, patch, third-party-advisory)
- <https://github.com/vim/vim/commit/cdef1cefa2a440911c727558562f83ed9b00e16b> (patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20230203-0007/>
- <https://security.gentoo.org/glsa/202305-16> (vendor-advisory)

## Sources

- CVE List: [CVE-2022-4293](https://www.cve.org/CVERecord?id=CVE-2022-4293), CVE Terms of Use, modified 2025-04-14
- NVD: [CVE-2022-4293](https://nvd.nist.gov/vuln/detail/CVE-2022-4293), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-4293 · Whole record: https://cve.day/CVE-2022-4293.json · Rebuilt by cve.day 2026-11-25T22:58:17.226Z
