All reports
Low

vim: heap use-after-free in string_quote() at src/strings.c

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-2817

Probability of exploitation in the next 30 days: 0.54%

FIRST EPSS · 2026-11-18

Description

Use After Free in GitHub repository vim/vim prior to 9.0.0213.

A use-after-free vulnerability was found in Vim in the string_quote function in the strings.c file. This issue occurs because an already freed memory is used when a specially crafted input is processed. This flaw allows an attacker who can trick a user into opening a specially crafted file into triggering the use-after-free, causing the application to crash, possibly executing code and corrupting memory.