Skip to content
Noroxi
CVE-2016-0739· NVD / CVE Program· CNA redhat

libssh before 0.7.3 improperly truncates ephemeral secrets generated for the (1) diffie-hellman-group1 and (2) diffie-hellman-group14 key ex

libssh before 0.7.3 improperly truncates ephemeral secrets generated for the (1) diffie-hellman-group1 and (2) diffie-hellman-group14 key exchange methods to 128 bits, which makes it easier for man-in-the-middle attackers to decrypt or intercept SSH sessions via unspecified vectors, aka a "bits/bytes confusion bug."

MediumCVSS 5.9 · v3.0—No exploit Fix available
Published
Apr 13, 2016
Updated
Jun 16, 2026
EPSS
2.4% · 84th 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

24

Monitor

Low priority for now.

CVSS
23 / 40 · 5.9 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 2.4%

Affected systems

VendorProduct
libsshlibssh
redhatenterprise linux
canonicalubuntu linux
fedoraprojectfedora
debiandebian linux

Affected versions

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

  • canonical ubuntu linux12.04
  • canonical ubuntu linux14.04
  • canonical ubuntu linux15.10
  • debian debian linux7.0
  • debian debian linux8.0
  • fedoraproject fedora22
  • fedoraproject fedora23
  • libssh libsshup to 0.7.2 inclusive
  • redhat enterprise linux7.0

Package-level exposure

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

EcosystemPackageAffected rangeFix
Debian:12libsshbefore 0.6.3-4.30.6.3-4.3
Debian:6.0libsshbefore 0.4.5-3+squeeze30.4.5-3+squeeze3
Debian:7libsshbefore 0.5.4-1+deb7u30.5.4-1+deb7u3
Debian:8libsshbefore 0.6.3-4+deb8u20.6.3-4+deb8u2
Red Hat:rhel_extras_other:7libsshbefore 0:0.7.1-2.el70:0.7.1-2.el7
Red Hat:rhel_extras_other:7libssh-debuginfobefore 0:0.7.1-2.el70:0.7.1-2.el7
Red Hat:rhel_extras_other:7libssh-develbefore 0:0.7.1-2.el70:0.7.1-2.el7
SUSE:Linux Enterprise Desktop 12libsshbefore 0.6.3-11.10.6.3-11.1
SUSE:Linux Enterprise Software Development Kit 11 SP4libsshbefore 0.2-5.22.10.2-5.22.1

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
debian:libssh0.6.3-4.3 · Debian:12Package registry (OSV)
red hat:libssh0:0.7.1-2.el7 · Red Hat:rhel_extras_other:7Package registry (OSV)
red hat:libssh-debuginfo0:0.7.1-2.el7 · Red Hat:rhel_extras_other:7Package registry (OSV)
red hat:libssh-devel0:0.7.1-2.el7 · Red Hat:rhel_extras_other:7Package registry (OSV)
suse:libssh0.2-5.22.1 · SUSE:Linux Enterprise Software Development Kit 11 SP4Package 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.

No credits in the CNA record.

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.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
high · data can be read
Integrity
none
Availability
none
Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
None
Availability impact
None

CVSS vector

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

nvd-primary

Root cause

The extension requests broader permissions than its function needs and sends the data it collects out for purposes beyond its stated function.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

json
{  "permissions": ["tabs", "<all_urls>"],  "background": { "service_worker": "analytics.js" }}

Fixed

json
{  "permissions": ["activeTab"],  "host_permissions": ["https://yildiz.example/*"]}

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