0zerodowntime.in

Note

eMudhra: eight CA keys that anyone could recover in under a second

· Source dated 2026-10-20 · 4 min read

eMudhra generated the private keys of eight intermediate CAs wrongly in April 2025. Browsers are protected. curl, Python, Node, Java, containers and devices with an old trust store are not, until you update them.

Eight bits of trust: eMudhra's CA keys cracked in milliseconds (Scott Helme) ↗

What happened. eMudhra is a certificate authority (CA) from India. On 17 October 2026, a researcher reported to Apple, Google, Microsoft, Mozilla and eMudhra that the private keys of eight eMudhra intermediate CAs could be recovered from their certificates. The disclosure page shows the proof: the reporter signed the message “We have a problem here - Wayne” with each of the eight keys.

Scott Helme explains the flaw. A P-384 private key must be a random 384-bit number. Each of these keys was 47 zero bytes and then one byte. So each key was a number below 256, and a search finds it in at most 255 steps. He recovered all eight keys in under a second. The keys pass every structural check, so only a test of the key itself shows the problem.

In Mozilla’s incident bug, eMudhra gives a preliminary cause. A flaw in the script of the key ceremony on 30 April 2025 made a second, weak key pair on the HSM. The labels were similar, and the weak keys were used by mistake for the certificate requests. eMudhra’s root signed them, and Sectigo cross-signed them.

Which certificates. Six TLS CAs (EM DV, OV and EV TLS CA, generations G3B and G3C) and two code-signing CAs (EM OV CS CA - G3B and G3C). Each one exists twice: issued by eMudhra’s own root, and cross-signed by Sectigo’s AAA Certificate Services root. The list with fingerprints is on the disclosure page.

The certificates were created in April 2025. So for about 17 months, anyone who looked at them could make a certificate for any website. Nobody knows if someone did.

What the browsers did.

Date (2026)Action
17 OctReport. Chrome blocked the TLS intermediates with a CRLSet update. Firefox blocked them with OneCRL.
18 OcteMudhra revoked the eight intermediates (reason: CA compromise).
19 OctApple blocked them. Sectigo revoked its cross-signs. Downstream trust stores got the details.
20 OctMicrosoft blocked them. Public disclosure. Mozilla shipped an NSS update without the emSign ECC Root CA - G3 root. Chrome said its Root Store version 43 will remove that root.

Chrome, Firefox, Edge and Safari also require Certificate Transparency. No TLS certificate from these intermediates is in the CT logs. So, by default, these browsers could not have trusted a forged certificate.

Who is not protected. Software that does not use browser revocation lists, and does not check CT, trusts these certificates until its own list of trusted roots (its trust store) is updated. Scott Helme tested a forged certificate for api.stripe.com. curl, Python and Node accepted it with default settings on every Linux and macOS machine he tried. That covers most of what runs on a server:

  • install scripts like curl … | sh, and self-updaters;
  • CI and CD pipelines, and package downloads;
  • server-to-server API calls, webhooks and payment calls;
  • Java, Node, Python and Go apps that bring their own list of roots;
  • container images built before the fix;
  • routers, printers, TVs and other devices with firmware that does not change.

The intermediates are valid until 2040, and the Sectigo cross-signs until 2028. A device that never gets an update keeps trusting them.

If you have an eMudhra certificate. Mozilla has removed trust in the emSign ECC Root CA - G3 root, and Chrome will do the same. In the bug, eMudhra says about 30,000 certificates must move, that about 97% of them come through ACME, and that it will move its customers to the emSign Root CA - G1 chain. If your site has a certificate from eMudhra, check its chain now. Replace the certificate before your visitors’ browsers stop trusting it.

What to do. Update every trust store you run: the operating system, every language runtime that has its own copy, every container image, and your CI runners. Then test. Our guide has the commands and the fixed versions: Update the certificates your software trusts.

Our opinion. We checked our own servers on 21 October. The fixed ca-certificates package from Debian security was installed that morning, so curl, Python and Debian’s own Node on the hosts refused the test chains. Three other copies of the roots still accepted them. Java has its own store, and the Debian update did not remove the two roots from it. The Node versions we install with a version manager bring their own list of roots. And most of our container images have their own copy of the roots from the day each image was built. “We patched the servers” was true and was not enough. We now treat trust stores like any other dependency: we know where every copy is, we rebuild images when the roots change, and we test with the disclosure page’s test hosts instead of assuming.

certificatestrust-storecasecurity