CVE & CISA-KEV Catalog

CVE-2023-6918

LOWEPSS 71th pctl
3.7
CVSS v3
NVD

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.

How to fix

Remediation Available
libsshDebian
Fixed in:0.10.6-0+deb12u1CVE-2023-6918
Fixed in:0.10.6-1CVE-2023-6918
Fixed in:0.10.6-1CVE-2023-6918
libsshRed Hat / RHEL
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
libsshRocky
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
libssh-configRocky
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
libssh-configRed Hat / RHEL
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
libssh-debuginfoRed Hat / RHEL
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
libssh-debuginfoRocky
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
libssh-debugsourceRocky
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
libssh-debugsourceRed Hat / RHEL
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
libssh-develRocky
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
libssh-develRed Hat / RHEL
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
libsshUbuntu
Fixed in:0.6.3-4.3ubuntu0.6+esm1USN-6592-2

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3USN-6592-2

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:0.9.3-2ubuntu2.5USN-6592-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

Fixed in:0.9.6-2ubuntu0.22.04.3USN-6592-1
Fixed in:0.10.4-2ubuntu0.3USN-6592-1

This Ubuntu release reached end-of-life on 2024-01-20.

Fixed in:0.10.5-3ubuntu1.2USN-6592-1

This Ubuntu release reached end-of-life on 2024-07-12.

libssh-4Ubuntu
Fixed in:0.6.3-4.3ubuntu0.6+esm1USN-6592-2

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3USN-6592-2

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:0.9.3-2ubuntu2.5USN-6592-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

Fixed in:0.9.6-2ubuntu0.22.04.3USN-6592-1
Fixed in:0.10.4-2ubuntu0.3USN-6592-1

This Ubuntu release reached end-of-life on 2024-01-20.

Fixed in:0.10.5-3ubuntu1.2USN-6592-1

This Ubuntu release reached end-of-life on 2024-07-12.

libssh-gcrypt-4Ubuntu
Fixed in:0.6.3-4.3ubuntu0.6+esm1USN-6592-2

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3USN-6592-2

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

This vulnerability affects an unusually large number of packages. The highest-confidence fixes are shown above; the full list is longer. Check the referenced advisories for complete coverage.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityLow

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

Exploit Intelligence

1.41%probability of exploitation in 30 days
71stpercentile

Elevated risk: more likely to be exploited than 71% of all known CVEs.

References

Related Vulnerabilities

Other CWE-252 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2005-4360High7.887%--
CVE-2007-3798Critical9.870%-Fix
CVE-2010-0211Critical9.828%-Fix
CVE-2022-23626High8.59.9%-Fix
CVE-2019-10902High7.54.7%--
CVE-2018-20216High7.53.9%-Fix

Common questions

How do I fix CVE-2023-6918?

Published advisories record a fix for 14 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2023-6918 being actively exploited?

Not that we know of. CVE-2023-6918 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 1.4% is the estimated probability that it will be exploited in the next 30 days. That is higher than 71% of all scored CVEs.

How severe is CVE-2023-6918?

CVE-2023-6918 has a CVSS v3 base score of 3.7, rated low. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2023-6918 affect?

Published advisories record a fix for libssh (Debian), libssh (Red Hat / RHEL), libssh (Rocky), libssh-config (Rocky), and 10 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2023-6918
CVE-2023-6918 severity badge

Markdown

[![CVE-2023-6918](https://tridentstack.com/cve/badge/CVE-2023-6918.svg)](https://tridentstack.com/cve/CVE-2023-6918)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-6918"><img src="https://tridentstack.com/cve/badge/CVE-2023-6918.svg" alt="CVE-2023-6918"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-17.