Access of Memory Location Before Start of Buffer in vim/vim
Summary
| CVE | CVE-2022-0351 |
|---|---|
| State | PUBLISHED |
| Assigner | @huntrdev |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-01-25 18:15:08 UTC |
| Updated | 2026-10-08 21:17:43 UTC |
| Description | Access of Memory Location Before Start of Buffer in GitHub repository vim/vim prior to 8.2. |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.006090000 probability, percentile 0.475960000 (date 2026-10-10)
Problem Types: CWE-786 | CWE-119 | CWE-786 CWE-786 Access of Memory Location Before Start of Buffer
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.0 | [email protected] | Secondary | 8.4 | HIGH | CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.0 | CNA | DECLARED | 8.4 | HIGH | CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 2.0 | [email protected] | Primary | 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v3.0 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v2.0 Breakdown
Access Vector
LocalAccess Complexity
LowAuthentication
NoneConfidentiality
PartialIntegrity
PartialAvailability
PartialAV:L/AC:L/Au:N/C:P/I:P/A:P
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Apple | Macos | All | All | All | All |
| Operating System | Debian | Debian Linux | 10.0 | All | All | All |
| Operating System | Debian | Debian Linux | 9.0 | All | All | All |
| Application | Vim | Vim | All | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| [SECURITY] [DLA 3182-1] vim security update | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Mailing List, Third Party Advisory |
| Full Disclosure: APPLE-SA-2022-10-27-7 Additional information for APPLE-SA-2022-09-12-4 macOS Monterey 12.6 | af854a3a-2127-422b-91ae-364da2661108 | seclists.org | Mailing List, Third Party Advisory |
| lists.debian.org/debian-lts-announce/2025/03/msg00023.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| Access of Memory Location Before Start of Buffer vulnerability found in vim | af854a3a-2127-422b-91ae-364da2661108 | huntr.dev | Exploit, Third Party Advisory |
| patch 8.2.4206: condition with many "(" causes a crash · vim/vim@fe6fb26 · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Patch, Third Party Advisory |
| [SECURITY] [DLA 3011-1] vim security update | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Mailing List, Third Party Advisory |
| Full Disclosure: APPLE-SA-2022-10-24-2 macOS Ventura 13 | af854a3a-2127-422b-91ae-364da2661108 | seclists.org | Mailing List, Third Party Advisory |
| Vim, gVim: Multiple Vulnerabilities (GLSA 202208-32) — Gentoo security | af854a3a-2127-422b-91ae-364da2661108 | security.gentoo.org | Third Party Advisory |
| About the security content of macOS Monterey 12.6 - Apple Support | af854a3a-2127-422b-91ae-364da2661108 | support.apple.com | Vendor Advisory |
| Full Disclosure: APPLE-SA-2022-10-27-5 Additional information for APPLE-SA-2022-10-24-2 macOS Ventura 13 | af854a3a-2127-422b-91ae-364da2661108 | seclists.org | Mailing List, Third Party Advisory |
| About the security content of macOS Ventura 13 - Apple Support | af854a3a-2127-422b-91ae-364da2661108 | support.apple.com | Vendor Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 179292 Debian Security Update for vim (DLA 3011-1)
- 181198 Debian Security Update for vim (DLA 3182-1)
- 183523 Debian Security Update for vim (CVE-2022-0351)
- 199293 Ubuntu Security Notification for Vim Vulnerabilities (USN-6026-1)
- 282294 Fedora Security Update for vim (FEDORA-2022-f05f9c155b)
- 282322 Fedora Security Update for vim (FEDORA-2022-7e9e1ae1fb)
- 353167 Amazon Linux Security Advisory for vim : ALAS-2022-1567
- 353172 Amazon Linux Security Advisory for vim : ALAS2-2022-1751
- 354421 Amazon Linux Security Advisory for vim : ALAS2022-2022-023
- 354497 Amazon Linux Security Advisory for vim : ALAS2022-2022-155
- 354585 Amazon Linux Security Advisory for vim : ALAS-2022-155
- 355135 Amazon Linux Security Advisory for vim : ALAS2023-2023-098
- 671458 EulerOS Security Update for vim (EulerOS-SA-2022-1441)
- 671465 EulerOS Security Update for vim (EulerOS-SA-2022-1462)
- 671553 EulerOS Security Update for vim (EulerOS-SA-2022-1553)
- 671585 EulerOS Security Update for vim (EulerOS-SA-2022-1591)
- 671633 EulerOS Security Update for vim (EulerOS-SA-2022-1669)
- 671639 EulerOS Security Update for vim (EulerOS-SA-2022-1655)
- 671650 EulerOS Security Update for vim (EulerOS-SA-2022-1769)
- 710607 Gentoo Linux Vim, gVim Multiple Vulnerabilities (GLSA 202208-32)
- 751791 SUSE Enterprise Linux Security Update for vim (SUSE-SU-2022:0736-1)
- 751809 OpenSUSE Security Update for vim (openSUSE-SU-2022:0736-1)
- 752246 SUSE Enterprise Linux Security Update for vim (SUSE-SU-2022:2102-1)
- 753066 SUSE Enterprise Linux Security Update for vim (SUSE-SU-2022:4619-1)