CVE-2011-0766 in Erlang Crypto and 2 more products
The random number generator in the Crypto application before 2.0.2.2, and SSH before 2.0.5, as used in the Erlang/OTP ssh library before R14B03, uses predictable seeds based on the current time, which makes it easier for remote attackers to guess DSA host and SSH session keys.
Affects 3 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Erlang | Crypto | ≤ 2.0.2.1 |
| Erlang | Erlang/Otp | r11b-5 r12b-5 r13b r13b02-1 r13b03 r13b04+4 morer14a r14b r14b01 r14b02 |
| Ssh | Ssh | ≤ 2.0.4 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
The random number generator in the Crypto application before 2.0.2.2, and SSH before 2.0.5, as used in the Erlang/OTP ssh library before R14B03, uses predictable seeds based on the current time, which makes it easier for remote attackers to guess DSA host and SSH session keys.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2011-0766 |
|---|---|
| BreachSpider ID | BS-2011-GLOBAL-318806-H |
| CVSS vector | AV:N/AC:L/Au:N/C:C/I:N/A:N |
| Published | 2011-05-31 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-310: Cryptographic Issues
Broad class covering misuse of cryptography: weak algorithms, insufficient key length, improper certificate validation.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2011. A high severity vulnerability affects Erlang systems (CVE-2011-0766). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: The random number generator in the Crypto application before 2.0.2.2, and SSH before 2.0.5, as used in the Erlang/OTP ssh library before R14B03, uses predictable seeds based on the current time, which makes it easier for remote attackers to guess DSA host and SSH session keys. CVSS vector: AV:N/AC:L/Au:N/C:C/I:N/A:N.
Questions
What is CVE-2011-0766?
This vulnerability was disclosed in 2011. A high severity vulnerability affects Erlang systems (CVE-2011-0766). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2011-0766?
CVE-2011-0766 has CVSS 7.8 (High). Vector: AV:N/AC:L/Au:N/C:C/I:N/A:N. EPSS: 3.1%.
Is CVE-2011-0766 actively exploited?
No confirmed active exploitation of CVE-2011-0766 as of 2026-09-25.
How do I remediate CVE-2011-0766?
Priority: MEDIUM. PSIRT: [email protected]
What systems are affected by CVE-2011-0766?
CVE-2011-0766 affects Erlang Crypto, Erlang/Otp; Ssh Ssh.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Erlang","product":"Crypto","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.