CVE Database›Document archive›CVE-2021-3968

CVE-2021-3968

vim: Heap use-after-free in ml_append_int function

Loading…

Severity

Low

Red Hat Product Security

2.9

CVSS 3.1

Review impact separately from score.

Published · November 19, 2021

Updated · October 9, 2026

Description

A flaw was found in vim. A possible heap use-after-free vulnerability could allow an attacker to input a specially crafted file leading to a crash or code execution. The highest threat from this vulnerability is to system availability.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Do not run untrusted vim scripts with -s {scriptin} as it is never safe to do so.

CVSS / CWE

CVSS 3.1 · 2.9
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

CWE-119 · Improper Restriction of Operations within the Bounds of a Memory Buffer