Alpine: multiple libssh packages: security update to 0.12.1-r0

high Tenable Cloud Security Plugin ID 482897

Description

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

- A flaw was found in libssh. Incorrect AES-GCM finalization checks in builds using the OpenSSL backend can
effectively remove integrity protection, allowing an in-path attacker to modify plaintext on the wire
without detection. (CVE-2026-59847)

- A flaw was found in libssh. During SFTP server directory listing, the longname field is constructed with
unsafe concatenation into a fixed-size stack buffer. When a client causes the server to list attacker-
controlled filenames, sufficiently long names can overflow that stack buffer and may lead to crashes or
possible code execution on the server. (CVE-2026-15370)

- A flaw was found in libssh. During server-side GSSAPI key exchange, a client-supplied Curve25519 public
key shorter than the expected length is copied without proper length validation, leading to an out-of-
bounds heap read. This could allow a remote unauthenticated attacker to disclose small amounts of server
memory. (CVE-2026-59842)

- A flaw was found in libssh. A remote authenticated peer can advertise a zero maximum packet size in
SSH_MSG_CHANNEL_OPEN, causing later channel writes to loop indefinitely and consume CPU, leading to denial
of service. (CVE-2026-59843)

- A flaw was found in libssh. A remote authenticated client can issue SSH_FXP_READ requests with an
arbitrarily large length, causing a libssh SFTP server to allocate excessive memory and potentially
exhaust it through repeated requests. (CVE-2026-59844)

Solution

Update the libssh library and its related packages to version 0.12.1-r0 or later.

See Also

https://security.alpinelinux.org/vuln/CVE-2026-15370

https://security.alpinelinux.org/vuln/CVE-2026-59842

https://security.alpinelinux.org/vuln/CVE-2026-59843

https://security.alpinelinux.org/vuln/CVE-2026-59844

https://security.alpinelinux.org/vuln/CVE-2026-59845

https://security.alpinelinux.org/vuln/CVE-2026-59846

https://security.alpinelinux.org/vuln/CVE-2026-59847

https://security.alpinelinux.org/vuln/CVE-2026-59848

https://security.alpinelinux.org/vuln/CVE-2026-59849

https://security.alpinelinux.org/vuln/CVE-2026-59850

https://security.alpinelinux.org/vuln/CVE-2026-59851

Plugin Details

Severity: High

ID: 482897

Version: Revision 1.2

Type: Local

Published: 11/26/2026

Updated: 11/26/2026

Supported Sensors: Agentless Assessment

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 93.19

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2026-59847

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 7/21/2026

Reference Information

CVE: CVE-2026-15370, CVE-2026-59842, CVE-2026-59843, CVE-2026-59844, CVE-2026-59845, CVE-2026-59846, CVE-2026-59847, CVE-2026-59848, CVE-2026-59849, CVE-2026-59850, CVE-2026-59851

IAVA: 2026-A-0788