Vulnerabilities · 2023 · Libssh
CVE-2023-6918
Libssh vulnerability
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 products
Libssh, Fedora, Enterprise Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libssh runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- access.redhat.com/security/cve/CVE-2023-6918 · Vendor Advisory
- www.libssh.org/security/advisories/CVE-2023-6918.txt · Vendor Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2254997 · Third Party Advisory
- access.redhat.com/errata/RHSA-2024:2504
- access.redhat.com/errata/RHSA-2024:3233
- www.libssh.org/2023/12/18/libssh-0-10-6-and-libssh-0-9-8-security-releases/
- lists.fedoraproject.org/archives/list/[email protected]/message/LZQ
- lists.fedoraproject.org/archives/list/[email protected]/message/MKQ
- nvd.nist.gov/vuln/detail/CVE-2023-6918
- cve.org/CVERecord?id=CVE-2023-6918
More vulnerabilities in Libssh products
CVE-2025-8114CVE-2025-5987CVE-2025-5449CVE-2025-5372CVE-2025-5351CVE-2025-5318CVE-2023-6004CVE-2023-3603All 26
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.