CVE Tools

CVE-2023-6918

Libssh: missing checks for return values for digests

Published: Dec 18, 2023Updated: Feb 15, 2025 Sources: CVE List NVD BDUCWE-252

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.

CVSS Vector Breakdown

AV:NAC:HPR:NUI:NS:UC:NI:NA:L
Exploitability
AV:NAttack Vector
Network
AC:HAttack Complexity
High
PR:NPrivileges Required
None
UI:NUser Interaction
None
Scope
S:UScope
Unchanged
Impact
C:NConfidentiality
None
I:NIntegrity
None
A:LAvailability
Low

Weaknesses

Affected Products

and 15 more affected products View all →

Exploitability

Official Patch Available
Workaround Available

References

and 24 more references View all →

Timeline

Published
Dec 18, 2023
Last Updated
Feb 15, 2025

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2023-6918 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows