Breaking News: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2022-1621

vim: heap buffer overflow in vim_strncpy

Overview

Published
10 May 2022
Modified
17 Jun 2026
High CVE
0 Registry packages
18 OS packages
12 Linux distributions
Yes Fix available

Description

Heap buffer overflow in vim_strncpy find_word in GitHub repository vim/vim prior to 8.2.4919. This vulnerability is capable of crashing software, Bypass Protection Mechanism, Modify Memory, and possible remote execution

Source: OX vulnerability database

Severity

7.8 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weakness: CWE-122, CWE-787

Affected packages · 0

No registry package. This ID affects operating system packages only.

Operating systems · 28 fixes

Oracle Linux 2 releases · 1 package

fixed 2
vim-common
Oracle Linux fixes for CVE-2022-1621
ReleasePackageFixed in
8 vim-common +4 2:8.0.1763-19.0.1.el8_6.2
9 vim-common +4 2:8.2.2637-16.0.1.el9_0.2

Photon OS 1 release · 1 package

fixed 1
vim
Photon OS fixes for CVE-2022-1621
ReleasePackageFixed in
4.0 vim +1 8.2.4925-1.ph4

Red Hat 3 releases · 2 packages

eol 1 fixed 2
vim vim-common
Red Hat fixes for CVE-2022-1621
ReleasePackageFixed inAdvisory
7 vim +5 eol —
8 vim-common +4 2:8.0.1763-19.el8_6.2 RHSA-2022:5319
9 vim-common +4 2:8.2.2637-16.el9_0.2 RHSA-2022:5242

alma 2 releases · 1 package

fixed 2
vim-common
alma fixes for CVE-2022-1621
ReleasePackageFixed in
8 vim-common +4 2:8.0.1763-19.el8_6.2
9 vim-common +4 2:8.2.2637-16.el9_0.2

alpine 4 releases · 1 package

fixed 4
vim
alpine fixes for CVE-2022-1621
ReleasePackageFixed in
3.22 vim 8.2.4969-r0
3.23 vim 8.2.4969-r0
3.24 vim 8.2.4969-r0
edge vim 8.2.4969-r0

amazon linux 1 release · 1 package

fixed 1
vim-common
amazon linux fixes for CVE-2022-1621
ReleasePackageFixed in
2023 vim-common +10 2:9.0.1160-1.amzn2023.0.2

debian 6 releases · 1 package

fixed 5 affected 1
vim
debian fixes for CVE-2022-1621
ReleasePackageFixed in
10 vim 2:8.1.0875-5+deb10u4
11 vim affected
12 vim 2:9.0.0135-1
13 vim 2:9.0.0135-1
14 vim 2:9.0.0135-1
9 vim 2:8.0.0197-4+deb9u6

echo 1 release · 1 package

fixed 1
vim
echo fixes for CVE-2022-1621
ReleasePackageFixed in
vim 2:9.0.0135-1

openSUSE 1 release · 1 package

fixed 1
gvim
openSUSE fixes for CVE-2022-1621
ReleasePackageFixed inAdvisory
Tumbleweed gvim +4 9.0.0453-2.1 openSUSE-SU-2024:12337-1

rocky 1 release · 1 package

fixed 1
vim-common
rocky fixes for CVE-2022-1621
ReleasePackageFixed in
8 vim-common +4 2:8.0.1763-19.el8_6.2

root.io debian 1 release · 1 package

fixed 1
rootio-vim
root.io debian fixes for CVE-2022-1621
ReleasePackageFixed in
12 rootio-vim 2:9.0.0135-1

ubuntu 5 releases · 1 package

fixed 5
vim
ubuntu fixes for CVE-2022-1621
ReleasePackageFixed in
18.04 vim 2:8.0.1453-1ubuntu1.9
18.04-ESM vim 2:8.0.1453-1ubuntu1.9
20.04 vim 2:8.1.2269-1ubuntu5.8
20.04-ESM vim 2:8.1.2269-1ubuntu5.8
22.04 vim 2:8.2.3995-1ubuntu2.1

References

Show all 29 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.