Skip to main content
EPSS 0.4%top 64%

Red Hat Security Advisory: libssh security update

0
Medium
Published: 12/10/2025 (12/10/2025, 10:23:22 UTC)
Source: GCVE Database
Vendor/Project: Red Hat Product Security
Product: Red Hat

Description

libssh is a library which implements the SSH protocol. It can be used to implement client and server applications. Security Fix(es): * libssh: Incorrect Return Code Handling in ssh_kdf() in libssh (CVE-2025-5372) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Affected software

Affected versions
Red HatRed Hat Enterprise LinuxRed Hat Enterprise Linux AppStream (v. 8)Red Hat Enterprise Linux BaseOS (v. 8)aarch64Red Hat Enterprise Linux AppStream E4S (v.9.0)Red Hat Enterprise Linux BaseOS E4S (v.9.0)srcRed Hat Enterprise Linux AppStream AUS (v.8.4)Red Hat Enterprise Linux BaseOS AUS (v.8.4)Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4)Red Hat Enterprise Linux AppStream E4S (v.8.8)Red Hat Enterprise Linux BaseOS E4S (v.8.8)Red Hat Enterprise Linux AppStream TUS (v.8.8)

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/12/2026, 09:34:24 UTC

Technical Analysis

The vulnerability CVE-2025-5372 in libssh concerns incorrect return code handling in the ssh_kdf() function, which is part of the key derivation process in the SSH protocol implementation. This flaw could potentially affect the correctness of cryptographic operations relying on this function. Red Hat has released updated libssh packages for Red Hat Enterprise Linux 8 across multiple architectures to fix this issue. The advisory classifies the security impact as moderate. No detailed CVSS vector or score is available. The update is documented in Red Hat advisory RHSA-2025:21977.

Potential Impact

The vulnerability may cause improper handling of return codes in the key derivation function within libssh, potentially leading to incorrect cryptographic behavior. The exact impact is not detailed beyond the moderate severity rating provided 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 8 to address this vulnerability. Users should apply the security update as described in Red Hat advisory RHSA-2025:21977 and the related article https://access.redhat.com/articles/11258. This update fixes the incorrect return code handling in ssh_kdf(). No additional mitigation steps are indicated by the vendor.

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:20610
Cve Count
1

Threat ID: 6a16097ee29bf47b5064afbd

Added to database: 05/26/2026, 20:58:38 UTC

Last enriched: 07/12/2026, 09:34:24 UTC

Last updated: 09/10/2026, 19:36:51 UTC

Views: 168

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