Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
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-0261

vim: Heap-based buffer overflow in block_insert() in src/ops.c

Overview

Published
18 Jan 2022
Modified
17 Jun 2026
High CVE
0 Registry packages
18 OS packages
13 Linux distributions
Yes Fix available

Description

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

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 · 25 fixes

Oracle Linux 1 release · 1 package

fixed 1
vim-common
Oracle Linux fixes for CVE-2022-0261
ReleasePackageFixed in
8 vim-common +4 2:8.0.1763-16.0.1.el8_5.12

Photon OS 1 release · 1 package

fixed 1
vim
Photon OS fixes for CVE-2022-0261
ReleasePackageFixed in
4.0 vim +1 8.2.3428-7.ph4

Red Hat 1 release · 1 package

fixed 1
vim-common
Red Hat fixes for CVE-2022-0261
ReleasePackageFixed inAdvisory
8 vim-common +4 2:8.0.1763-16.el8_5.12 RHSA-2022:0894

SUSE Linux Enterprise 2 releases · 1 package

fixed 2
gvim
SUSE Linux Enterprise fixes for CVE-2022-0261
ReleasePackageFixed inAdvisory
12.5 gvim +3 9.0.0814-17.9.1 SUSE-SU-2022:4619-1
15.4 gvim +4 8.2.5038-150000.5.21.1 SUSE-SU-2022:2102-1

SUSE Linux Enterprise Micro 2 releases · 1 package

fixed 2
vim-data-common
SUSE Linux Enterprise Micro fixes for CVE-2022-0261
ReleasePackageFixed inAdvisory
5.1 vim-data-common +1 8.2.5038-150000.5.21.1 SUSE-SU-2022:2102-1
5.2 vim-data-common +1 8.2.5038-150000.5.21.1 SUSE-SU-2022:2102-1

alma 1 release · 2 packages

fixed 2
vim-common vim-minimal
alma fixes for CVE-2022-0261
ReleasePackageFixed in
8 vim-common +3 2:8.0.1763-16.el8_5.12
8 vim-minimal 2:8.0.1763-16.el8_5.13

amazon linux 1 release · 1 package

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

debian 6 releases · 1 package

fixed 6
vim
debian fixes for CVE-2022-0261
ReleasePackageFixed in
10 vim 2:8.1.0875-5+deb10u3
11 vim 2:8.2.2434-3+deb11u2
12 vim 2:8.2.4659-1
13 vim 2:8.2.4659-1
14 vim 2:8.2.4659-1
9 vim 2:8.0.0197-4+deb9u6

echo 1 release · 1 package

fixed 1
vim
echo fixes for CVE-2022-0261
ReleasePackageFixed in
vim 2:8.2.4659-1

openSUSE 1 release · 1 package

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

rocky 1 release · 1 package

fixed 1
vim-minimal
rocky fixes for CVE-2022-0261
ReleasePackageFixed in
8 vim-minimal 2:8.0.1763-16.el8_5.12

root.io debian 1 release · 1 package

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

ubuntu 5 releases · 1 package

fixed 5
vim
ubuntu fixes for CVE-2022-0261
ReleasePackageFixed in
18.04 vim 2:8.0.1453-1ubuntu1.13
18.04-ESM vim 2:8.0.1453-1ubuntu1.13
20.04 vim 2:8.1.2269-1ubuntu5.14
20.04-ESM vim 2:8.1.2269-1ubuntu5.14
22.04 vim 2:8.2.3995-1ubuntu2.7

References

Show all 34 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.