NULL Pointer Dereference in vim/vim

Summary

CVECVE-2022-2874
StatePUBLISHED
Assigner@huntrdev
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-08-18 16:15:08 UTC
Updated2026-11-02 22:17:14 UTC
DescriptionNULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0224.

Risk And Classification

Primary CVSS: v3.1 5.5 MEDIUM from [email protected]

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

EPSS: 0.004880000 probability, percentile 0.420990000 (date 2026-11-03)

Problem Types: CWE-476 | CWE-476 CWE-476 NULL Pointer Dereference


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary5.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
3.0[email protected]Secondary6.6MEDIUMCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
3.0CNADECLARED6.6MEDIUMCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

CVSS v3.0 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
High

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

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Vim Vim All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Vim Vim/vim affected unspecified 9.0.0224 custom Not specified

References

ReferenceSourceLinkTags
patch 9.0.0224: Using NULL pointer when skipping compiled code · vim/vim@4875d6a · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Patch, Third Party Advisory
Vim, gVim: Multiple Vulnerabilities (GLSA 202305-16) — Gentoo security af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org
NULL Pointer Dereference in function generate_loadvar vulnerability found in vim af854a3a-2127-422b-91ae-364da2661108 huntr.dev Exploit, Patch, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 199672 Ubuntu Security Notification for Vim Vulnerabilities (USN-6302-1)
  • 354478 Amazon Linux Security Advisory for vim : ALAS2022-2022-131
  • 354497 Amazon Linux Security Advisory for vim : ALAS2022-2022-155
  • 354585 Amazon Linux Security Advisory for vim : ALAS-2022-155
  • 354794 Amazon Linux Security Advisory for vim : ALAS2-2023-1975
  • 355135 Amazon Linux Security Advisory for vim : ALAS2023-2023-098
  • 710718 Gentoo Linux Vim, gVim Multiple Vulnerabilities (GLSA 202305-16)
  • 752573 SUSE Enterprise Linux Security Update for vim (SUSE-SU-2022:3229-1)
  • 753066 SUSE Enterprise Linux Security Update for vim (SUSE-SU-2022:4619-1)
  • 902761 Common Base Linux Mariner (CBL-Mariner) Security Update for vim (10584)
  • 902765 Common Base Linux Mariner (CBL-Mariner) Security Update for vim (10572)
  • 903931 Common Base Linux Mariner (CBL-Mariner) Security Update for vim (10572-1)
  • 904009 Common Base Linux Mariner (CBL-Mariner) Security Update for vim (10584-1)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report