Security mailing lists by PureSourceCode

CVE-2023-6918

MEDIUM 5.3CVSS 3.1

Libssh: 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD libssh libssh
cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*
>= 0.9.0, < 0.9.8 0.9.8
NVD libssh libssh
cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*
>= 0.10.0, < 0.10.6 0.10.6
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
= 38
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
= 39
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD redhat enterprise_linux
cpe: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-rhel9
cpe:/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-rhel9
cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9
all versions
CVE List https://catalog.redhat.com/software/containers/ openshift-sandboxed-containers/osc-monitor-rhel9
cpe:/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-rhel9
cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9
all versions
CVE List https://catalog.redhat.com/software/containers/ openshift-sandboxed-containers/osc-operator-bundle
cpe:/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-rhel9
cpe:/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-rhel9
cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9
all versions
CVE List https://catalog.redhat.com/software/containers/ openshift-sandboxed-containers/osc-rhel9-operator
cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ libssh
cpe:/a:redhat:enterprise_linux:8::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ libssh
cpe:/a:redhat:enterprise_linux:9::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ libssh2
cpe:/o:redhat:rhel_els:6
CVE List https://access.redhat.com/downloads/content/package-browser/ libssh
cpe:/o:redhat:rhel_els:7
CVE List https://access.redhat.com/downloads/content/package-browser/ libssh2
cpe:/o:redhat:rhel_els:7

References

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.