NULL Pointer Dereference Affecting vim/vim package, versions [,9.0.1992)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.05% (24th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-VIMVIM-5952551
  • published10 Oct 2023
  • disclosed1 Oct 2023
  • creditcoolkingcole

Introduced: 1 Oct 2023

CVE-2023-5441  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade vim/vim to version 9.0.1992 or higher.

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference via the screen_line() function in src/screen.c. An attacker can cause a system crash or read arbitrary files by triggering this vulnerability.

PoC

./vim -u NONE -i NONE -n -m -X -Z -e -s -S crash1 -c :qa!

CVSS Scores

version 3.1