Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Red Hat Security Advisory: libssh security update

0
Medium
Published: Tue May 19 2026 (05/19/2026, 13:16:29 UTC)
Source: GCVE Database
Vendor/Project: Red Hat Product Security
Product: Red Hat

Description

Multiple security vulnerabilities have been identified and addressed in the libssh library used in Red Hat Enterprise Linux 9. These include issues such as double free, use of uninitialized variables, buffer overflows, null pointer dereferences, memory exhaustion, improper input sanitization, and denial of service conditions. The vulnerabilities affect various libssh functions including key export, private key handling, base64 conversion, key exchange, SCP path handling, configuration file processing, regular expression processing, and SFTP message parsing. Red Hat has released an update to fix these vulnerabilities in libssh packages for Red Hat Enterprise Linux 9. The update is rated with a moderate security impact. Users are advised to apply the update as detailed in the Red Hat advisory to remediate these issues.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/02/2026, 21:58:14 UTC

Technical Analysis

Red Hat Product Security has issued an advisory (RHSA-2026:18683) for multiple vulnerabilities in the libssh library used in Red Hat Enterprise Linux 9. The vulnerabilities include a double free in key export functions (CVE-2025-5351), use of uninitialized variable in privatekey_from_file() (CVE-2025-4878), write beyond bounds in binary to base64 conversion (CVE-2025-4877), null pointer dereference in key exchange session ID calculation (CVE-2025-8114), memory exhaustion via repeated key exchange (CVE-2025-8277), buffer underflow on invalid input (CVE-2026-0966), improper sanitation of SCP server paths (CVE-2026-0964), and several denial of service vulnerabilities via configuration file handling, inefficient regex processing, and malformed SFTP messages (CVE-2026-0965, CVE-2026-0967, CVE-2026-0968). These issues have been fixed in updated libssh packages for Red Hat Enterprise Linux 9. The advisory provides detailed instructions for applying the update.

Potential Impact

The identified vulnerabilities in libssh could lead to memory corruption issues such as double free and buffer overflows, null pointer dereferences, memory exhaustion, improper input sanitization, and denial of service conditions. These issues may affect the stability and security of applications using libssh for SSH protocol implementation. The overall security impact is rated as moderate by Red Hat. There are no known exploits in the wild at this time.

Mitigation Recommendations

Red Hat has released updated libssh packages for Red Hat Enterprise Linux 9 that address all listed vulnerabilities. Users should apply these official updates promptly following the guidance in the Red Hat advisory (RHSA-2026:18683) and the referenced update article (https://access.redhat.com/articles/11258). No additional mitigation steps are required beyond applying the vendor-provided patches.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Csaf Category
csaf_security_advisory
Csaf Version
2.0
Publisher
Red Hat Product Security
Advisory Id
RHSA-2026:18683
Cve Count
10
Additional Cves
["CVE-2025-4878","CVE-2025-5351","CVE-2025-8114","CVE-2025-8277","CVE-2026-0964","CVE-2026-0965","CVE-2026-0966","CVE-2026-0967","CVE-2026-0968"]
Cvss Version
null

Threat ID: 6a1f4e86e29bf47b5007ef75

Added to database: 6/2/2026, 9:43:34 PM

Last enriched: 6/2/2026, 9:58:14 PM

Last updated: 6/3/2026, 4:59:44 AM

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses