{"id":"CVE-2023-6918","aliases":["CVE-2023-6918"],"related":[],"kind":"vulnerability","state":"published","title":"Libssh: missing checks for return values for digests","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Se encontró un fallo en la capa abstracta de implementación de libssh para operaciones de resumen de mensajes (MD) implementadas por diferentes backends criptográficos compatibles. Los valores de retorno de estos no se verificaron correctamente, lo que podría causar fallas en situaciones de poca memoria, desreferencias NULL, fallas o uso de la memoria no inicializada como entrada para el KDF. En este caso, las claves que no coinciden resultarán en fallas de descifrado/integridad, lo que terminará la conexión.","source":"nvd"}],"published":"2023-12-18T23:27:48.540Z","modified":"2026-11-27T03:17:01.240Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","score":3.7,"rating":"LOW"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","score":3.7,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-252"],"affected":[{"ranges":[{"type":"rpm","introduced":"1.6.0-7","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"OSE-OSC-1.6-RHEL-9","package":"openshift-sandboxed-containers/osc-cloud-api-adaptor-rhel9","cpe":"cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1.6.0-7","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"OSE-OSC-1.6-RHEL-9","package":"openshift-sandboxed-containers/osc-cloud-api-adaptor-webhook-rhel9","cpe":"cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1.6.0-4","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"OSE-OSC-1.6-RHEL-9","package":"openshift-sandboxed-containers/osc-monitor-rhel9","cpe":"cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1.6.0-12","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"OSE-OSC-1.6-RHEL-9","package":"openshift-sandboxed-containers/osc-must-gather-rhel9","cpe":"cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1.6.0-62","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"OSE-OSC-1.6-RHEL-9","package":"openshift-sandboxed-containers/osc-operator-bundle","cpe":"cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1.6.0-13","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"OSE-OSC-1.6-RHEL-9","package":"openshift-sandboxed-containers/osc-podvm-builder-rhel9","cpe":"cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1.6.0-7","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"OSE-OSC-1.6-RHEL-9","package":"openshift-sandboxed-containers/osc-podvm-payload-rhel9","cpe":"cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1.6.0-13","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"OSE-OSC-1.6-RHEL-9","package":"openshift-sandboxed-containers/osc-rhel9-operator","cpe":"cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:0.9.6-14.el8","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"libssh","cpe":"cpe:/a:redhat:enterprise_linux:8::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:0.9.6-14.el8","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"libssh","cpe":"cpe:/a:redhat:enterprise_linux:8::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:0.10.4-13.el9","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"libssh","cpe":"cpe:/a:redhat:enterprise_linux:9::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:0.10.4-13.el9","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"libssh","cpe":"cpe:/a:redhat:enterprise_linux:9::appstream","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"libssh2","cpe":"cpe:/o:redhat:rhel_els:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"libssh","cpe":"cpe:/o:redhat:rhel_els:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"libssh2","cpe":"cpe:/o:redhat:rhel_els:7","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"0.9.0","fixed":"0.9.8"},{"status":"affected","introduced":"0.10.0","fixed":"0.10.6"}],"vendor":"libssh","product":"libssh","cpe":"cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"38"},{"status":"affected","version":"39"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.0"},{"status":"affected","version":"9.0"}],"vendor":"redhat","product":"enterprise_linux","cpe":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://access.redhat.com/errata/RHBA-2024:3964","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:2504","tags":["vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:3233","tags":["vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-6918","tags":["mailing-list","vdb-entry","vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2254997","tags":["issue-tracking","third-party-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.libssh.org/2023/12/18/libssh-0-10-6-and-libssh-0-9-8-security-releases/","tags":["release-notes","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.libssh.org/security/advisories/CVE-2023-6918.txt","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LZQVUHWVWRH73YBXUQJOD6CKHDQBU3DM/","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MKQRBF3DWMWPH36LBCOBUTSIZRTPEZXB/","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20250214-0009/","tags":[],"sources":["cvelist","nvd"]}],"credits":["Red Hat would like to thank Jack Weinstein (<mike.code.bb.h@gmail.com>) for reporting this issue."],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-6918","url":"https://www.cve.org/CVERecord?id=CVE-2023-6918","licence":"CVE Terms of Use","modified":"2026-11-27T02:39:09.661Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-6918","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6918","licence":"Public domain","modified":"2026-11-27T03:17:01.240Z"}],"updatedAt":"2026-11-27T03:17:33.117Z","epss":{"score":0.01447,"percentile":0.74117,"date":"2026-12-02T12:00:21.000Z"}}