RHEL 7 : libssh2 (RHSA-2026:61752)

high Nessus Plugin ID 341725

Synopsis

The remote Red Hat host is missing one or more security updates for libssh2.

Description

The remote Redhat Enterprise Linux 7 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2026:61752 advisory.

The libssh2 packages provide a library that implements the SSH2 protocol.

Security Fix(es):

* libssh2: integer overflow via large username or password arguments (CVE-2026-7598)

* libssh2: libssh2: Heap buffer overflow via integer overflow in publickey attribute allocation (CVE-2026-58050)

* libssh2: libssh2: Arbitrary code execution via double-free in SFTP session (CVE-2026-66032)

* libssh2: libssh2: Information disclosure and potential arbitrary code execution via heap out-of-bounds read (CVE-2026-66034)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Tenable has extracted the preceding description block directly from the Red Hat Enterprise Linux security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the RHEL libssh2 package based on the guidance in RHSA-2026:61752.

See Also

https://access.redhat.com/errata/RHSA-2026:61752

https://access.redhat.com/security/updates/classification/#important

https://bugzilla.redhat.com/show_bug.cgi?id=2464597

https://bugzilla.redhat.com/show_bug.cgi?id=2493955

https://bugzilla.redhat.com/show_bug.cgi?id=2506857

https://bugzilla.redhat.com/show_bug.cgi?id=2506860

http://www.nessus.org/u?b00638af

Plugin Details

Severity: High

ID: 341725

File Name: redhat-RHSA-2026-61752.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 8/31/2026

Updated: 8/31/2026

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Tenable Cloud Security, Tenable Self-Hosted Container Security, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.9

Percentile: 96.76

Vendor

Vendor Severity: Important

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

CVSS Score Source: CVE-2026-7598

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

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

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

CVSS Score Source: CVE-2026-58050

CVSS v4

Risk Factor: High

Base Score: 8.7

Threat Score: 7.4

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

CVSS Score Source: CVE-2026-66032

Vulnerability Information

CPE: cpe:/o:redhat:enterprise_linux:7, cpe:/o:redhat:rhel_els:7, p-cpe:/a:redhat:enterprise_linux:libssh2-devel, p-cpe:/a:redhat:enterprise_linux:libssh2

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/31/2026

Vulnerability Publication Date: 5/1/2026

Reference Information

CVE: CVE-2026-58050, CVE-2026-66032, CVE-2026-66034, CVE-2026-7598

CWE: 125, 1341, 190, 787

RHSA: 2026:61752