Advisory

RLSA-2026:18683

Also known as: CVE-2025-4877, 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

Summary

Moderate: libssh security update

Details

libssh is a library which implements the SSH protocol. It can be used to implement client and server applications.

Security Fix(es):

  • libssh: Double Free Vulnerability in libssh Key Export Functions (CVE-2025-5351)
  • libssh: Use of uninitialized variable in privatekey_from_file() (CVE-2025-4878)
  • libssh: Write beyond bounds in binary to base64 conversion functions (CVE-2025-4877)
  • libssh: NULL Pointer Dereference in libssh KEX Session ID Calculation (CVE-2025-8114)
  • libssh: Memory Exhaustion via Repeated Key Exchange in libssh (CVE-2025-8277)
  • libssh: Buffer underflow in ssh_get_hexa() on invalid input (CVE-2026-0966)
  • libssh: Improper sanitation of paths received from SCP servers (CVE-2026-0964)
  • libssh: libssh: Denial of Service via improper configuration file handling (CVE-2026-0965)
  • libssh: libssh: Denial of Service via inefficient regular expression processing (CVE-2026-0967)
  • libssh: libssh: Denial of Service due to malformed SFTP message (CVE-2026-0968)

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.

Additional Changes:

For detailed information on changes in this release, see the Rocky Linux 9 Release Notes linked from the References section.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2026-05-28 15:43 UTC
Modified
2026-05-28 16:00 UTC

Affected packages and fixes

libssh

RPM packages (rpm) · Rocky Linux 9

Affected

  • introduced 0, fixed 0:0.10.4-18.el9 (ecosystem)

Fixed versions

0:0.10.4-18.el9

Fix

  • Fixed version 0:0.10.4-18.el9
    sudo dnf upgrade libssh-0:0.10.4-18.el9

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Rocky Linux errata (Apollo)

Rocky Linux errata, Rocky Enterprise Software Foundation.

Sources & licences