StraitOfVuln
Latest / CVE-2025-5351

CVE-2025-5351

MediumCVSS 6.5 (v3.1)Modified
CVE.org ↗NVD ↗

Description

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.

Details

CVE ID
CVE-2025-5351
Published / updated
04 Jul 2025, 09:15 UTC · last modified 24 Nov 2026, 11:17 UTC
Severity
MEDIUM
CVSS score
6.5 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H · Attack vector: Network
Affected vendor
Affected products
Libssh, Enterprise Linux, Openshift Container Platform
Affected versions
Libssh: ≥ 0.10.0, < 0.11.2
Enterprise Linux: 6.0
Enterprise Linux: 7.0
Enterprise Linux: 8.0
Enterprise Linux: 9.0
Enterprise Linux: 10.0
Openshift Container Platform: 4.0
Fixed versions
libssh 0.11.2
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.81% probability of exploitation in the next 30 days · 58% percentile (02 Dec 2026)
Weakness
Remediation
Upgrade to a fixed release (libssh 0.11.2) per the vendor advisory.
Source (CNA)
secalert@redhat.com