Critical Security Vulnerability in libssh2 Package: Red Hat Security Advisory

libssh2 Updated 01 Sep 2026

Summary

01/09/2026
N/A
Yes i
Critical
9.1

RHSA-2026:61752: Red Hat Security Advisory: libssh2 security update. Affects libssh2 versions < 0:1.8.0-4.el7_9.2. Fixed in 0:1.8.0-4.el7_9.2. 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

libssh2 is a widely used library that provides an API for implementing SSH2 client and server functionalities. It is essential for secure data communication over networks, enabling encrypted sessions and secure file transfers. The library is integral to many applications and services that require secure remote access. However, recent vulnerabilities have been identified that could compromise the integrity and confidentiality of data transmitted using this library.

Vulnerability Detail

The vulnerabilities identified in libssh2, including CVE-2026-58050, CVE-2026-66032, CVE-2026-66034, and CVE-2026-7598, stem from flaws in the library's handling of SSH connections. These vulnerabilities could allow attackers to exploit weaknesses in the library, potentially leading to unauthorized access, data breaches, or denial of service. The vulnerabilities have been assigned a CVSS score of 9.1, indicating a critical severity level. Attackers could leverage these vulnerabilities to execute arbitrary code or disrupt services, making it imperative for users to address them promptly.

How To Fix

Minimum fixed version

0:1.8.0-4.el7_9.2

This is the first release that contains the fix.

sudo dnf update libssh2

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

Workaround

If immediate updating is not feasible, users may consider disabling any services that rely on libssh2 until the update can be applied. This can help mitigate the risk of exploitation while a permanent fix is being implemented.

Conclusion

The vulnerabilities in the libssh2 package pose significant risks to applications relying on secure SSH communications. It is crucial for users to update to the patched version to protect against potential exploits. Utilizing tools like Vulert can aid in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for libssh2 →

Share this vulnerability

FAQ

libssh2 is a library that provides an API for SSH2 client and server functionalities, enabling secure data communication over networks.

The vulnerabilities could lead to unauthorized access, data breaches, or denial of service, compromising the security of applications using the library.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.

The vulnerabilities have a CVSS score of 9.1, indicating a critical severity level.

Regularly update your packages to the latest versions and monitor for security advisories related to the software you use.

Related vulnerabilities

Recent vulnerabilities recorded for libssh2.

How To Fix

Minimum fixed version

0:1.8.0-4.el7_9.2

This is the first release that contains the fix.

sudo dnf update libssh2

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