Skip to content
Noroxi
NVD / CVE Program· CNA redhat

CVE-2016-0739: libssh before 0.7.3 improperly truncates ephemeral secrets generated for the (1) diffie-hellman-group1 and (2) diffie-hellman-group14 key…

MediumCVSS 5.9 · v3.0—No exploit Fix available

Noroxi assessment

Priority: Monitor (action score 24/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 2.4% (FIRST EPSS); higher than 84.5% of all records.
  • 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.
  • Fixed version: libssh (Debian:12) 0.6.3-4.3; libssh (Debian:6.0) 0.4.5-3+squeeze3; libssh (Debian:7) 0.5.4-1+deb7u3.

Low priority for now. Upgrade to libssh (Debian:12) 0.6.3-4.3; libssh (Debian:6.0) 0.4.5-3+squeeze3; libssh (Debian:7) 0.5.4-1+deb7u3 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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."

Published
Apr 13, 2016
Updated
Jun 16, 2026
EPSS
2.4% · 84th percentile

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%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2016-0739

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools
Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

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

Published before and after this one in the same product

  • ← EarlierCVE-2014-8132Dec 28, 2014 · Double free vulnerability in the ssh_packet_kexinit function in kex.c in libssh 0.5.x and 0.6.x before 0.6.4 allows remote attackers to…
    22Monitor
  • ← EarlierCVE-2015-3146Apr 13, 2016 · The (1) SSH_MSG_NEWKEYS and (2) SSH_MSG_KEXDH_REPLY packet handlers in package_cb.c in libssh before 0.6.5 do not properly validate state…
    31Monitor
  • Later →CVE-2020-1730Apr 13, 2020 · A flaw was found in libssh versions before 0.8.9 and before 0.9.4 in the way it handled AES-CTR (or DES ciphers if enabled) ciphers.
    22Monitor

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.

Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.

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/*"]}

References

All records