# CVE-2022-2522 — vim vim/vim

> As of 2026-10-08, CVE-2022-2522 is a HIGH-severity vulnerability in vim vim/vim, CVSS v3.1 7.8, EPSS 0.5% (46.0th percentile). Threadlinqs Intelligence links 1 tracked threat campaign to CVE-2022-2522, most recently “UT Dallas Study: Multi-Patch CVE Fixes Leave Open Source Exposed to N-Day Exploitation Windows”.

**Last updated:** 2026-10-08

## What is CVE-2022-2522?

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0061.

The record classifies CVE-2022-2522 under weakness class [CWE-122](https://intel.threadlinqs.com/cwe/CWE-122). Its CVSS v3 base vector states that the flaw requires local access to the host, needs no prior authentication, needs a user to take an action first, and has high impact on confidentiality, integrity, availability. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 1578 days ago.

## Severity and exploitation probability

- **CVSS v3.1 base score:** 7.8 — HIGH (`CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`)
- **EPSS (FIRST):** 0.5% probability of exploitation in the next 30 days, higher than 46.0% of all scored CVEs
- **CISA KEV:** Not listed in the CISA Known Exploited Vulnerabilities catalog
- **Threadlinqs priority:** 7.7/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- **Published:** 2022-07-25

## Is CVE-2022-2522 being exploited?

Weaponised exploit code for CVE-2022-2522 is publicly available. 1 public proof-of-concept repository is tracked for this identifier. It currently carries a trending score of 25 in the Threadlinqs vulnerability feed.

- [trickest/cve](https://github.com/trickest/cve/blob/main/2022/CVE-2022-2522.md) (trickest)

## Affected products and versions

- **vim**: vim/vim

## How to fix CVE-2022-2522

Vendor advisory: [https://security.gentoo.org/glsa/202305-16](https://security.gentoo.org/glsa/202305-16). Apply the vendor fix referenced above to every affected product listed in this record, then confirm the running version against the vendor advisory.

## Threat activity tracking CVE-2022-2522

1 tracked threat in the Threadlinqs corpus references CVE-2022-2522, either in the campaign’s CVE list or as an indicator on the campaign record.

- [UT Dallas Study: Multi-Patch CVE Fixes Leave Open Source Exposed to N-Day Exploitation Windows](https://intel.threadlinqs.com/threat/TL-2026-1704) — MEDIUM · 2026-07-26

## Sources

Enriched from CVE.org, FIRST EPSS, public proof-of-concept repositories.

**Vendor advisory and patch**

- [security.gentoo.org — vendor advisory](https://security.gentoo.org/glsa/202305-16)

**Other references**

- [huntr.dev](https://huntr.dev/bounties/3a2d83af-9542-4d93-8784-98b115135a22)
- [github.com](https://github.com/vim/vim/commit/5fa9f23a63651a8abdb074b4fc2ec9b1adc6b089)
- [github.com (b9e717367c395490149495cf375911b5d9de889e)](https://github.com/vim/vim/commit/b9e717367c395490149495cf375911b5d9de889e)
- [huntr.dev (3a2d83af 9542 4d93 8784 98b115135a22)](https://huntr.dev/bounties/3a2d83af-9542-4d93-8784-98b115135a22/)

Canonical: https://intel.threadlinqs.com/cve/CVE-2022-2522
Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Sign up free (Blue): https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds (https://threadlinqs.com/tl-creds); MCP access for AI agents needs Purple: https://intel.threadlinqs.com/mcp
