CVE-2023-6918: Red Hat Enterprise Linux 8 · Unchecked Return Value
Affects Red Hat Enterprise Linux 8Source CVE Database V5
Not known to be exploited · CVSS 3.7 Low.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 1.4% chance of exploitation in 30 days – higher than 72% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 18 Dec 2023
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
AI-suggested
To mitigate CVE-2023-6918, European organizations should: 1) Monitor Red Hat advisories and promptly apply patches or updates to libssh and Red Hat Enterprise Linux 8 as they become available. 2) Implement robust error handling and validation in cryptographic operations within custom or third-party software that interfaces with libssh to prevent unchecked return values. 3) Employ network segmentation and access controls to limit exposure of SSH services to trusted networks and users, reducing the attack surface. 4) Use SSH connection monitoring and alerting tools to detect abnormal connection terminations that may indicate exploitation attempts. 5) Consider deploying redundancy and failover mechanisms for critical SSH-dependent services to maintain availability during potential disruptions. 6) Conduct regular vulnerability assessments and penetration testing focusing on SSH services to identify and remediate related weaknesses proactively.
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.
References
- access.redhat.com/errata/RHSA-2024:2504 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:3233 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2023-6918 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2254997 (opens in a new tab)
- libssh.org/2023/12/18/libssh-0-10-6-and-libssh-0-9-8-security-releases/ (opens in a new tab)
- libssh.org/security/advisories/CVE-2023-6918.txt (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LZQVUHWVWRH73YBXUQJOD6CKHDQBU3DM/ (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MKQRBF3DWMWPH36LBCOBUTSIZRTPEZXB/ (opens in a new tab)
- security.netapp.com/advisory/ntap-20250214-0009/ (opens in a new tab)