CVE-2023-6918: Libssh: missing checks for return values for digests
Vulnerability summary
CVE-2023-6918 is a medium (CVSS 5.3) Unchecked Return Value vulnerability in fedoraproject fedora. EPSS estimates a 1.45% chance of exploitation in the next 30 days, higher than 74.2% of scored vulnerabilities.
Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 10 · Related 9Timeline
- 18-12-2023PublishedVulnerability first disclosed.
- 27-11-2026Last modifiedVulnerability information updated.
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 metrics
7 scores · 7 sources · 1 version- CVE.orgCNA3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · WolfiEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · ChainguardEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · AlpineEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
1.45%
Chance of exploitation in the next 30 days
Percentile
74%
Versus all other CVEs
30-day change
Increase +0.04 pp
From 1.41% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard2 products
- libssh< 0.10.6-r0
- libssh2All versions (No fix recorded)
Wolfi2 products
- libssh< 0.10.6-r0
- libssh2All versions (No fix recorded)
Alpine1 product
- libssh≥ 0.9.0, < 0.10.6-r0 | ≥ 0.10.0, < 0.10.6-r0
Debian1 product
- libssh< 0.10.6-0+deb12u1 | < 0.10.6-1
Fedoraproject1 product
- fedoraEOL38 | 39
Libssh1 product
- libssh≥ 0.9.0, < 0.9.8 | ≥ 0.10.0, < 0.10.6
Redhat1 product
- enterprise_linux8.0 | 9.0
Ubuntu1 product
- libssh< 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
8 vendors · 10 products
References
19 links- access.redhat.com/security/cve/CVE-2023-6918VDB EntryX Refsource REDHATREPORTAdvisoryMailing ListVendor Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2254997Issue TrackingX Refsource REDHATREPORTThird Party Advisory