{"schemaVersion":3,"id":"CVE-2022-4293","aliases":["ALPINE-CVE-2022-4293","UBUNTU-CVE-2022-4293","DEBIAN-CVE-2022-4293"],"status":"published","duplicateOf":null,"title":null,"description":"Floating Point Comparison with Incorrect Operator in GitHub repository vim/vim prior to 9.0.0804.","dates":{"published":"2022-12-05T00:00:00.000Z","modified":"2025-04-14T17:56:49.676Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.8,"severity":"medium","version":"3.0","versionLabel":"v3.0","source":"CVE.org","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":6.8,"severity":"medium","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":6.8,"severity":"medium","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","exploitability":6.4,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":6.8,"severity":"medium","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00476,"percentile":0.3984,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00476},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00463,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00476,"percentile":0.3984}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00476,"percentile":0.3984}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_0AF97BECC8EAD9AB","name":"Exploit Reference (huntr.dev)","source":"reference","url":"https://huntr.dev/bounties/385a835f-6e33-4d00-acce-ac99f3939143","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-1077","name":"Floating Point Comparison with Incorrect Operator","description":"The code performs a comparison such as an\n        equality test between two float (floating point) values, but\n        it uses comparison operators that do not account for the\n        possibility of loss of precision.","type":"weakness","status":"Incomplete","abstraction":"Variant","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/1077.html"},{"id":"CWE-697","name":"Incorrect Comparison","description":"The product compares two entities in a security-relevant context, but the comparison is incorrect.","type":"weakness","status":"Incomplete","abstraction":"Pillar","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/697.html"}],"affected":[{"vendor":"alpine","product":"vim","name":"vim","label":"vim","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/vim","purlType":"apk","versions":[{"text":"< 9.0.0999-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.0.0999-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"vim","name":"vim","label":"vim","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/vim","purlType":"deb","versions":[{"text":"< 2:9.0.0813-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:9.0.0813-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"vim","name":"vim","label":"vim","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/vim","purlType":"deb","versions":[{"text":"< 2:8.1.2269-1ubuntu5.18","noFixRecorded":false,"fixedIn":null},{"text":"< 2:8.2.3995-1ubuntu2.12","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:8.1.2269-1ubuntu5.18 | < 2:8.2.3995-1ubuntu2.12","eol":null,"hubHref":null},{"vendor":"vim","product":"vim","name":"vim","label":"vim","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 9.0.0804","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.0.0804","eol":null,"hubHref":"/vendor/vim/vim"},{"vendor":"vim","product":"vim/vim","name":"vim/vim","label":"vim/vim","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, < 9.0.0804","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, < 9.0.0804","eol":null,"hubHref":"/vendor/vim/vimvim"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://huntr.dev/bounties/385a835f-6e33-4d00-acce-ac99f3939143","label":"huntr.dev/bounties/385a835f-6e33-4d00-acce-ac99f3939143","hostname":"huntr.dev","tags":["Exploit","Patch","Third Party Advisory"]},{"url":"https://github.com/vim/vim/commit/cdef1cefa2a440911c727558562f83ed9b00e16b","label":"github.com/vim/vim/commit/cdef1cefa2a440911c727558562f83ed9b00e16b","hostname":"github.com","tags":["Patch","Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20230203-0007/","label":"security.netapp.com/advisory/ntap-20230203-0007/","hostname":"security.netapp.com","tags":[]},{"url":"https://security.gentoo.org/glsa/202305-16","label":"security.gentoo.org/glsa/202305-16","hostname":"security.gentoo.org","tags":["Vendor Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2022-4293","label":"security.alpinelinux.org/vuln/CVE-2022-4293","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-4293","label":"ubuntu.com/security/CVE-2022-4293","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6420-1","label":"ubuntu.com/security/notices/USN-6420-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-4293","label":"www.cve.org/CVERecord?id=CVE-2022-4293","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-4293","label":"security-tracker.debian.org/tracker/CVE-2022-4293","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["SUSE-SU-2022:4631-1","SUSE-SU-2023:0209-1","USN-6420-1"],"duplicates":[],"related":["SUSE-SU-2022:4631-1","SUSE-SU-2023:0209-1","USN-6420-1"]},"timeline":[{"kind":"published","date":"2022-12-05T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-14T17:56:49.676Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":37,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T14:03:00.520Z","stale":false,"partial":false}}