Lucene search
K

A flaw has been found in libssh in versions prior to 0.9.6. The SSH protocol keeps track of two shared secrets during the lifetime of the session. One of them is called secret_hash and the other session_id. Initially, both of them are the same, but after key re-exchange, previous session_id is kept and used as an input to new secret_hash. Historically, both of these buffers had shared length variable, which worked as long as these buffers were same. But the key re-exchange operation can also change the key exchange method, which can be based on hash of different size, eventually creating "secret_hash" of different size than the session_id has. This becomes an issue when the session_id memory is zeroed or when it is used again during second key re-exchange.

🗓️ 02 Oct 2025 06:11:10Reported by MicrosoftType 
mscve
 mscve
🔗 msrc.microsoft.com👁 1 Views

Libssh before 0.9.6 may mis-handle secret_hash and session_id after reexchange, risking zeroing or reuse.

Related
Detection
ReporterTitlePublishedViews
Family
IBM Security Bulletins
Security Bulletin: IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data is vulnerable to a denial of service in Python (CVE-2021-3737)
12 Jan 202321:59
ibm
IBM Security Bulletins
Security Bulletin: Multiple Vulnerabilities in CloudPak for Watson AIOps
26 Mar 202502:21
ibm
IBM Security Bulletins
Security Bulletin: IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data is vulnerable to a heap-based buffer overflow in libssh, caused by improper bounds checking.(CVE-2021-3634).
12 Jan 202321:59
ibm
IBM Security Bulletins
Security Bulletin: IBM App Connect Enterprise Certified Container operands may be vulnerable to arbitrary code execution due to CVE-2021-3634
22 Jun 202210:23
ibm
IBM Security Bulletins
Security Bulletin: IBM MQ Operator and Queue manager container images are vulnerable to multiple vulnerabilities from gzip, jackson-databind, libssh, gnutls, nettle and zlib
25 May 202214:55
ibm
IBM Security Bulletins
Security Bulletin: IBM Cloud Pak for Security includes components with multiple known vulnerabilities
19 Jan 202313:54
ibm
IBM Security Bulletins
Security Bulletin: IBM QRadar SIEM Application Framework Base Image is vulnerable to using components with Known Vulnerabilities
25 Oct 202215:02
ibm
IBM Security Bulletins
Security Bulletin: Netcool Operations Insight v1.6.6 contains fixes for multiple security vulnerabilities.
25 Oct 202213:11
ibm
IBM Security Bulletins
Security Bulletin: Multiple vulnerabilities may affect IBM Robotic Process Automation for Cloud Pak
25 Aug 202201:57
ibm
FreeBSD
libssh -- possible heap-buffer overflow vulnerability
26 Aug 202100:00
freebsd
Rows per page
Vulners

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

02 Oct 2025 06:11Current
7High risk
Vulners AI Score7
CVSS 24
CVSS 3.16.5
EPSS0.00108
1