{"id":"CVE-2023-6918","published":"2023-12-18T23:27:48Z","modified":"2026-11-06T13:40:36Z","title":"Libssh: missing checks for return values for digests","vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01409,"percentile":0.73307,"provenance":"source"},"cwes":[{"id":"CWE-252","name":"Unchecked Return Value"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:2504","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:3233","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-6918","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2254997","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://www.libssh.org/2023/12/18/libssh-0-10-6-and-libssh-0-9-8-security-releases/","tags":[]},{"url":"https://www.libssh.org/security/advisories/CVE-2023-6918.txt","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LZQVUHWVWRH73YBXUQJOD6CKHDQBU3DM/","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MKQRBF3DWMWPH36LBCOBUTSIZRTPEZXB/","tags":["x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20250214-0009/","tags":[]}],"priority":{"score":17.3,"factors":[{"name":"EPSS percentile","points":14.66},{"name":"CVSS severity","points":2.59}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","versions":["all versions"]}],"workarounds":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"euvd":{"id":"EUVD-2023-59117","exploited":false,"provenance":"source"}}