CVE-2022-0261
vim: Heap-based buffer overflow in block_insert() in src/ops.c
Overview
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
| Release | Package | Fixed in |
|---|---|---|
| 8 | vim-common +4 | 2:8.0.1763-16.0.1.el8_5.12 |
Photon OS 1 release · 1 package
fixed 1
vim
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | vim +1 | 8.2.3428-7.ph4 |
Red Hat 1 release · 1 package
fixed 1
vim-common
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed 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
| Release | Package | Fixed in |
|---|---|---|
| 2023 | vim-common +10 | 2:9.0.1160-1.amzn2023.0.2 |
debian 6 releases · 1 package
fixed 6
vim
| Release | Package | Fixed 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
| Release | Package | Fixed in |
|---|---|---|
| vim | 2:8.2.4659-1 |
openSUSE 1 release · 1 package
fixed 1
gvim
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | gvim +4 | 9.0.0453-2.1 | openSUSE-SU-2024:12337-1 |
rocky 1 release · 1 package
fixed 1
vim-minimal
| Release | Package | Fixed in |
|---|---|---|
| 8 | vim-minimal | 2:8.0.1763-16.el8_5.12 |
root.io debian 1 release · 1 package
fixed 1
rootio-vim
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-vim | 2:8.2.4659-1 |
ubuntu 5 releases · 1 package
fixed 5
vim
| Release | Package | Fixed 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
- seclists.org http://seclists.org/fulldisclosure/2022/Oct/28
- seclists.org http://seclists.org/fulldisclosure/2022/Oct/41
- seclists.org http://seclists.org/fulldisclosure/2022/Oct/43
- access.redhat.com https://access.redhat.com/errata/RHSA-2022:0894
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-0261
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2044607
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2045355
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2046479
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2048519
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2049175
Show all 34 references
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2050053
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0261
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0318
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0359
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0361
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0392
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0413
- errata.almalinux.org https://errata.almalinux.org/8/ALSA-2022-0894.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2022:0894
- github.com https://github.com/vim/vim/commit/9f8c304c8a390ade133bac29963dc8e56ab14cbc
- huntr.dev https://huntr.dev/bounties/fa795954-8775-4f23-98c6-d4d4d3fe8a82
- linux.oracle.com https://linux.oracle.com/cve/CVE-2022-0261.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2022-0894.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2022/05/msg00022.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-0261
- security.gentoo.org https://security.gentoo.org/glsa/202208-32
- support.apple.com https://support.apple.com/kb/HT213444
- support.apple.com https://support.apple.com/kb/HT213488
- ubuntu.com https://ubuntu.com/security/notices/USN-5433-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6026-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2022-0261
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.