Eight Bits of Trust; eMudhra's CA keys cracked in milliseconds
Recorded: Oct. 21, 2026, 11:59 a.m.
| Original | Summarized |
Eight Bits of Trust; eMudhra's CA keys cracked in milliseconds Home 🌙 Sponsored by: Report URI - XSS can ride a passkey-authenticated session. See it in the browser. Certificate Authorities Eight Bits of Trust; eMudhra's CA keys cracked in milliseconds Scott Helme Scott Helme 20 Oct 2026 One of eMudhra's certificate authority private keys is the number 4.Not a number that starts with 4, or the number 4 followed by a few hundred random digits, just, 4... Another one is 56, and another is 115. I know, because I recovered all of them from their public certificates on my laptop just now, and it took less than a second.What happenedOn Saturday 17th October a security researcher reported to Apple, Google, Microsoft, Mozilla and eMudhra that the private keys for eight eMudhra intermediate certificates were compromised. Chrome pushed a CRLSet update blocking them that evening and Mozilla blocked them in Firefox via OneCRL a few hours later. On Tuesday 20th, Mozilla announced it publicly and shipped an NSS update removing the eMudhra root, and Chrome confirmed the root is going in Chrome Root Store v43.The eight intermediates are six TLS issuing CAs (DV, OV and EV, two generations each) and two code-signing CAs, all created in April 2025. Every one of them was also cross-signed by Sectigo's AAA Certificate Services root in May 2025.That's the "what", but it's the "how" that's the interesting part, and it was summed up in one line on the thread by Ian Carroll:They are inherently weak single-byte keys that anyone can factor, and the issue cannot be contained.What a private key actually isThese are elliptic-curve keys on the P-384 curve. The private key is just a number, d. The public key, the thing that goes in the certificate for the world to see, is d × G, where G is a fixed point on the curve that everyone uses and "×" means adding G to itself d times using the curve's special arithmetic.Going forwards is easy, but going backwards, from the public key to d, is considered to be impractical. That's the entire security model, and it only holds if d is enormous. A P-384 private key should be a random 384-bit number, which gives you 2³⁸⁴ possibilities (or roughly 10¹¹⁵), so nobody is ever going to search that.eMudhra's keys look like this:d = 0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004 Intermediate EM DV TLS CA - G3B EM DV TLS CA - G3C EM EV TLS CA - G3B EM EV TLS CA - G3C EM OV TLS CA - G3B EM OV TLS CA - G3C EM OV CS CA - G3B EM OV CS CA - G3C It's interesting that nothing about these certificates looks wrong. A public key derived from d = 4 is a perfectly valid point on the curve, the encoding is fine, the curve is fine, every structural check passes. The only way to find out is to try.Why "it cannot be contained"Normally when a CA key is compromised, someone stole it! There's a thief, there's a moment it happened, and you can at least reason about who now has access to that key.Here, nobody had to steal anything. The key was effectively public from the day the certificate existed. Anyone who looked at one of these certificates, at any point since April 2025, could have recovered the key in milliseconds on commodity hardware. That's a 17 month window and there is no way to know whether someone did.Chrome made the point that because Chrome enforces Certificate Transparency, and no TLS certificates chaining to these CAs ever showed up in CT, no forged certificate could have been trusted by default in Chrome. That's true and it's reassuring for browsers. CT detects mis-issuance though, it doesn't prevent it, and a lot of software doesn't check CT at all.Who's exposed todayMainstream and updated browsers are likely absolutely fine. Chrome and Firefox block the intermediates directly and both require CT, and Safari requires CT too.Everything else is a different story, though. Most non-browser TLS clients (so basically everything else, with default settings), things like curl, Python, Node, Go, Java, git, package managers and every script and daemon you've got, do three things that matter here: they trust a CA bundle on disk, they don't check revocation by default, and they don't check CT. So the fact that eMudhra and Sectigo have revoked these intermediates doesn't help them at all. This is something that I find often when talking about TLS and PKI, understanding just how massive the client ecosystem is can be overlooked. We often focus on this in training when we look at modern solutions for revocation like CRLite, which works wonders on the desktop browsers, but does nothing for any other TLS client. Consider what needs its root store updating now, and this is just the tip of the iceberg:curl | sh installers and self-updaters. Many tools install or update by downloading a script or binary over HTTPS with no signature check (rustup, nvm, Homebrew's installer, countless "install.sh" pages, IoT firmware updaters). A forged certificate here means running the attacker's code, often as root.CI/CD pipelines. GitHub/GitLab runners, Jenkins and build containers fetch dependencies and push artifacts, while holding cloud keys, registry tokens and signing keys. They run on stale base images in shared networks, and they're all curl, Python, Go and Node underneath.Server-to-server API calls. Payment providers, webhooks, OAuth token exchanges and cloud SDKs (AWS CLI and boto use their own certifi bundle; Terraform and kubectl use Go). These carry API secrets and customer data in headers.IoT, embedded and OT devices. Cameras, routers, cars, medical devices, smart appliances, payment terminals and industrial controllers phoning home for commands and updates. Their bundles are frozen until 2039, which is the "cannot be contained" point made real.Windows code signing. It isn't TLS, but it's the same flaw: Windows trusts the eMudhra CS root directly. Malware signed with EM OV CS CA - G3B/G3C looks like signed software from a real publisher to anything that doesn't check revocation.I tested this on my own machines using a local server and a certificate for api.stripe.com, a name that we can all likely agree is very high value. With default settings, curl said SSL certificate verify ok, Python completed the handshake, and Node said authorized: true. That was true on every Linux and macOS machine I tested. On Windows, CryptoAPI accepted the chain unless revocation checking was switched on, and even then only one of the two routes came back as revoked.scott@Middle-Earth:~$ curl -v --resolve api.stripe.com:18888:127.0.0.1 https://api.stripe.com:18888/ Have you enjoyed this post or found it helpful? Tags: Certificate Authorities, certificate revocation Please enable JavaScript to view the comments powered by Disqus.
Upcoming Events Practical TLS and PKI Training (US TZ, Virtual) Black Hat EU (London, England) BSides London (London, England) NDC Security (Oslo, Norway) Projects Report URI Cheat Sheets CSP Cheat Sheet Follow More in Certificate Authorities DNS-PERSIST-01; Handling Domain Control Validation in a short-lived certificate World 9 Feb 2026 – Shorter certificates are coming! 22 Apr 2025 – Are shorter certificates finally coming?! 15 Oct 2024 – See all 16 posts Free Post Passkeys Are Not a Trap A post called Passkeys are a trap. Do not use them. has been doing the rounds over the last few days, making it pretty high on Hacker News, and I&... Scott Helme Scott Helme License CC BY-SA 4.0 to scotthelme.co.uk Thanks for supporting me and my work! Great, you're subscribed! Perhaps you'd also consider supporting my work? Welcome back! You've successfully signed in. Wow! Thanks for the support! Success! Your billing info is updated. Billing info update failed. |
In his detailed analysis, security researcher Scott Helme exposes a critical and fundamentally insecure security incident involving eMudhra, a certificate authority (CA), where eight intermediate CA private keys were compromised and brute-forced in mere milliseconds. The article, published on October 20, 2026, provides a thorough technical explanation of the vulnerability, its impact across a wide range of software and systems, and the subsequent response efforts by major browser vendors. At the core of the incident is the extreme weakness of the private keys used by eMudhra's eight intermediate certificates. These keys were elliptic-curve keys on the P-384 curve, where the private key is a number d, and the public key is derived from d multiplied by a fixed base point G. In a properly secure setup, d is a random 384-bit number, yielding an astronomically large search space. However, in this case, all eight private keys were single-byte values—specifically d = 4, 56, 115, 155, 156, 230, 237, and 66—for the six TLS issuing CAs (DV, OV, EV, two generations each) and two code-signing CAs. The public keys, derived from these tiny private numbers, were perfectly valid points on the curve, passing all structural validation checks. The vulnerability lay entirely in the private key generation, which was inherently insecure. Because d is only one byte, the brute-force attack involves checking multiples of G up to 255 times, which can be completed in less than a second on commodity hardware. Helme states that all eight keys were recovered from the public certificates on his laptop just that day. The compromise occurred when a security researcher reported to Apple, Google, Microsoft, Mozilla, and eMudhra on Saturday, October 17, 2026. Chrome, which enforces Certificate Transparency (CT) and revocation checks, pushed a CRLSet update that evening to block the affected intermediates. Mozilla subsequently blocked them in Firefox via OneCRL a few hours later, and on Tuesday, October 20, Mozilla publicly announced the compromise and shipped an NSS update removing the eMudhra root from the Firefox root store. Chrome confirmed that the eMudhra root would be removed from Chrome Root Store v43. The eight intermediates, created in April 2025, were cross-signed by Sectigo's AAA Certificate Services root in May 2025, and every one of them was compromised. Helme emphasizes that the issue is "inherently weak single-byte keys that anyone can factor, and the issue cannot be contained." This characteristic arises because the private keys were effectively public from the moment the certificates were issued. Anyone who examined one of these certificates, at any point since April 2025, could have recovered the keys in milliseconds. There is no way to know whether someone actually did, as the keys could have been used by unscrupulous actors without detection. The browser vendors' actions were partly justified by their reliance on CT and revocation mechanisms, which prevent forged certificates from being trusted by default. However, Helme notes that CT only detects mis-issuance and does not prevent it, and many non-browser software applications do not check CT at all, leaving them vulnerable. The primary exposure is to non-browser TLS clients, which are the vast majority of systems outside mainstream browsers. These clients typically trust a CA bundle on disk, do not check revocation by default, and often ignore CT. Consequently, eMudhra and Sectigo's revocation of the intermediates does not protect them. Helme details the categories of systems most affected: common command-line and scripting tools such as curl, Python, Node.js, Go, Java, git, and package managers; CI/CD pipelines including GitHub, GitLab runners, Jenkins, and build containers; server-to-server API calls involving payment providers, OAuth exchanges, and cloud SDKs like AWS CLI and Terraform; as well as IoT, embedded, and operational technology (OT) devices, which often have frozen CA bundles until 2039. Windows code signing is also impacted, as Windows directly trusts the eMudhra code-signing root even though it is not a TLS connection; malware signed with these compromised CAs can appear as legitimate software. To illustrate the severity, Helme demonstrates a test using a local server presenting a certificate for api.stripe.com, a high-value domain. On Linux and macOS, with default settings, curl, Python, and Node.js all accepted the invalid certificate, completing the TLS handshake without any revocation or CT checks. On Windows, CryptoAPI also accepted the chain unless revocation checking was explicitly enabled. This test, conducted on multiple machines, shows that a single compromised CA can compromise encrypted traffic across a broad ecosystem, with the attacker able to intercept traffic on the network path by placing their certificate in the chain. In his assessment, Helme advises that for devices and software that can be updated, the solution is straightforward: update all CA bundles, including operating system packages like ca-certificates, certifi, Node.js, Homebrew, and rebuild container images to incorporate the new root store. For devices that cannot be updated or are updated with difficulty—such as routers, printers, TVs, and appliances with frozen firmware—the risk persists until the certificates expire in July 2039, making the "cannot be contained" warning a practical reality. Helme also notes an interesting detail: a simple prompt to an AI agent named Claude allowed him to recover the private keys of the CA, highlighting the ease with which such weak keys could be compromised even with minimal computational effort. The article cites several sources, including a Mozilla Development Security Policy (MDSP) thread, a research announcement from eMudhra, and a public Mozilla bugzilla ticket, though the summary does not elaborate on these references beyond their existence. |