CVE-2023-6918
MEDIUM 5.3CVSS 3.1Libssh: missing checks for return values for digests
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.
- Published
- 19 Dec 2023
- Last modified
- 27 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-252
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| CVE List | redhat | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | libssh | libsshcpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:* |
>= 0.9.0, < 0.9.8 | 0.9.8 |
| NVD | libssh | libsshcpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:* |
>= 0.10.0, < 0.10.6 | 0.10.6 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* |
= 38 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* |
= 39 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| CVE List | https://catalog.redhat.com/software/containers/ | openshift-sandboxed-containers/osc-cloud-api-adaptor-rhel9cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | openshift-sandboxed-containers/osc-cloud-api-adaptor-webhook-rhel9cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | openshift-sandboxed-containers/osc-monitor-rhel9cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | openshift-sandboxed-containers/osc-must-gather-rhel9cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | openshift-sandboxed-containers/osc-operator-bundlecpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | openshift-sandboxed-containers/osc-podvm-builder-rhel9cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | openshift-sandboxed-containers/osc-podvm-payload-rhel9cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | openshift-sandboxed-containers/osc-rhel9-operatorcpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | libsshcpe:/a:redhat:enterprise_linux:8::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | libsshcpe:/a:redhat:enterprise_linux:9::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | libssh2cpe:/o:redhat:rhel_els:6 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | libsshcpe:/o:redhat:rhel_els:7 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | libssh2cpe:/o:redhat:rhel_els:7 |
References
- https://access.redhat.com/errata/RHBA-2024:3964 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:2504 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:3233 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2023-6918 · Mailing List, Vendor Advisory, vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2254997 · Issue Tracking, Third Party Advisory, issue-tracking, x_refsource_REDHAT
- https://www.libssh.org/2023/12/18/libssh-0-10-6-and-libssh-0-9-8-security-releases/ · Release Notes
- https://www.libssh.org/security/advisories/CVE-2023-6918.txt · Vendor Advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LZQVUHWVWRH73YBXUQJOD6CKHDQBU3DM/ · x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MKQRBF3DWMWPH36LBCOBUTSIZRTPEZXB/ · x_transferred
- https://security.netapp.com/advisory/ntap-20250214-0009/
History
- 27 Nov 2026 04:51 UTC · NVD: 1 reference added
- 27 Nov 2026 02:49 UTC · CVE List: first stored (published 18 Dec 2023)
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 19 Dec 2023)