Author of badkeys here. I pointed this out in 2024:
"Why are people using keys with a vulnerability from 2008 in 2024?
I can only speculate, but it may have to do with timing. The Debian OpenSSL bug was introduced in 2006. It was discovered and fixed in 2008. The DKIM specification was published as RFC 4871 in 2007."
https://16years.secvuln.info/
Good bit of history as this happened before I joined the email hosting profession in 2015.
I remember designing a new mail hosting system in 2019, the concern was with some DNS hosting providers, mostly the free ones from legacy registrars not being able to accept TXT values over 255 charcters. A compromise was made to stick to 1024 bit DKIM keys.
Finally made the change to 2048 bit keys this year!
We're in for another round of DNS problems when PQ keys (or long anythings) start getting put in DNS. Buggy apps that don't handle truncation, misguided middleboxes that block TCP 53, etc.
Author of badkeys here. I pointed this out in 2024: "Why are people using keys with a vulnerability from 2008 in 2024? I can only speculate, but it may have to do with timing. The Debian OpenSSL bug was introduced in 2006. It was discovered and fixed in 2008. The DKIM specification was published as RFC 4871 in 2007." https://16years.secvuln.info/
And yes, can confirm that there's still (even after my 2024 disclosures) a significant number of affected hosts. My latest scans: https://monitor.badkeys.info/dkim/2026-08-11-dkim-badkeys.ht...
Hanno Böck (the developer of badkeys mentioned in the post) did a great talk about this vulnerability a couple of years ago:
https://berlin2024.mini.debconf.org/talks/17-breaking-dkim-a...
Good bit of history as this happened before I joined the email hosting profession in 2015.
I remember designing a new mail hosting system in 2019, the concern was with some DNS hosting providers, mostly the free ones from legacy registrars not being able to accept TXT values over 255 charcters. A compromise was made to stick to 1024 bit DKIM keys.
Finally made the change to 2048 bit keys this year!
We're in for another round of DNS problems when PQ keys (or long anythings) start getting put in DNS. Buggy apps that don't handle truncation, misguided middleboxes that block TCP 53, etc.
Ugh, not looking forward to that. But we persevere anyway.
We are lucky that none of the world's secret services ever knew of this problem!
Do intelligence agencies care about DKIM? I would expect vulnerabilities in it to mostly be of interest to spammers.
Phishing is still unmatched as an initial access vector.
Intelligence agencies care about this space, it’s hyper cost efficient to care.
PQC is this years Y2K... first openssh, now opendkim, next postfix