BreachSpiderVerified, not vibes

CVE-2022-4293 in Vim

Medium 5.5

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

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.15.5
EPSS0.4%
EPSS percentile30th
FixUnknown

Requires local access, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Vim Vim < 9.0.0804

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2022-4293
BreachSpider IDBS-2022-GLOBAL-064037-M
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Published2022-12-05
Last modified2024-11-21
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-697: CWE-697

CWE-1077: CWE-1077

Related attack patterns (CAPEC)

CAPEC-3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters via CWE-697

CAPEC-7 Blind SQL Injection via CWE-697

CAPEC-8 Buffer Overflow in an API Call via CWE-697

CAPEC-9 Buffer Overflow in Local Command-Line Utilities via CWE-697

CAPEC-10 Buffer Overflow via Environment Variables via CWE-697

Show all 29

CAPEC-14 Client-side Injection-induced Buffer Overflow via CWE-697

CAPEC-24 Filter Failure through Buffer Overflow via CWE-697

CAPEC-41 Using Meta-characters in E-mail Headers to Inject Malicious Payloads via CWE-697

CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-697

CAPEC-44 Overflow Binary Resource File via CWE-697

CAPEC-45 Buffer Overflow via Symbolic Links via CWE-697

CAPEC-46 Overflow Variables and Tags via CWE-697

CAPEC-47 Buffer Overflow via Parameter Expansion via CWE-697

CAPEC-52 Embedding NULL Bytes via CWE-697

CAPEC-53 Postfix, Null Terminate, and Backslash via CWE-697

CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-697

CAPEC-67 String Format Overflow in syslog() via CWE-697

CAPEC-71 Using Unicode Encoding to Bypass Validation Logic via CWE-697

CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-697

CAPEC-79 Using Slashes in Alternate Encoding via CWE-697

CAPEC-80 Using UTF-8 Encoding to Bypass Validation Logic via CWE-697

CAPEC-92 Forced Integer Overflow via CWE-697

CAPEC-120 Double Encoding via CWE-697

CAPEC-6 Argument Injection via CWE-697

CAPEC-15 Command Delimiters via CWE-697

CAPEC-73 User-Controlled Filename via CWE-697

CAPEC-88 OS Command Injection via CWE-697

CAPEC-182 Flash Injection via CWE-697

CAPEC-267 Leverage Alternate Encoding via CWE-697

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A floating point comparison vulnerability exists in the vim/vim repository prior to version 9.0.0804 due to the use of an incorrect operator. This could potentially allow an attacker to execute arbitrary code or cause a denial of service.

The vulnerability arises from an incorrect operator used in floating point comparisons, which could be exploited by an attacker to manipulate the program's control flow or cause unexpected behavior.

Questions

What is CVE-2022-4293?

A floating point comparison vulnerability exists in the vim/vim repository prior to version 9.0.0804 due to the use of an incorrect operator. This could potentially allow an attacker to execute arbitrary code or cause a denial of service.

What is the CVSS score for CVE-2022-4293?

CVE-2022-4293 has CVSS 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H. EPSS: 0.4%.

Is CVE-2022-4293 actively exploited?

No confirmed active exploitation of CVE-2022-4293 as of 2026-05-30.

How do I remediate CVE-2022-4293?

Priority: MEDIUM.

What systems are affected by CVE-2022-4293?

CVE-2022-4293 affects Vim Vim.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Vim","product":"Vim","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.