Skip to content
Noroxi
CVE-2023-6918· NVD / CVE Program· CNA redhat

Libssh: missing checks for return values for digests

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.

MediumCVSS 5.3 · v3.1—No exploit Fix available
Published
Dec 18, 2023
Updated
Jun 17, 2026
EPSS
1.4% · 72th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

21

Monitor

Low priority for now.

CVSS
21 / 40 · 5.3 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 1.4%

CNA vs NVD score

NVD
5.3
CNA · redhat
3.7
1.6 point gap

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

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
libsshlibssh
fedoraprojectfedora
redhatenterprise linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • fedoraproject fedora38
  • fedoraproject fedora39
  • libssh libssh0.9.0 and later · before 0.9.8
  • libssh libssh0.10.0 and later · before 0.10.6
  • redhat enterprise linux8.0
  • redhat enterprise linux9.0

Versions reported by the vendor

Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.

  • Red Hat Red Hat Enterprise Linux 6

    • all versionsunknown
  • Red Hat Red Hat Enterprise Linux 7

    • all versionsunknown
    • all versionsunknown
  • Red Hat Red Hat Enterprise Linux 8

    • 0:0.9.6-14.el8 and laternot affected · rpm
    • 0:0.9.6-14.el8 and laternot affected · rpm
  • Red Hat Red Hat Enterprise Linux 9

    • 0:0.10.4-13.el9 and laternot affected · rpm
    • 0:0.10.4-13.el9 and laternot affected · rpm

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8libsshbefore 0.9.6-14.el80.9.6-14.el8
AlmaLinux:8libssh-configbefore 0.9.6-14.el80.9.6-14.el8
AlmaLinux:8libssh-develbefore 0.9.6-14.el80.9.6-14.el8
AlmaLinux:9libsshbefore 0.10.4-13.el90.10.4-13.el9
AlmaLinux:9libssh-configbefore 0.10.4-13.el90.10.4-13.el9
AlmaLinux:9libssh-develbefore 0.10.4-13.el90.10.4-13.el9
Debian:11libsshbefore 0.9.8-0+deb11u10.9.8-0+deb11u1
Debian:12libsshbefore 0.10.6-0+deb12u10.10.6-0+deb12u1
Debian:13libsshbefore 0.10.6-10.10.6-1
openSUSE:Tumbleweedlibsshbefore 0.10.6-1.10.10.6-1.1
Red Hat:enterprise_linux:8::appstreamlibssh-debuginfobefore 0:0.9.6-14.el80:0.9.6-14.el8
Red Hat:enterprise_linux:8::appstreamlibssh-debugsourcebefore 0:0.9.6-14.el80:0.9.6-14.el8
Red Hat:enterprise_linux:8::appstreamlibssh-develbefore 0:0.9.6-14.el80:0.9.6-14.el8
Red Hat:enterprise_linux:8::baseoslibsshbefore 0:0.9.6-14.el80:0.9.6-14.el8
Red Hat:enterprise_linux:8::baseoslibssh-configbefore 0:0.9.6-14.el80:0.9.6-14.el8
Red Hat:enterprise_linux:9::appstreamlibssh-debuginfobefore 0:0.10.4-13.el90:0.10.4-13.el9
Red Hat:enterprise_linux:9::appstreamlibssh-debugsourcebefore 0:0.10.4-13.el90:0.10.4-13.el9
Red Hat:enterprise_linux:9::appstreamlibssh-develbefore 0:0.10.4-13.el90:0.10.4-13.el9
Red Hat:enterprise_linux:9::baseoslibsshbefore 0:0.10.4-13.el90:0.10.4-13.el9
Red Hat:enterprise_linux:9::baseoslibssh-configbefore 0:0.10.4-13.el90:0.10.4-13.el9
Rocky Linux:8libsshbefore 0:0.9.6-14.el80:0.9.6-14.el8
Rocky Linux:9libsshbefore 0:0.10.4-13.el90:0.10.4-13.el9
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSlibsshbefore 0.9.8-150200.13.3.10.9.8-150200.13.3.1
SUSE:Linux Enterprise Micro 5.3libsshbefore 0.9.8-150400.3.3.10.9.8-150400.3.3.1

+2

Other highest-scoring records for the same primary product.

  • CVE-2018-10933A vulnerability was found in libssh's server-side state machine before versions 0.7.6 and 0.8.4.
    64This week
  • CVE-2019-14889A flaw was found with the libssh API function ssh_scp_new() in versions before 0.9.3 and before 0.8.8.
    36Monitor
  • CVE-2026-59851Libssh: libssh: authentication bypass via missing gssapi principal check
    35Monitor
  • CVE-2025-5372Libssh: incorrect return code handling in ssh_kdf() in libssh
    35Monitor
  • CVE-2012-4562Multiple integer overflows in libssh before 0.5.3 allow remote attackers to cause a denial of service (infinite loop or crash) and possibly
    34Monitor
  • CVE-2026-0966Libssh: libssh: denial of service via zero-length input in ssh_get_hexa()
    32Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:libssh0.10.4-13.el9 · AlmaLinux:9Package registry (OSV)
almalinux:libssh-config0.10.4-13.el9 · AlmaLinux:9Package registry (OSV)
almalinux:libssh-devel0.10.4-13.el9 · AlmaLinux:9Package registry (OSV)
debian:libssh0.10.6-0+deb12u1 · Debian:12Package registry (OSV)
opensuse:libssh0.9.8-150400.3.3.1 · openSUSE:Leap Micro 5.3Package registry (OSV)
red hat:libssh0:0.10.4-13.el9 · Red Hat:enterprise_linux:9::baseosPackage registry (OSV)
red hat:libssh-config0:0.10.4-13.el9 · Red Hat:enterprise_linux:9::baseosPackage registry (OSV)
red hat:libssh-debuginfo0:0.10.4-13.el9 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:libssh-debugsource0:0.10.4-13.el9 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:libssh-devel0:0.10.4-13.el9 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
rocky linux:libssh0:0.10.4-13.el9 · Rocky Linux:9Package registry (OSV)
suse:libssh0.9.8-150400.3.3.1 · SUSE:Linux Enterprise Micro 5.3Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
low · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
Low

CVSS vector

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

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records