CVE-2023-6918

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-6918
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-6918.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-6918
Downstream
Related
Published
2023-12-19T00:15:08Z
Modified
2025-10-16T18:52:17.362114Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / gitlab.com/libssh/libssh-mirror

Affected ranges

Type
GIT
Repo
https://gitlab.com/libssh/libssh-mirror
Events

Affected versions

libssh-0.*

libssh-0.9.0
libssh-0.9.1
libssh-0.9.2
libssh-0.9.3
libssh-0.9.4
libssh-0.9.5
libssh-0.9.6
libssh-0.9.7