CVE-2023-6918
published low CVSS 3.1 · 3.7Libssh: missing checks for return values for digests
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | openshift-sandboxed-containers/osc-cloud-api-adaptor-rhel9OSE-OSC-1.6-RHEL-9 · 1.6.0-7 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | openshift-sandboxed-containers/osc-cloud-api-adaptor-webhook-rhel9OSE-OSC-1.6-RHEL-9 · 1.6.0-7 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | openshift-sandboxed-containers/osc-monitor-rhel9OSE-OSC-1.6-RHEL-9 · 1.6.0-4 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | openshift-sandboxed-containers/osc-must-gather-rhel9OSE-OSC-1.6-RHEL-9 · 1.6.0-12 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 8 | libssh | Advisory build | 0.9.6-14.el8 | ALSA-2024:3233 |
| Alpine Linux | edge | libssh | Fixed | 0.10.6-r0 | Package fix record |
| Debian | bookworm | libssh | Advisory build | 0.10.6-0+deb12u1 | DSA-5591-1 |
Show 105 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | openshift-sandboxed-containers/osc-operator-bundleOSE-OSC-1.6-RHEL-9 · 1.6.0-62 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | openshift-sandboxed-containers/osc-podvm-builder-rhel9OSE-OSC-1.6-RHEL-9 · 1.6.0-13 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | openshift-sandboxed-containers/osc-podvm-payload-rhel9OSE-OSC-1.6-RHEL-9 · 1.6.0-7 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | openshift-sandboxed-containers/osc-rhel9-operatorOSE-OSC-1.6-RHEL-9 · 1.6.0-13 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 8 | libssh0:0.9.6-14.el8 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 9 | libssh0:0.10.4-13.el9 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 6, 7 | libssh2 | Unknown | Not stated | redhat |
| Red Hat Enterprise Linux | 7 | libssh | Unknown | Not stated | redhat |
| Oracle Linux | 8 | libsshaarch64 | Advisory build | 0:0.9.6-14.el8 | ELSA-2024-3233 |
| Red Hat Enterprise Linux | RHEL-8 | libsshaarch64 | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Ubuntu | bionic | libssh | Advisory build | 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3 | USN-6592-2 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-configaarch64 | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| AlmaLinux | 9 | libssh | Advisory build | 0.10.4-13.el9 | ALSA-2024:2504 |
| Alpine Linux | v3.19 | libssh | Fixed | 0.10.6-r0 | Package fix record |
| Alpine Linux | v3.20 | libssh | Fixed | 0.10.6-r0 | Package fix record |
| Alpine Linux | v3.21 | libssh | Fixed | 0.10.6-r0 | Package fix record |
| Alpine Linux | v3.22 | libssh | Fixed | 0.10.6-r0 | Package fix record |
| Alpine Linux | v3.23 | libssh | Fixed | 0.10.6-r0 | Package fix record |
| Alpine Linux | v3.24 | libssh | Fixed | 0.10.6-r0 | Package fix record |
| Debian | bullseye | libssh | Advisory build | 0.9.8-0+deb11u1 | DSA-5591-1 |
| Oracle Linux | 8 | libsshx86_64 | Advisory build | 0:0.9.6-14.el8 | ELSA-2024-3233 |
| Oracle Linux | 9 | libsshaarch64 | Advisory build | 0:0.10.4-13.el9 | ELSA-2024-2504 |
| Oracle Linux | 9 | libsshx86_64 | Advisory build | 0:0.10.4-13.el9 | ELSA-2024-2504 |
| Red Hat Enterprise Linux | RHEL-8 | libsshi686 | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libsshppc64le | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libsshs390x | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libsshsrc | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libsshx86_64 | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-9 | libsshaarch64 | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libsshi686 | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libsshppc64le | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libsshs390x | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libsshsrc | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libsshx86_64 | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Ubuntu | focal | libssh | Advisory build | 0.9.3-2ubuntu2.5 | USN-6592-1 |
| Ubuntu | jammy | libssh | Advisory build | 0.9.6-2ubuntu0.22.04.3 | USN-6592-1 |
| Ubuntu | xenial | libssh | Advisory build | 0.6.3-4.3ubuntu0.6+esm1 | USN-6592-2 |
| AlmaLinux | 8 | libssh-config | Advisory build | 0.9.6-14.el8 | ALSA-2024:3233 |
| AlmaLinux | 8 | libssh-devel | Advisory build | 0.9.6-14.el8 | ALSA-2024:3233 |
| AlmaLinux | 9 | libssh-config | Advisory build | 0.10.4-13.el9 | ALSA-2024:2504 |
| AlmaLinux | 9 | libssh-devel | Advisory build | 0.10.4-13.el9 | ALSA-2024:2504 |
| Oracle Linux | 8 | libssh-configaarch64 | Advisory build | 0:0.9.6-14.el8 | ELSA-2024-3233 |
| Oracle Linux | 8 | libssh-configx86_64 | Advisory build | 0:0.9.6-14.el8 | ELSA-2024-3233 |
| Oracle Linux | 8 | libssh-develaarch64 | Advisory build | 0:0.9.6-14.el8 | ELSA-2024-3233 |
| Oracle Linux | 8 | libssh-develx86_64 | Advisory build | 0:0.9.6-14.el8 | ELSA-2024-3233 |
| Oracle Linux | 9 | libssh-configaarch64 | Advisory build | 0:0.10.4-13.el9 | ELSA-2024-2504 |
| Oracle Linux | 9 | libssh-configx86_64 | Advisory build | 0:0.10.4-13.el9 | ELSA-2024-2504 |
| Oracle Linux | 9 | libssh-develaarch64 | Advisory build | 0:0.10.4-13.el9 | ELSA-2024-2504 |
| Oracle Linux | 9 | libssh-develx86_64 | Advisory build | 0:0.10.4-13.el9 | ELSA-2024-2504 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-confignoarch | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debuginfoaarch64 | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debuginfoi686 | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debuginfoppc64le | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debuginfos390x | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debuginfox86_64 | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debugsourceaarch64 | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debugsourcei686 | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debugsourceppc64le | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debugsources390x | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debugsourcex86_64 | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-develaarch64 | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-develi686 | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-develppc64le | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-devels390x | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-develx86_64 | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-confignoarch | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debuginfoaarch64 | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debuginfoi686 | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debuginfoppc64le | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debuginfos390x | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debuginfox86_64 | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debugsourceaarch64 | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debugsourcei686 | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debugsourceppc64le | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debugsources390x | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debugsourcex86_64 | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-develaarch64 | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-develi686 | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-develppc64le | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-devels390x | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-develx86_64 | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-configppc64le | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-configs390x | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-configx86_64 | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-develaarch64 | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-develppc64le | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-devels390x | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-develx86_64 | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh4aarch64 | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh4ppc64le | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh4s390x | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh4x86_64 | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh4-32bits390x | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh4-32bitx86_64 | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-15-SP2 | libssh-configaarch64 | Advisory build | 0.9.8-150200.13.3.1 | SUSE-SU-2024:0525-1 |
| SUSE / openSUSE | SLE-15-SP2 | libssh-configppc64le | Advisory build | 0.9.8-150200.13.3.1 | SUSE-SU-2024:0525-1 |
| SUSE / openSUSE | SLE-15-SP2 | libssh-configs390x | Advisory build | 0.9.8-150200.13.3.1 | SUSE-SU-2024:0525-1 |
| SUSE / openSUSE | SLE-15-SP2 | libssh-configx86_64 | Advisory build | 0.9.8-150200.13.3.1 | SUSE-SU-2024:0525-1 |
| SUSE / openSUSE | SLE-15-SP2 | libssh-develaarch64 | Advisory build | 0.9.8-150200.13.3.1 | SUSE-SU-2024:0525-1 |
| SUSE / openSUSE | SLE-15-SP2 | libssh-develppc64le | Advisory build | 0.9.8-150200.13.3.1 | SUSE-SU-2024:0525-1 |
| SUSE / openSUSE | SLE-15-SP2 | libssh-devels390x | Advisory build | 0.9.8-150200.13.3.1 | SUSE-SU-2024:0525-1 |
| SUSE / openSUSE | SLE-15-SP2 | libssh-develx86_64 | Advisory build | 0.9.8-150200.13.3.1 | SUSE-SU-2024:0525-1 |
| SUSE / openSUSE | SLE-15-SP2 | libssh4aarch64 | Advisory build | 0.9.8-150200.13.3.1 | SUSE-SU-2024:0525-1 |
| SUSE / openSUSE | SLE-15-SP2 | libssh4ppc64le | Advisory build | 0.9.8-150200.13.3.1 | SUSE-SU-2024:0525-1 |
| SUSE / openSUSE | SLE-15-SP2 | libssh4s390x | Advisory build | 0.9.8-150200.13.3.1 | SUSE-SU-2024:0525-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.7 / 10
- Severity
- low
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | OSE-OSC-1.6-RHEL-9 | 1.6.0-7 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | OSE-OSC-1.6-RHEL-9 | 1.6.0-7 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | OSE-OSC-1.6-RHEL-9 | 1.6.0-4 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | OSE-OSC-1.6-RHEL-9 | 1.6.0-12 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | OSE-OSC-1.6-RHEL-9 | 1.6.0-62 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | OSE-OSC-1.6-RHEL-9 | 1.6.0-13 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | OSE-OSC-1.6-RHEL-9 | 1.6.0-7 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | OSE-OSC-1.6-RHEL-9 | 1.6.0-13 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | 0:0.9.6-14.el8 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | 0:0.9.6-14.el8 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | 0:0.10.4-13.el9 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | 0:0.10.4-13.el9 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unknown | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unknown | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unknown | redhat · cna |
Weaknesses
1- CWE-252 Unchecked Return Value
References
10- RHBA-2024:3964 https://access.redhat.com/errata/RHBA-2024:3964
- RHSA-2024:2504 https://access.redhat.com/errata/RHSA-2024:2504
- RHSA-2024:3233 https://access.redhat.com/errata/RHSA-2024:3233
- https://access.redhat.com/security/cve/CVE-2023-6918
- RHBZ#2254997 https://bugzilla.redhat.com/show_bug.cgi?id=2254997
- https://lists.fedoraproject.org/archives/list/[email protected]/message/LZQVUHWVWRH73YBXUQJOD6CKHDQBU3DM/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/MKQRBF3DWMWPH36LBCOBUTSIZRTPEZXB/
- https://security.netapp.com/advisory/ntap-20250214-0009/
- https://www.libssh.org/2023/12/18/libssh-0-10-6-and-libssh-0-9-8-security-releases/
- https://www.libssh.org/security/advisories/CVE-2023-6918.txt
Provider assertions
2redhat · cna
Libssh: missing checks for return values for digests
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e7788d4c245dfd2be4b94302b3446430e553566ab84050a34592dcaff3558622
- Ingested
- 27 Nov 2026, 02:44:12 UTC
- Source record
- Official CVE record