Alpine: gvim, multiple vim packages, xxd: security update to 9.1.0652-r0

medium Tenable Self-Hosted Container Security Plugin ID 424651

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- Vim is an open source command line text editor. Vim < v9.1.0647 has double free in src/alloc.c:616. When
closing a window, the corresponding tagstack data will be cleared and freed. However a bit later, the
quickfix list belonging to that window will also be cleared and if that quickfix list points to the same
tagstack data, Vim will try to free it again, resulting in a double-free/use-after-free access exception.
Impact is low since the user must intentionally execute vim with several non-default flags, but it may
cause a crash of Vim. The issue has been fixed as of Vim patch v9.1.0647 (CVE-2024-41957)

- Vim is an open source command line text editor. double-free in dialog_changed() in Vim < v9.1.0648. When
abandoning a buffer, Vim may ask the user what to do with the modified buffer. If the user wants the
changed buffer to be saved, Vim may create a new Untitled file, if the buffer did not have a name yet.
However, when setting the buffer name to Unnamed, Vim will falsely free a pointer twice, leading to a
double-free and possibly later to a heap-use-after-free, which can lead to a crash. The issue has been
fixed as of Vim patch v9.1.0648. (CVE-2024-41965)

See Also

https://security.alpinelinux.org/vuln/CVE-2024-41957

https://security.alpinelinux.org/vuln/CVE-2024-41965

Plugin Details

Severity: Medium

ID: 424651

Version: Revision 1.6

Type: Local

Published: 4/4/2025

Updated: 7/2/2026

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.8

Percentile: 22.6

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.4

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2024-41957

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.6

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 8/1/2024

Reference Information

CVE: CVE-2024-41957, CVE-2024-41965

IAVA: 2024-A-0461-S, 2024-A-0536-S