{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-6918","id":"CVE-2023-6918","title":"Libssh: missing checks for return values for digests","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/in","descriptionLong":"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":"2023-12-18T23:27:48.540Z","updated":"2026-11-08T02:30:33.861742237Z","reserved":"2023-12-18T11:40:15.080Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"low","source":"redhat"},"metrics":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"low","source":"redhat"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"low","source":"redhat.com"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"NVD"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"low","source":"OSV"}],"rating":"low","products":["Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 9","Red Hat Enterprise Linux 6","Red Hat Enterprise Linux 7"],"affectedProducts":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","defaultStatus":"affected","versions":[{"version":"0:0.9.6-14.el8","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","defaultStatus":"affected","versions":[{"version":"0:0.9.6-14.el8","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","defaultStatus":"affected","versions":[{"version":"0:0.10.4-13.el9","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","defaultStatus":"affected","versions":[{"version":"0:0.10.4-13.el9","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","defaultStatus":"unknown","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","defaultStatus":"unknown","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","defaultStatus":"unknown","versions":[],"platforms":[]}],"packages":[],"cwes":["CWE-252"],"aliases":[],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:2504","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2024:3233","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-6918","tags":["vdb-entry","x_refsource_REDHAT","x_transferred","Mailing List","Vendor Advisory","advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2254997","tags":["issue-tracking","x_refsource_REDHAT","x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"https://www.libssh.org/2023/12/18/libssh-0-10-6-and-libssh-0-9-8-security-releases/","tags":["x_transferred","Release Notes","web"]},{"url":"https://www.libssh.org/security/advisories/CVE-2023-6918.txt","tags":["x_transferred","Vendor Advisory","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LZQVUHWVWRH73YBXUQJOD6CKHDQBU3DM/","tags":["x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MKQRBF3DWMWPH36LBCOBUTSIZRTPEZXB/","tags":["x_transferred","web"]},{"url":"https://security.netapp.com/advisory/ntap-20250214-0009/","tags":["advisory"]},{"url":"https://access.redhat.com/downloads/content/package-browser/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/6xxx/CVE-2023-6918.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6918","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01409,"epssPercentile":0.73185,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-6918","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6918","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-6918","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-6918","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}