← Vulnerability feed

Vulnerability record · CVE-2008-0166 · published 13 May 2008

CVE-2008-0166: Debian OpenSSL weak RNG makes cryptographic keys predictable

OOpenssl · Openssl

Debian's OpenSSL packages from 0.9.8c-1 up to before 0.9.8g-9 used a random number generator that produced predictable output, so keys generated on affected systems are drawn from a small, enumerable set. Any key or certificate created on such a host during the affected window should be treated as compromised, and the flaw affects the trust of SSH, TLS, VPN and other key material, not just one service.

7.5 CVSS 3.1 High EPSS 71% · top 0.6% CWE-338 · CWE-338
7.5CVSS 3.1 base score, v2 7.8
71%EPSS exploitation probability, 30 days
NoNot in CISA KEV
3Affected product versions listed by NVD
52References, 8 tagged exploit
16 Jun 2026Last modified by NVD

Description

OpenSSL 0.9.8c-1 up to versions before 0.9.8g-9 on Debian-based operating systems uses a random number generator that generates predictable numbers, which makes it easier for remote attackers to conduct brute force guessing attacks against cryptographic keys.

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

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: high.

high priorityThe flaw allows remote key recovery with no authentication, has very high EPSS and public exploit tooling, though it is not in KEV and requires keys generated on affected systems.

What it is

Debian's OpenSSL packages from 0.9.8c-1 up to before 0.9.8g-9 used a random number generator that produced predictable output, so keys generated on affected systems are drawn from a small, enumerable set. Any key or certificate created on such a host during the affected window should be treated as compromised, and the flaw affects the trust of SSH, TLS, VPN and other key material, not just one service.

Impact

A remote attacker who can reach a service using an affected key can brute-force the key space and recover private keys, then authenticate or decrypt as the legitimate key holder.

Attack surface

Reachable over the network against any service presenting a key generated on an affected Debian or Ubuntu system; no authentication or user interaction is required, consistent with the CVSS vector AV:N/AC:L/PR:N/UI:N.

Exploitation

Not listed in CISA KEV, but EPSS is very high (0.707 probability, 99.4th percentile) and multiple references carry Exploit tags, including Exploit-DB entries 5622 and 5632 and a SecurityFocus BID, indicating public tooling exists.

What to do

  • Patch OpenSSL to a fixed version (0.9.8g-9 or later) on affected Debian and Ubuntu systems.
  • Regenerate all cryptographic keys and certificates created on affected hosts, including SSH host and user keys, TLS certificates, and VPN keys.
  • Revoke and replace any certificates or keys that may have been generated during the vulnerable window.
  • Audit systems for keys generated on affected hosts and rotate credentials that depend on them.
  • Monitor vendor advisories (Debian DSA-1571/1576, Ubuntu USN-612) for the full list of affected packages.

Detection

  • Inventory key and certificate creation dates and flag any generated on affected Debian/Ubuntu hosts during the vulnerable period.
  • Compare public keys against known weak-key blocklists or the Debian OpenSSL blacklist tooling.
  • Monitor authentication logs for successful logins using keys that should have been rotated.
  • Scan for hosts still running unpatched OpenSSL versions in the affected range.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://metasploit.com/users/hdm/tools/debian-openssl/ Broken Link
http://secunia.com/advisories/30136 Broken LinkVendor Advisory
http://secunia.com/advisories/30220 Broken LinkVendor Advisory
http://secunia.com/advisories/30221 Broken LinkVendor Advisory
http://secunia.com/advisories/30231 Broken LinkVendor Advisory
http://secunia.com/advisories/30239 Broken LinkVendor Advisory
http://secunia.com/advisories/30249 Broken LinkVendor Advisory
http://sourceforge.net/mailarchive/forum.php?thread_name=48367252.7070603%40shemesh.biz&forum_name=rsyncrypto-devel Third Party Advisory
http://www.debian.org/security/2008/dsa-1571 Mailing ListPatchVendor Advisory
http://www.debian.org/security/2008/dsa-1576 Mailing ListPatch
http://www.kb.cert.org/vuls/id/925211 Third Party AdvisoryUS Government Resource
http://www.securityfocus.com/archive/1/492112/100/0/threaded Broken LinkThird Party AdvisoryVDB Entry
http://www.securityfocus.com/bid/29179 Broken LinkExploitThird Party AdvisoryVDB Entry
http://www.securitytracker.com/id?1020017 Broken LinkThird Party AdvisoryVDB Entry
http://www.ubuntu.com/usn/usn-612-1 PatchThird Party Advisory
http://www.ubuntu.com/usn/usn-612-2 PatchThird Party Advisory
http://www.ubuntu.com/usn/usn-612-3 Third Party Advisory
http://www.ubuntu.com/usn/usn-612-4 Third Party Advisory
http://www.ubuntu.com/usn/usn-612-7 Third Party Advisory
http://www.us-cert.gov/cas/techalerts/TA08-137A.html Broken LinkThird Party AdvisoryUS Government Resource
https://16years.secvuln.info
https://exchange.xforce.ibmcloud.com/vulnerabilities/42375 Third Party AdvisoryVDB Entry
https://news.ycombinator.com/item?id=40333169
https://www.exploit-db.com/exploits/5622 ExploitThird Party AdvisoryVDB Entry
https://www.exploit-db.com/exploits/5632 ExploitThird Party AdvisoryVDB Entry
https://www.exploit-db.com/exploits/5720 ExploitThird Party AdvisoryVDB Entry
http://metasploit.com/users/hdm/tools/debian-openssl/ Broken Link
http://secunia.com/advisories/30136 Broken LinkVendor Advisory
http://secunia.com/advisories/30220 Broken LinkVendor Advisory
http://secunia.com/advisories/30221 Broken LinkVendor Advisory
http://secunia.com/advisories/30231 Broken LinkVendor Advisory
http://secunia.com/advisories/30239 Broken LinkVendor Advisory
http://secunia.com/advisories/30249 Broken LinkVendor Advisory
http://sourceforge.net/mailarchive/forum.php?thread_name=48367252.7070603%40shemesh.biz&forum_name=rsyncrypto-devel Third Party Advisory
http://www.debian.org/security/2008/dsa-1571 Mailing ListPatchVendor Advisory
http://www.debian.org/security/2008/dsa-1576 Mailing ListPatch
http://www.kb.cert.org/vuls/id/925211 Third Party AdvisoryUS Government Resource
http://www.securityfocus.com/archive/1/492112/100/0/threaded Broken LinkThird Party AdvisoryVDB Entry
http://www.securityfocus.com/bid/29179 Broken LinkExploitThird Party AdvisoryVDB Entry
http://www.securitytracker.com/id?1020017 Broken LinkThird Party AdvisoryVDB Entry

Track CVE-2008-0166 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2023-46604Apache ActiveMQ OpenWire deserialization remote code executionThe Java OpenWire protocol marshaller in Apache ActiveMQ deserializes untrusted data, letting an attacker manipulate serialized class types so the br…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2008-0166), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.