CVE-2023-6918Libssh
Medium 5.3 No auth needed
Follow: this CVE · Libssh · Libssh We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 1.6% probability of exploitation in 30 days · percentile 76
- Auth required
- No
- Published
- Dec 19, 2023
- Updated
- Nov 27, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-252
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
What happens
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.
What to do
- Apply the vendor's security update for Libssh.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| libssh | libssh | ≥ 0.9.0 < 0.9.8 |
| libssh | libssh | ≥ 0.10.0 < 0.10.6 |
| fedoraproject | fedora | 38 |
| fedoraproject | fedora | 39 |
| redhat | enterprise_linux | 8.0 |
| redhat | enterprise_linux | 9.0 |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com Mailing List Vendor Advisory
- bugzilla.redhat.com Issue Tracking Third Party Advisory
- www.libssh.org Release Notes
- www.libssh.org Vendor Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.netapp.com