Debian Flaw From 2008 Still Leaves Dozens of Top Domains Open to Email Spoofing
An internet sweep found nearly 100 major organizations using predictable DKIM keys generated during OpenSSL's historic entropy failure.

Nearly two decades after Debian patched one of open-source software's most famous cryptographic failures, dozens of prominent internet domains continue to sign their email using keys generated by the flawed system.
According to research published by dreamstation.systems (https://dreamstation.systems/personal/dkimdebian.html), a scan of DomainKeys Identified Mail (DKIM) records across the Tranco top one million domains revealed that 96 domains still publish keys generated under CVE-2008-0166. Because the private keys corresponding to these public records were fully precomputed in 2008, attackers can use them to generate cryptographically valid signatures and impersonate the affected senders without detection.
The vulnerability stems from a historical timing overlap. Between 2006 and 2008, the Debian package for the OpenSSL cryptographic library—and downstream distributions such as Ubuntu—contained a packaging bug that removed almost all entropy feeding the random number generator. The modification reduced the only variable input to the operating system process ID, limiting output to just 32,768 possible keys per architecture and key type. Once disclosed in May 2008, researchers quickly enumerated and published the entire key space, allowing anyone to match a known public key directly to its corresponding private key.
At the same time, the modern framework for DKIM was taking shape. The protocol, which allows receiving mail servers to confirm that an outbound message was genuinely dispatched by the sending domain and unaltered in transit, reached the IETF Proposed Standard stage in 2007. System administrators deploying early DKIM implementations commonly generated their RSA key pairs on Debian servers running the flawed OpenSSL package.
Unlike transport layer security certificates, DKIM specifications impose no automatic expiration dates or mandatory key rotation cycles. Unless an administrator actively provisions new keys and updates the domain's DNS TXT or CNAME records, a key pair deployed in 2007 can remain operational indefinitely.
The research noted that the remaining vulnerable domains include an international standards organization, the healthcare department of a national government, and several information technology companies. The count dropped to 96 from an initial 101 after the researcher privately notified affected domain owners.
An expanded audit using the cryptographic inspection tool badkeys found that hygiene issues extend well beyond the 2008 Debian bug. The scan uncovered 18 instances where domain administrators inadvertently pasted raw private signing keys directly into public DNS records, one public key matched to a private key exposed in an unrelated breach, and 124 malformed records. Legacy key lengths also remain widespread: the sweep identified 386 keys shorter than 768 bits and 2,122 keys measuring between 768 and 1,023 bits, far below the modern baseline of 1,024 bits and the 2,048-bit standard recommended by major cloud mail providers.
Sources
Written by
The Company Wire
Inside the companies building what’s next. Reporting on startups, technology, funding and the people shaping them.


