Summary
Philippe Antoine discovered that libssh did not properly manage memory
when calculating a session id during the key exchange process. An attacker
could possibly use this issue to cause libssh to crash, resulting in a
denial of service.
Fixed packages 6
| Release | Package | Fixed in |
|---|---|---|
| Ubuntu · 22.04 LTS 22.04:LTS | libssh | 0.9.6-2ubuntu0.22.04.5 |
| Ubuntu · 24.04 LTS 24.04:LTS | libssh | 0.10.6-2ubuntu0.2 |
| Ubuntu · 25.10 | libssh | 0.11.2-1ubuntu0.1 |
| Ubuntu · Pro 16.04 LTS Pro:16.04:LTS | libssh | 0.6.3-4.3ubuntu0.6+esm3 |
| Ubuntu · Pro 18.04 LTS Pro:18.04:LTS | libssh | 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm5 |
| Ubuntu · Pro 20.04 LTS Pro:20.04:LTS | libssh | 0.9.3-2ubuntu2.5+esm2 |
Vulnerabilities 1
-
Medium 4.7
Libssh: null pointer dereference in libssh kex session id calculation
A flaw was found in libssh, a library that implements the SSH protocol. When calculating the session ID during the key exchange (KEX) process, an allocation failure in cryptographic functions may lead to a NULL pointer dereference. This issue can cause the cl…
References
-
report
https://ubuntu.com/security/CVE-2025-8114