CVE-2023-6918

Libssh: missing checks for return values for digests

Published Dec 18, 2023 CVSS 3.1 · 3.7 Low EPSS 1.4% KEV · Not listed
Description
A flaw was found in the libssh implements abstract layer for message digest (MD) operations implemented by different supported crypto backends. The return values from these were not properly checked, which could cause low-memory situations failures, NULL dereferences, crashes, or usage of the uninitialized memory as an input for the KDF. In this case, non-matching keys will result in decryption/integrity failures, terminating the connection.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-5591-1 libssh security update
EUVD EUVD EUVD-2023-59117 A flaw was found in the libssh implements abstract layer for message digest (MD) operations implemented by different supported crypto backends. The return values from these were not properly checked, which could cause low-memory situations failures, NULL dereferences, crashes, or usage of the uninitialized memory as an input for the KDF. In this case, non-matching keys will result in decryption/integrity failures, terminating the connection.
Ubuntu USN Ubuntu USN USN-6592-1 libssh vulnerabilities
Ubuntu USN Ubuntu USN USN-6592-2 libssh vulnerabilities
Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 6, 2026, 1:40 PM
Reserved
Dec 18, 2023, 11:40 AM
Status
Modified
Published
Dec 19, 2023, 12:15 AM
Modified
Nov 6, 2026, 2:17 PM
Severity
Low
Public date
Dec 18, 2023, 12:00 AM