{"schemaVersion":3,"id":"CVE-2023-6918","aliases":["UBUNTU-CVE-2023-6918","DEBIAN-CVE-2023-6918","CGA-777v-p3xv-35mr","CGA-hrgm-ww8h-wrm3","CGA-jjp5-fc6x-7x34","CGA-mhjm-cccc-45c4"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2023-12-18T23:27:48.540Z","modified":"2025-11-21T06:23:44.733Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":5.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":5.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":5.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01409,"percentile":0.72231,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01409},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01409,"percentile":0.72231}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01409,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01409,"percentile":0.72231}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-252","name":"Unchecked Return Value","description":"The product does not check the return value from a method or function, which can prevent it from detecting unexpected states and conditions.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Low","url":"https://cwe.mitre.org/data/definitions/252.html"}],"affected":[{"vendor":"chainguard","product":"libssh","name":"libssh","label":"libssh","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/libssh","purlType":"apk","versions":[{"text":"< 0.10.6-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.10.6-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"libssh2","name":"libssh2","label":"libssh2","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/libssh2","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"libssh","name":"libssh","label":"libssh","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/libssh","purlType":"apk","versions":[{"text":"< 0.10.6-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.10.6-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"libssh2","name":"libssh2","label":"libssh2","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/libssh2","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"libssh","name":"libssh","label":"libssh","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libssh","purlType":"deb","versions":[{"text":"< 0.10.6-0+deb12u1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.10.6-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.10.6-0+deb12u1 | < 0.10.6-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libssh","name":"libssh","label":"libssh","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libssh","purlType":"deb","versions":[{"text":"< 0.6.3-4.3ubuntu0.6+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3","noFixRecorded":false,"fixedIn":null},{"text":"< 0.9.3-2ubuntu2.5","noFixRecorded":false,"fixedIn":null},{"text":"< 0.9.6-2ubuntu0.22.04.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.6.3-4.3ubuntu0.6+esm1 | < 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3 | < 0.9.3-2ubuntu2.5 | < 0.9.6-2ubuntu0.22.04.3","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"38","noFixRecorded":false,"fixedIn":null},{"text":"39","noFixRecorded":false,"fixedIn":null}],"versionsText":"38 | 39","eol":{"isEol":true,"eolDate":"2024-05-21T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"38","label":"38","eolFrom":"2024-05-21T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"libssh","product":"libssh","name":"libssh","label":"libssh","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.9.0, < 0.9.8","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.10.0, < 0.10.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.9.0, < 0.9.8 | ≥ 0.10.0, < 0.10.6","eol":null,"hubHref":"/vendor/libssh/libssh"},{"vendor":"redhat","product":"enterprise_linux","name":"enterprise linux","label":"enterprise_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null},{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0 | 9.0","eol":{"isEol":false,"eolDate":"2029-05-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8","label":"8 (Upcoming ELS)","eolFrom":"2029-05-31T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"8.10"},"product":{"name":"rhel","label":"Red Hat Enterprise Linux","category":"os"}},"hubHref":"/vendor/redhat/enterprise_linux"}],"affectedCount":9,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:2504","label":"access.redhat.com/errata/RHSA-2024:2504","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2024:3233","label":"access.redhat.com/errata/RHSA-2024:3233","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-6918","label":"access.redhat.com/security/cve/CVE-2023-6918","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","REPORT","Advisory","Mailing List","Vendor Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2254997","label":"bugzilla.redhat.com/show_bug.cgi?id=2254997","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","REPORT","Third Party Advisory"]},{"url":"https://www.libssh.org/2023/12/18/libssh-0-10-6-and-libssh-0-9-8-security-releases/","label":"www.libssh.org/2023/12/18/libssh-0-10-6-and-libssh-0-9-8-security-releases/","hostname":"www.libssh.org","tags":["REPORT","WEB","Release Notes"]},{"url":"https://www.libssh.org/security/advisories/CVE-2023-6918.txt","label":"www.libssh.org/security/advisories/CVE-2023-6918.txt","hostname":"www.libssh.org","tags":["REPORT","Advisory","Vendor Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LZQVUHWVWRH73YBXUQJOD6CKHDQBU3DM/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["X Transferred","WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MKQRBF3DWMWPH36LBCOBUTSIZRTPEZXB/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["X Transferred","WEB"]},{"url":"https://security.netapp.com/advisory/ntap-20250214-0009/","label":"security.netapp.com/advisory/ntap-20250214-0009/","hostname":"security.netapp.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2023-6918","label":"ubuntu.com/security/CVE-2023-6918","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6592-1","label":"ubuntu.com/security/notices/USN-6592-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-6592-2","label":"ubuntu.com/security/notices/USN-6592-2","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-6918","label":"www.cve.org/CVERecord?id=CVE-2023-6918","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-6918","label":"security-tracker.debian.org/tracker/CVE-2023-6918","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://access.redhat.com/downloads/content/package-browser/","label":"access.redhat.com/downloads/content/package-browser/","hostname":"access.redhat.com","tags":["WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/6xxx/CVE-2023-6918.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2023/6xxx/CVE-2023-6918.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6918","label":"nvd.nist.gov/vuln/detail/CVE-2023-6918","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]}],"lineage":{"upstream":[],"downstream":["DSA-5591-1","MGASA-2023-0357","OPENSUSE-SU-2024:13638-1","RHSA-2024:2504","RHSA-2024:3233","SUSE-SU-2024:0140-1","SUSE-SU-2024:0525-1","SUSE-SU-2024:0539-1","USN-6592-1","USN-6592-2"],"duplicates":[],"related":["CGA-4FWW-R5J4-V938","CGA-5GPG-P7R2-F5WP","CGA-MCG6-9F3H-2CP6","OPENSUSE-SU-2024:13638-1","SUSE-SU-2024:0140-1","SUSE-SU-2024:0525-1","SUSE-SU-2024:0539-1","USN-6592-1","USN-6592-2"]},"timeline":[{"kind":"published","date":"2023-12-18T23:27:48.540Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-21T06:23:44.733Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":21,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T07:08:59.998Z","stale":false,"partial":false}}