badkeys Had a Small-Key Check Requested Since November 2025; eMudhra's CA Key Was 4
Security / analysis
badkeys Had a Small-Key Check Requested Since November 2025; eMudhra's CA Key Was 4
Hanno Böck's December 3 account lists five earlier chances to catch eight single-byte private keys, and how the researcher who found them got there.
Eight intermediate certificate authority keys at eMudhra, all generated in one ceremony on April 30, 2025, had private values of 4, 56, 66, 115, 155, 156, 230 and 237 on a curve where a private key should run to about 116 digits. Anyone who recomputed the public key from such a value could sign as that CA (eMudhra says none of the eight issued end-entity certificates). On December 3, Hanno Böck, who maintains the key-checking tool badkeys, published an account of why a tool built to catch this class of key did not.
This piece covers the five earlier chances to find the keys, and what happened to each.
What the keys were
According to the Internet Freedom Foundation's October 22 post, the eight keys came from Utimaco hardware security modules. Six were authorised for website certificates and two for code signing. Sectigo cross-signed all eight, and eMudhra said only one intermediate reached production.
Böck's post states that the keys use ECDSA on the p384r1 curve, that one value was 4 and that the others fit in a single byte. He calls it "a full compromise of private keys able to issue trusted web certificates," and says it had not happened before.
eMudhra's explanation, quoted by The Register on October 22, is that "A flaw in the key generation ceremony caused a wrap/unwrap step to produce a second set of weak keys." The weak set was then used by mistake.
Five near-misses in the badkeys history
Böck wrote that a check for small elliptic-curve private values would have found these keys. The table lists each point at which that check, or an equivalent, was on the table.
| Date | What happened | Why it did not catch the keys |
|---|---|---|
| November 2025 | Theo Buehler filed badkeys issue #38 asking whether small EC private keys are bad keys | Böck judged it valid and did not implement it |
| December 2025 | At 39C3, Nadia Henninger suggested Pollard's Kangaroo or Baby Step Giant Step | Kangaroo proved too complex to build quickly |
| June 2026 | Trail of Bits published a new class of weak RSA keys; Böck added a Wiener's attack check after finding CompleteFTP keys with d=65537 | The work stayed on RSA |
| August 2026 | Alexander Tereschenko opened issue #46 about Google's paranoid_crypto | Böck replied that badkeys already covered the interesting checks |
| Ongoing | BoringSSL ships P-384 test keys with d=2 and d=3, already in the blocklist | The blocklist covers d=2 and d=3, not d=4; Böck calls it another near-miss |
Böck also had a script that generated keys for values up to 16 on common curves, so a blocklist scan of the CCADB certificate database would have flagged d=4. He does not blame himself, and writes that hindsight makes the path look obvious.
The order of events in October
The Internet Freedom Foundation's post gives the browser timeline in UTC. Böck's account adds who found the keys.
| Date | Event |
|---|---|
| October 17, 18:05 | A researcher emails browser makers and eMudhra |
| October 17, 19:45 | Chrome blocks the six website intermediates |
| October 17, 22:59 | Mozilla's block reaches Firefox users on standard settings |
| October 18 | eMudhra revokes all eight |
| October 19 | Apple blocks them; Sectigo revokes its cross-signatures |
| October 20 | Microsoft blocks them; Mozilla removes emSign ECC Root CA - G3 |
| October 21 | CERT-In issues advisory CIAD-2026-0050 |
| October 27 | Scheduled date for Chrome to remove the G3 root |
CERT-In's advisory says the keys "were generated with insufficient cryptographic randomness," as quoted by the Internet Freedom Foundation.
Who found it, and with what
Böck writes that on October 17 a person calling himself "Wayne" contacted him, having audited badkeys, likely with AI tools. Wayne's route ran through paranoid_crypto, a 2022 tool by Daniel Bleichenbacher and Pedro Barbosa at Google whose checks include Baby Step Giant Step detection of small EC private keys. Böck missed those checks because the README did not make them prominent.
Wayne saw issue #46 in August, ran paranoid_crypto over CCADB certificates and found the eMudhra certificates at once, then reported them to the browser root programs. Böck learned of the problem on October 19, when he saw Chrome's CRLSet blocking eMudhra intermediates, and identified the d=4 key hours before it became public.
eMudhra's own statement says its "infrastructure was not compromised" and that "all physical and logical security controls remained intact." The Internet Freedom Foundation notes that eMudhra described the keys as findable "possibly with AI-assisted techniques," a description it finds hard to square with the public record, where a single-byte private value falls to a loop over 256 candidates. On October 22 eMudhra announced its exit from global SSL/TLS, which it said contributes "about 1 percent of the global revenue."
What changed and what to check
Böck added single-byte d values for common curves to the badkeys blocklist, and may later replace the list with Baby Step Giant Step, which he considers the most efficient method.
Operators of anything that validates certificates outside a browser should check the trust store it ships. The Internet Freedom Foundation notes that much non-browser software does not check revocation and stays exposed until updated. Related reading on this site: Chrome's P-256 CA key distrust date and the SHA-256 38-step collision paper.
Sources
More in Security
- 01NSA's Six-Step Post-Quantum Checklist Tells Owners to Find EdDSA and Every Curve Except P-384 and P-521The agency's Version 1.0 advisory sets no deadline and describes no new attack, but its inventory step names algorithms that neither CNSA suite approves.
- 02CISA Lists Azure API Management CVE-2026-139934 and Two PingIDM Flaws as Exploited, Due MondayThe Azure bug needs no credentials and scores 9.8; both PingIDM flaws need a login and score 9.3 under CVSS 4.0.
- 03ArtexPot Honeypots Ran Code Inside ARTEX 0.3.15 in 33 of 36 Runs, in a Test by Their SellerNebuSec's November 28 write-up covers one agent version and two models, and the company sells a commercial edition of the honeypots.
- 04Xen Orchestra Login Bypass Hits CISA KEV; VM Import Flaw UnfixedA cookie holding an empty JSON object logs an attacker in as an admin. Vates patched it Nov. 10; a second flaw had no fix.