CVE-2023-6918

Libssh: missing checks for return values for digests

State
Published
Severity
3.7 Low
Published
Dec 18, 2023
Updated
Nov 21, 2025
Reserved
Dec 18, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.13.7 LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:Lredhat

Weaknesses

Affected Products

ProductVersions
Red Hat Enterprise Linux 8Red Hat
  • 0:0.9.6-14.el8 and laterNot affected
Red Hat Enterprise Linux 8Red Hat
  • 0:0.9.6-14.el8 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:0.10.4-13.el9 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:0.10.4-13.el9 and laterNot affected
Red Hat Enterprise Linux 6Red Hat
    Red Hat Enterprise Linux 7Red Hat
      Red Hat Enterprise Linux 7Red Hat

        References

        Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.