Stack-based Buffer Overflow in vim/vim
Summary
| CVE | CVE-2022-3324 |
|---|---|
| State | PUBLISHED |
| Assigner | @huntrdev |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-09-27 23:15:15 UTC |
| Updated | 2026-09-24 15:38:04 UTC |
| Description | Stack-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0598. |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from [email protected]
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS: 0.005320000 probability, percentile 0.424830000 (date 2026-09-24)
Problem Types: CWE-121 | CWE-787 | CWE-121 CWE-121 Stack-based Buffer Overflow
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| 3.0 | [email protected] | Secondary | 7.8 | HIGH | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| 3.0 | CNA | DECLARED | 7.8 | HIGH | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v3.0 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Debian | Debian Linux | 10.0 | All | All | All |
| Operating System | Debian | Debian Linux | 11.0 | All | All | All |
| Operating System | Fedoraproject | Fedora | 35 | All | All | All |
| Operating System | Fedoraproject | Fedora | 36 | All | All | All |
| Operating System | Fedoraproject | Fedora | 37 | All | All | All |
| Application | Neovim | Neovim | All | 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 |
| [SECURITY] Fedora 36 Update: vim-9.0.720-1.fc36 - package-announce - Fedora Mailing-Lists | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | Mailing List, Third Party Advisory |
| lists.debian.org/debian-lts-announce/2025/03/msg00023.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Mailing List, Third Party Advisory |
| [SECURITY] Fedora 35 Update: vim-9.0.720-1.fc35 - package-announce - Fedora Mailing-Lists | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | Mailing List, Third Party Advisory |
| huntr – Security Bounties for any GitHub repository | af854a3a-2127-422b-91ae-364da2661108 | huntr.dev | Exploit, Third Party Advisory |
| Vim, gVim: Multiple Vulnerabilities (GLSA 202305-16) — Gentoo security | af854a3a-2127-422b-91ae-364da2661108 | security.gentoo.org | Third Party Advisory |
| patch 9.0.0598: using negative array index with negative width window · vim/vim@8279af5 · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Patch, Third Party Advisory |
| [SECURITY] Fedora 37 Update: vim-9.0.828-1.fc37 - package-announce - Fedora Mailing-Lists | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | Mailing List, Third Party Advisory |
| [SECURITY] Fedora 36 Update: vim-9.0.720-1.fc36 - package-announce - Fedora Mailing-Lists | MITRE | lists.fedoraproject.org | |
| [SECURITY] Fedora 37 Update: vim-9.0.828-1.fc37 - package-announce - Fedora Mailing-Lists | MITRE | lists.fedoraproject.org | |
| [SECURITY] Fedora 35 Update: vim-9.0.720-1.fc35 - package-announce - Fedora Mailing-Lists | MITRE | lists.fedoraproject.org | |
| 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
- 181198 Debian Security Update for vim (DLA 3182-1)
- 182228 Debian Security Update for vim (CVE-2022-3324)
- 199815 Ubuntu Security Notification for Vim Vulnerabilities (USN-6420-1)
- 283202 Fedora Security Update for vim (FEDORA-2022-40161673a3)
- 283216 Fedora Security Update for vim (FEDORA-2022-fff548cfab)
- 283438 Fedora Security Update for vim (FEDORA-2022-4bc60c32a2)
- 354794 Amazon Linux Security Advisory for vim : ALAS2-2023-1975
- 354870 Amazon Linux Security Advisory for vim : ALAS-2023-1716
- 355260 Amazon Linux Security Advisory for vim : ALAS2023-2023-117
- 672401 EulerOS Security Update for vim (EulerOS-SA-2022-2810)
- 672426 EulerOS Security Update for vim (EulerOS-SA-2022-2835)
- 672429 EulerOS Security Update for vim (EulerOS-SA-2022-2861)
- 672488 EulerOS Security Update for vim (EulerOS-SA-2023-1050)
- 672500 EulerOS Security Update for vim (EulerOS-SA-2023-1025)
- 672545 EulerOS Security Update for vim (EulerOS-SA-2023-1116)
- 672558 EulerOS Security Update for vim (EulerOS-SA-2023-1140)
- 672702 EulerOS Security Update for vim (EulerOS-SA-2023-1518)
- 710718 Gentoo Linux Vim, gVim Multiple Vulnerabilities (GLSA 202305-16)
- 752947 SUSE Enterprise Linux Security Update for vim (SUSE-SU-2022:4282-1)
- 753066 SUSE Enterprise Linux Security Update for vim (SUSE-SU-2022:4619-1)
- 904065 Common Base Linux Mariner (CBL-Mariner) Security Update for vim (11055)
- 904069 Common Base Linux Mariner (CBL-Mariner) Security Update for vim (11049)
- 904192 Common Base Linux Mariner (CBL-Mariner) Security Update for vim (11055-1)
- 904269 Common Base Linux Mariner (CBL-Mariner) Security Update for vim (11049-1)