Out-of-bounds Write Affecting vim/vim package, versions [,8.2.4977)


0.0
medium

Snyk CVSS

    Attack Complexity Low
    Availability High

    Threat Intelligence

    EPSS 0.05% (19th percentile)
Expand this section
NVD
7.8 high
Expand this section
SUSE
3.3 low
Expand this section
Red Hat
7.3 high

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 ID SNYK-UNMANAGED-VIMVIM-2840633
  • published 20 May 2022
  • disclosed 19 May 2022
  • credit TDHX ICS Security

How to fix?

Upgrade vim/vim to version 8.2.4977 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write in the vim_regsub_both function.

PoC

./vim -u NONE -i NONE -n -m -X -Z -e -s -S /mnt/share/max/fuzz/poc/vim/poc_obw_s.dat -c :qa!