dreamstation.systems·5 december 2026

DKIM was introduced at a very unlucky time; or, happy 20 years of CVE-2008-0166

Image for the article: DKIM was introduced at a very unlucky time; or, happy 20 years of CVE-2008-0166
Image via dreamstation.systems

A critical vulnerability in Debian's OpenSSL package (CVE-2008-0166) from 2006 to 2008 severely weakened cryptographic keys, limiting them to 32,768 possible values per architecture. This flaw affected early adopters of DKIM, a standard for email authentication, as many generated keys using the compromised OpenSSL. Despite the vulnerability being public for years, 96 of the top million domains still use keys affected by CVE-2008-0166, allowing attackers to forge emails. Additional issues include leaked private keys, weak key lengths, and malformed keys. The author found these issues by scraping DKIM DNS records and alerted affected domains, reducing the number from 101 to 96.