CVE-2023-6918

published 18 Dec 2023 · updated 6 Nov 2026

Libssh: missing checks for return values for digests

3.7LowCVSS 3.7EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 0.10.6 and 0.9.8.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Red HatEnterprise Linux
fedoraprojectfedora=38, =39
libsshlibssh>=0.10.0 <0.10.6, >=0.9.0 <0.9.80.10.6, 0.9.8
redhatenterprise_linux=9.0, =8.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Red Hat, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-6918 severity on Zeptric[![CVE-2023-6918](https://zeptric.io/badge/cve/CVE-2023-6918.svg)](https://zeptric.io/cve/CVE-2023-6918)