{"id":"CVE-2022-2845","title":"Improper Validation of Specified Quantity in Input in GitHub repository vim/vim prior to 9.0.0218.","summary":"Improper Validation of Specified Quantity in Input in GitHub repository vim/vim prior to 9.0.0218.","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cwe":["CWE-1284"],"vendor":"vim","product":"vim","affected":["vim < 9.0.0218","fedora = 35","fedora = 37"],"patched":["vim 9.0.0218"],"published":"2022-08-17","updated":"2026-10-09","sourceUpdated":"2026-10-09T14:17:08.410","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2022-2845","references":[{"url":"https://github.com/vim/vim/commit/e98c88c44c308edaea5994b8ad4363e65030968c","label":"security@huntr.dev"},{"url":"https://huntr.dev/bounties/3e1d31ac-1cfd-4a9f-bc5c-213376b69445","label":"security@huntr.dev"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C72HDIMR3KTTAO7QGTXWUMPBNFUFIBRD/","label":"security@huntr.dev"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWOJOA7PZZAMBI5GFTL6PWHXMWSDLUXL/","label":"security@huntr.dev"},{"url":"https://security.gentoo.org/glsa/202305-16","label":"security@huntr.dev"},{"url":"https://github.com/vim/vim/commit/e98c88c44c308edaea5994b8ad4363e65030968c","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://huntr.dev/bounties/3e1d31ac-1cfd-4a9f-bc5c-213376b69445","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C72HDIMR3KTTAO7QGTXWUMPBNFUFIBRD/","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWOJOA7PZZAMBI5GFTL6PWHXMWSDLUXL/","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.gentoo.org/glsa/202305-16","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-2845.json"},{"url":"https://access.redhat.com/security/cve/CVE-2022-2845"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2119844"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-2845"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2845"}],"tags":["nvd","csaf","vex","red-hat","cve.org","score-dispute"],"epss":0.00534,"epssPercentile":0.44903,"ingestedAt":"2026-10-09T15:00:31.348Z","scores":{"nvd":7.8,"vendor":2.8,"cna":7.8},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-09T13:34:51.796430Z"},"slug":"CVE-2022-2845","body":"## Overview\n\nImproper Validation of Specified Quantity in Input in GitHub repository vim/vim prior to 9.0.0218.\n\n## Affected\n\n- `vim < 9.0.0218`\n- `fedora = 35`\n- `fedora = 37`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `vim 9.0.0218`\n\n## Vendor advisories\n\n- **Red Hat VEX** · Low · affected: Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · updated 2026-10-09 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-2845.json)","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}