Cloudanix VulnDB

CVE-2022-3153

Medium · 5.5

CVSS

5.5

EPSS

0.5%

Published

Sep 8, 2022

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A problem in the Vim text editor can make it stop working when someone opens certain files, which may briefly interrupt editing tasks.

Exploit Available
Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Denial Of Service
Component
Application
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

NULL pointer dereference triggered during file parsing in Vim, resulting in application crash and denial of service.

Why it matters to the business

Users may experience unexpected editor crashes when handling certain files, leading to minor workflow interruptions in development or editing environments where Vim is used.

How an attack unfolds

An attacker crafts a specially formatted file that triggers the NULL pointer dereference when opened or processed by a vulnerable Vim instance. The victim opens the file locally, causing the editor to crash without further code execution or data compromise.

How to fix it

Upgrade Vim to a version containing commit 1540d334a04d874c2aa9d26b82dbbcd4bc5a78de or later. Rebuild from source or obtain updated packages from the distribution if available.

How to confirm the fix worked

Verify the installed Vim version reports a commit after 1540d334a04d874c2aa9d26b82dbbcd4bc5a78de; test opening known trigger files in an isolated environment to confirm absence of crash.

Typical attack path

  1. Attacker creates a malicious file designed to trigger the dereference
  2. Attacker distributes the file via email, download, or shared storage
  3. Victim opens the file using a vulnerable Vim version on a local system
  4. Vim encounters the NULL pointer during parsing and terminates unexpectedly

How to detect it

Review system logs or crash reports for unexpected Vim terminations around the time users report issues; correlate with file access timestamps of recently opened documents.

What your security team should do

  • Prioritize updating all Vim installations to the fixed commit or newer releases
  • Educate users on avoiding untrusted files in Vim until patched
  • Monitor for new Vim releases and integrate version checks into patch management processes

The record

NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0404.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 vim 0 No fix
Debian:12 vim 0 2:9.0.0626-1
Debian:13 vim 0 2:9.0.0626-1
SUSE:Enterprise Storage 6 vim 0 9.0.0814-150000.5.28.1
SUSE:Enterprise Storage 7 vim 0 9.0.0814-150000.5.28.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS vim 0 9.0.0814-150000.5.28.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS vim 0 9.0.0814-150000.5.28.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS vim 0 9.0.0814-150000.5.28.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS vim 0 9.0.0814-150000.5.28.1
SUSE:Linux Enterprise High Performance Computing 15-ESPOS vim 0 9.0.0814-150000.5.28.1
SUSE:Linux Enterprise High Performance Computing 15-LTSS vim 0 9.0.0814-150000.5.28.1
SUSE:Linux Enterprise Micro 5.1 vim 0 9.0.0814-150000.5.28.1
SUSE:Linux Enterprise Micro 5.2 vim 0 9.0.0814-150000.5.28.1
SUSE:Linux Enterprise Micro 5.3 vim 0 9.0.0814-150000.5.28.1
SUSE:Linux Enterprise Module for Basesystem 15 SP3 vim 0 9.0.0814-150000.5.28.1
SUSE:Linux Enterprise Module for Basesystem 15 SP4 vim 0 9.0.0814-150000.5.28.1
SUSE:Linux Enterprise Module for Desktop Applications 15 SP3 vim 0 9.0.0814-150000.5.28.1
SUSE:Linux Enterprise Module for Desktop Applications 15 SP4 vim 0 9.0.0814-150000.5.28.1
SUSE:Linux Enterprise Server 12 SP2-BCL vim 0 9.0.0814-17.9.1
SUSE:Linux Enterprise Server 12 SP3-BCL vim 0 9.0.0814-17.9.1
SUSE:Linux Enterprise Server 12 SP4-LTSS vim 0 9.0.0814-17.9.1
SUSE:Linux Enterprise Server 12 SP5 vim 0 9.0.0814-17.9.1
SUSE:Linux Enterprise Server 15 SP1-BCL vim 0 9.0.0814-150000.5.28.1
SUSE:Linux Enterprise Server 15 SP1-LTSS vim 0 9.0.0814-150000.5.28.1
SUSE:Linux Enterprise Server 15 SP2-BCL vim 0 9.0.0814-150000.5.28.1
SUSE:Linux Enterprise Server 15 SP2-LTSS vim 0 9.0.0814-150000.5.28.1
SUSE:Linux Enterprise Server 15-LTSS vim 0 9.0.0814-150000.5.28.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 vim 0 9.0.0814-17.9.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 vim 0 9.0.0814-17.9.1
SUSE:Linux Enterprise Server for SAP Applications 15 vim 0 9.0.0814-150000.5.28.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP1 vim 0 9.0.0814-150000.5.28.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP2 vim 0 9.0.0814-150000.5.28.1
SUSE:Manager Proxy 4.1 vim 0 9.0.0814-150000.5.28.1
SUSE:Manager Retail Branch Server 4.1 vim 0 9.0.0814-150000.5.28.1
SUSE:Manager Server 4.1 vim 0 9.0.0814-150000.5.28.1
SUSE:OpenStack Cloud 9 vim 0 9.0.0814-17.9.1
SUSE:OpenStack Cloud Crowbar 9 vim 0 9.0.0814-17.9.1
Ubuntu:20.04:LTS vim 0 2:8.1.2269-1ubuntu5.17
Ubuntu:22.04:LTS vim 0 2:8.2.3995-1ubuntu2.11
Ubuntu:Pro:14.04:LTS vim 0 2:7.4.052-1ubuntu3.1+esm12
Ubuntu:Pro:18.04:LTS vim 0 2:8.0.1453-1ubuntu1.13+esm4
openSUSE:Leap 15.3 vim 0 9.0.0814-150000.5.28.1
openSUSE:Leap 15.4 vim 0 9.0.0814-150000.5.28.1
openSUSE:Leap Micro 5.2 vim 0 9.0.0814-150000.5.28.1
openSUSE:Leap Micro 5.3 vim 0 9.0.0814-150000.5.28.1
openSUSE:Tumbleweed vim 0 9.0.0453-2.1

Related vulnerabilities