Linux Distros Unpatched Vulnerability : CVE-2025-5351

critical Nessus Plugin ID 258011

Synopsis

The Linux/Unix host has one or more packages installed with a vulnerability that the vendor indicates will not be patched.

Description

The Linux/Unix host has one or more packages installed that are impacted by a vulnerability without a vendor supplied patch available.

- A flaw was found in the key export functionality of libssh. The issue occurs in the internal function responsible for converting cryptographic keys into serialized formats. During error handling, a memory structure is freed but not cleared, leading to a potential double free issue if an additional failure occurs later in the function. This condition may result in heap corruption or application instability in low-memory scenarios, posing a risk to system reliability where key export operations are performed.
(CVE-2025-5351)

Note that Nessus relies on the presence of the package as reported by the vendor.

Solution

There is no known solution at this time.

See Also

https://access.redhat.com/security/cve/cve-2025-5351

Plugin Details

Severity: Critical

ID: 258011

File Name: unpatched_CVE_2025_5351.nasl

Version: 1.4

Type: local

Agent: unix

Family: Misc.

Published: 8/27/2025

Updated: 1/12/2026

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.3

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.4

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

CVSS Score Source: CVE-2025-5351

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9

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

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

Vulnerability Information

CPE: p-cpe:/a:centos:centos:libssh-config, cpe:/o:redhat:enterprise_linux:9, cpe:/o:centos:centos:8, cpe:/o:redhat:enterprise_linux:10, p-cpe:/a:redhat:enterprise_linux:libssh-devel, p-cpe:/a:centos:centos:libssh, p-cpe:/a:redhat:enterprise_linux:libssh-config, p-cpe:/a:centos:centos:libssh-devel, p-cpe:/a:redhat:enterprise_linux:libssh, cpe:/o:redhat:enterprise_linux:8

Required KB Items: Host/cpu, Host/local_checks_enabled, global_settings/vendor_unpatched, Host/OS/identifier

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 7/3/2025

Reference Information

CVE: CVE-2025-5351