Security Update for libssh: Addressing Multiple Vulnerabilities

libssh Updated 26 May 2026

Summary

19/05/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:18160: Moderate: libssh security update. Affects libssh versions < 0.12.0-2.el10. Fixed in 0.12.0-2.el10. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

libssh is a widely used library that implements the SSH protocol, enabling secure communication between client and server applications. It is integral for various applications requiring secure file transfers and remote command execution. However, vulnerabilities in libssh can expose systems to significant risks, including unauthorized access and denial of service attacks.

Vulnerability Detail

The libssh library has several vulnerabilities that could lead to serious security issues. These include a buffer underflow in the ssh_get_hexa() function when handling invalid input (CVE-2026-0966), improper sanitation of paths from SCP servers (CVE-2026-0964), and multiple denial of service vulnerabilities due to improper configuration file handling (CVE-2026-0965), inefficient regular expression processing (CVE-2026-0967), and malformed SFTP messages (CVE-2026-0968). These vulnerabilities can lead to application crashes, unauthorized access, and service disruptions.

How To Fix

Minimum fixed version

0.12.0-2.el10

This is the first release that contains the fix.

sudo dnf update libssh

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If you are unable to update the package immediately, consider implementing strict input validation and sanitization in your applications that utilize libssh to mitigate the risks associated with these vulnerabilities.

Conclusion

The vulnerabilities in libssh pose significant risks to applications relying on this library for secure communication. It is crucial to update to the latest patched version to protect against potential exploits. Additionally, implementing workarounds can help mitigate risks until updates are applied.

See every vulnerability recorded for libssh →

Share this vulnerability

FAQ

libssh is a library that implements the SSH protocol, allowing secure communication for client and server applications.

The vulnerabilities include buffer underflows, improper path sanitation, and denial of service issues.

You can use Vulert, which monitors open-source vulnerabilities in your software using a manifest file like package-lock.json. Visit Vulert Scanner to check your application without any signup.

Implement strict input validation and sanitization in your applications to mitigate risks until you can update.

For detailed information, refer to the CVE pages listed in the vulnerability report.

Related vulnerabilities

Recent vulnerabilities recorded for libssh.

How To Fix

Minimum fixed version

0.12.0-2.el10

This is the first release that contains the fix.

sudo dnf update libssh

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback