CVE-2025-5351

MediumCVSS 6.5/10Last modified Sep 1, 2026

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.

Metrics

CVSS 3.1 6.5/10CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Jul 4, 2025
Last modified
Sep 1, 2026
NVD status
Modified

Related CVEs from 2025

CVE-2025-535108.8A memory corruption vulnerability exists in the PSD Image Decoding functionality of the SAIL Image Decoding Library v0.9.8. When loading a sCVE-2025-535119.8A heap-based buffer overflow vulnerability exists in the MFER parsing functionality of The Biosig Project libbiosig 3.9.0 and Master Branch CVE-2025-535126.5The /log endpoint on a Juju controller lacked sufficient authorization checks, allowing unauthorized users to access debug messages that couCVE-2025-535136.5The /charms endpoint on a Juju controller lacked sufficient authorization checks, allowing any user with an account on the controller to uplCVE-2025-535145.9Mattermost Confluence Plugin version <1.5.0 fails to handle unexpected request body which allows attackers to crash the plugin via constant CVE-2025-535158.8A vulnerability exists in Advantech iView that allows for SQL injection and remote code execution through NetworkServlet.archiveTrap(). ThiCVE-2025-535166.1A reflected cross-site scripting (xss) vulnerability exists in the downloadZip functionality of MedDream PACS Premium 7.3.6.870. A speciallyCVE-2025-535189.8An integer overflow vulnerability exists in the ABF parsing functionality of The Biosig Project libbiosig 3.9.0 and Master Branch (35a819fa)CVE-2025-535195.4A vulnerability exists in Advantech iView versions prior to 5.7.05 build 7057, which could allow a reflected cross-site scripting (XSS) attCVE-2025-53529.6A critical stored Cross-Site Scripting (XSS) vulnerability exists in the Analytics component of lunary-ai/lunary versions up to 1.9.23, wherCVE-2025-535208.8The affected product allows firmware updates to be downloaded from EG4's website, transferred via USB dongles, or installed through EG4's CVE-2025-535219.8When a BIG-IP APM access policy is configured on a virtual server, specific malicious traffic can lead to Remote Code Execution (RCE).   No
CVE-2025-5351: Medium severity, CVSS 6.5 | Vulnix