CVE-2022-2522
Heap-based Buffer Overflow in vim/vim
Public exploit available. Not confirmed exploited in the wild yet. Fixed in 9.0.0061.
What to do
Find your product and version, then upgrade to the build on the right.
- Vim/vimAffected: ≥ unspecified, < 9.0.0061Upgrade to: 9.0.0061Stated by: CVE record
- ООО «РусБИТех-Астра» Astra Linux Special EditionAffected: 1.6 «Смоленск»Upgrade to: not statedStated by: BDU
- Red Hat Inc. Red Hat Enterprise LinuxAffected: 8Upgrade to: not statedStated by: BDU
- Novell Inc. SUSE Linux Enterprise Server for SAP ApplicationsAffected: 15Upgrade to: not statedAffected: 15-LTSSUpgrade to: not statedStated by: BDU
- Сообщество свободного программного обеспечения Debian GNU/LinuxAffected: 10Upgrade to: not statedStated by: BDU
Versions as the sources state them. 6 more products have version data. Full version matrix after sign-in
What it is
From the CVE record
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0061.
In plain language
No plain-language summary for this CVE yet.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
2 sources with a proof of concept or module.
Exploit links, PoCs and Metasploit modules after sign-in- EPSS
0.6% chance of exploitation activity in the next 30 days, which ranks it in the 47th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
The patch came 471 days before any public exploit.
- Patch availablerecord updated
- OpenVAS check added
- Public exploit / PoCsource: other
- Patch availablerecord updated
- Publishedweakness classified, att&ck mapped
Affected products
And 3 more affected products. See all after sign-in
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Scored 7.8 by NVD.
How it is reached
- Attack Vector LocalRequires local access to the vulnerable system (e.g. local login, malicious file)
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction RequiredA user must click a link, open a file, or perform some action
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
- Privilege EscalationT1068Exploitation for Privilege Escalationhigh confidence
Sources
References in the record
- huntr.dev/bounties/3a2d83af-9542-4d93-8784-98b115135a22
- github.com/vim/vim/commit/5fa9f23a63651a8abdb074b4fc2ec9b1adc6b089
- github.com/vim/vim/commit/b9e717367c395490149495cf375911b5d9de889e
And 15 more references. See all after sign-in
In the news
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Novell Inc., not every advisory. This one: public exploit.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI