Use After Free Affecting vim/vim package, versions [,8.2.4979)


0.0
medium

Snyk CVSS

    Attack Complexity Low
    Availability High

    Threat Intelligence

    Exploit Maturity Proof of concept
    EPSS 0.09% (39th percentile)
Expand this section
NVD
7.8 high
Expand this section
SUSE
5.5 medium
Expand this section
Red Hat
6.6 medium

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-2840632
  • published 20 May 2022
  • disclosed 19 May 2022
  • credit TDHX ICS Security

How to fix?

Upgrade vim/vim to version 8.2.4979 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free in the find_pattern_in_path function.

PoC

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