CVE-2024-43374

MEDIUM

CVSS v3.1: 4.5 · EPSS: 0.0009 (26.4 percentile)

No privilegesUse After FreeVendor advisory ref

Source data as of:

At a glance

Severity
MEDIUM
CVSS
4.5 v3.1 · NVD
EPSS
0.0009 (26.4 percentile) · FIRST.org
CISA KEV
No
Type
Use After Free · NVD CWE
Attack conditions (CVSS vector)
No privileges · Source: NVD Vector
Affected vendors
netapp, vim, neovim
Published
2024-08-16 · Modified: 2026-06-09

CVSS / EPSS / KEV

CVSS v3.1 4.5 / 10 MEDIUM Source: NVD
EPSS 0.0009 26.4 percentile Source: FIRST.org
CISA KEV No Source: CISA

Source — CVSS: NVD · EPSS: FIRST.org · KEV: CISA. Data & Sources

Description

The UNIX editor Vim prior to version 9.1.0678 has a use-after-free error in argument list handling. When adding a new file to the argument list, this triggers `Buf*` autocommands. If in such an autocommand the buffer that was just opened is closed (including the window where it is shown), this causes the window structure to be freed which contains a reference to the argument list that we are actually modifying. Once the autocommands are completed, the references to the window and argument list are no longer valid and as such cause an use-after-free. Impact is low since the user must either intentionally add some unusual autocommands that wipe a buffer during creation (either manually or by sourcing a malicious plugin), but it will crash Vim. The issue has been fixed as of Vim patch v9.1.0678.

Record details

CVE ID
CVE-2024-43374
CVSS (v3.1)
4.5 (MEDIUM)
Vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
Exploitability subscore
1.0
Impact subscore
3.4
EPSS
0.0009 (26.4 percentile) — 2026-06-10
CISA KEV
No
Weakness (CWE)
CWE-416
Affected vendors
netapp, vim, neovim
Affected configurations (CPE)
3
Published
2024-08-16
Modified
2026-06-09
Status
Analyzed

References

Reference URLs as listed by NVD, grouped by a mechanical match on the link's host/pattern. Labels describe the link type only.