Insight

eMudhra’s CA Private Keys Were Single Bytes. One of Them Was 4

Eight eMudhra issuing CAs were revoked for key compromise in October 2026. The keys were not stolen. They were integers below 256, recoverable by anyone from the public certificates in under a second. What happened, how it was missed in 2025, and what to block.

eMudhra's CA Private Keys Were Single Bytes. One of Them Was 4

Updated 21 October 2026. The first version of this post, published a day earlier, said nobody had explained the compromise. Mozilla’s incident bug has since been opened to the public, eMudhra has given a preliminary account, and we have reproduced the key recovery ourselves. The post is rewritten around that. The weekdays in the original timeline were off by one and are corrected here.

Eight eMudhra intermediate CAs were revoked on 18 October 2026 for key compromise. Nobody stole the keys. They were never secret. Each of the eight P-384 private keys is a whole number below 256, and one of them is 4. Anyone holding the public certificate, which is everyone, can recover the private key in under a second. Since 20 October, a lot of people have.

We first wrote about this when the public record was a reason code, a Go patch and a hidden bug. Here is the record as of 21 October, with facts kept apart from inference.

Who eMudhra is, and which keys

eMudhra is an Indian certificate authority, listed on the Bombay and National stock exchanges. Its public TLS brand is emSign, and its roots are in the Mozilla, Chrome, Apple and Microsoft stores. On 30 April 2025 it ran a key ceremony that produced 24 issuing CAs under its G3 roots: three regional series (A for India, B for eMudhra BV in the Netherlands, C for eMudhra Inc in the US), two key types (RSA-4096 and P-384), four purposes (DV, OV and EV TLS, plus code signing). The eight broken keys are every P-384 key in the B and C series.

CAOperatorPrivate keySHA-256 fingerprint (first 16)
EM DV TLS CA - G3BeMudhra BV (NL)15642C4ACCD12C4F595
EM OV TLS CA - G3BeMudhra BV (NL)15598B896625C0C230A
EM EV TLS CA - G3BeMudhra BV (NL)115E7568FE6E12331F4
EM OV CS CA - G3BeMudhra BV (NL)669E39DE2881273ACC
EM DV TLS CA - G3CeMudhra Inc (US)2300164D7CEAE5BB909
EM OV TLS CA - G3CeMudhra Inc (US)4CB6E15165AC802E9
EM EV TLS CA - G3CeMudhra Inc (US)56432EC25F0D28DE90
EM OV CS CA - G3CeMudhra Inc (US)2374B2460A466F95FD4

The private key column is ours. We took the eight certificates from the Common CA Database, multiplied the P-384 base point by every integer from 1 to 255, and compared each result to the public key in the certificate. All eight matched. Twenty lines of Python, one laptop, well under a second. The values agree with Scott Helme’s and with the key for the “4” CA that another researcher posted as a gist.

A P-384 private key is supposed to be a random integer up to roughly 2 to the power 384. These are below 2 to the power 8. In byte terms, 47 bytes of zeros and one byte of key.

One detail about the hierarchy matters later. The certificate that signed the six TLS CAs, emSign Root TLS CA - G3, is itself a new purpose-built root that no browser trusts directly yet. Browsers reach it through a cross-sign from an older root, emSign ECC Root CA - G3. That cross-sign is the subject of the transition-plan thread we started reading last week, and the older root is the one now being thrown out. All eight CAs were also cross-signed by Sectigo from its AAA Certificate Services root in May 2025, so the same eight public keys appear in sixteen certificates.

What happened, in order

All times UTC. The detailed timeline is in Mozilla’s incident bug, mostly from the reporter and from Mozilla’s Dennis Jackson.

On Saturday 17 October at 16:27, a researcher who goes by Wayne ran a new key-checking tool over the certificates disclosed in the CCADB and found that eight EC keys broke. By 18:05 he had signed a message with each of the eight private keys and emailed the proofs to Apple, Chrome, Microsoft, Mozilla and eMudhra. The message reads “We have a problem here - Wayne”. Chrome confirmed the finding and landed a CRLSet update blocking the six TLS keys at 19:45; the reporter saw it arrive in a routine fetch at 22:46. eMudhra acknowledged at 21:28 and said the G3B CAs had issued nothing but OCSP responder certificates, and that EM DV TLS CA - G3C was live but had issued no subscriber certificates; it was disabled. At 21:48 Mozilla recovered all eight private keys on its own, without being told the method. Mozilla’s OneCRL block was complete at 22:59.

On Sunday 18 October between 09:24 and 09:38, eMudhra’s root CRLs added the eight CAs with reason cACompromise. At 12:06 Mozilla opened its incident bug. It stayed restricted for two days.

On Monday 19 October, Apple shipped its block. Sectigo revoked its eight cross-certificates in the afternoon. The Go team released 1.27.3 and 1.26.10 with the eight public key hashes burned into crypto/x509 under CVE-2026-111943, with a deliberately vague description. Mozilla sent a private disclosure to downstream trust store maintainers that, by its own account, did not describe the nature of the flaw. Python’s certifi removed the emSign roots the same day, overshot by removing the unaffected ones too, and restored those a day later.

On Tuesday 20 October it went public, and fast. Several people recovered the keys independently and posted them. The Go team explained that it had kept quiet “due to the ease of exploitation” and had expected the issue to be public a day earlier than it was. Mozilla made its bug readable, released Firefox 158.0.1 and two ESR builds, and announced the emergency removal of emSign ECC Root CA - G3 from NSS 3.131.1, to protect clients that have no way to distrust a single intermediate. Chrome committed to the same removal in Chrome Root Store version 43, due on devices around 27 October. Microsoft’s block landed. eMudhra stopped issuing from everything under the ECC root and estimated about 30,000 subscriber certificates need to move to its RSA hierarchy, 97 percent of them issued through ACME. Cloudflare said it had found no exploitation on its network.

How a CA ends up with a private key of 4

This is eMudhra’s preliminary account, from the bug, and it is explicit that the investigation is not finished.

The ceremony ran on Utimaco HSMs rated FIPS 140-2 Level 3. The B and C series keys were meant to be exported to data centres in Europe and the US for data sovereignty reasons, so the ceremony included what eMudhra calls an approved deviation: a test of the key wrap and unwrap path. A flaw in the script that drove the ceremony created a second set of keys on the HSM alongside the proper ones, and the second set was weak. The two sets had similar labels. The weak keys were picked by mistake to build the certificate signing requests, the requests were signed by the root, and the same requests were sent to Sectigo for cross-signing. The RSA keys from the same ceremony took a different code path and, eMudhra says, are fine. The A series keys for India were generated on Entrust hardware and are not affected. Mozilla says it tried considerably harder to break the A series P-384 keys and could not, and has not yet looked at the RSA keys.

We’ll add one inference, labelled as such. A Level 3 HSM asked to generate a P-384 key does not hand back the number 4. Whatever produced these scalars was not the HSM’s key generator. Something in the wrap-and-unwrap detour produced key objects whose private scalar was a small counter or a stray byte, and the script then treated those objects as the real thing. eMudhra’s own phrase for its check of the other issuers, “mathematical models facilitated by AI”, does not inspire confidence that the root cause is understood yet.

The warning that was missed in June 2025

Here is the part we find hardest to look away from. In June 2025, Sectigo’s Rob Stradling reported that eMudhra was serving CRLs for exactly these six TLS CAs with invalid ECDSA signatures. eMudhra’s incident report at the time blamed “incorrect CA key configuration” in a manual process and a failed maker-checker step, re-signed the CRLs, and closed the bug.

Asked about it now, eMudhra says the CRLs had been signed with the original, properly generated keys. Those signatures did not verify against the certificates, because the certificates carried the weak public keys. So the CRLs were re-signed with the weak keys, and the signatures verified.

Read that twice. In June 2025 the CA held a signature from the real key that did not match its own certificate, the single loudest signal a PKI can give you that the certificate contains the wrong public key. The response was to switch to the key that made the error go away. Sixteen months of exposure followed. Mozilla also noted that the Internet Archive shows the six CRLs failing verification from 23 May, a week before the date eMudhra reported, and the reporter found a further CRL, for emSign Root TLS CA - G1 and published on 14 October 2026, whose signature verifies under no key disclosed in the CCADB at all. That one has no explanation yet.

What Certificate Transparency shows: still nothing

Our earlier check stands and Google has confirmed it: no certificate chaining to the eight CAs was ever logged. The CT logs have since been changed to reject anything that chains to them. For browsers, which require CT proofs, that closes the question. A forged certificate could not have been accepted by Chrome, Safari, Firefox or Edge at any point.

For everything else it closes nothing. The keys have been recoverable by anyone since April 2025. Go programs, curl, Java, Python, mobile apps, embedded devices and TLS-inspecting middleboxes do not require CT and mostly do not check revocation. A certificate forged with these keys and presented to one of those clients would not appear in any log, and nobody can say today whether that happened. Mozilla says as much on its test site. Cloudflare’s “no exploitation observed” covers Cloudflare’s network, which is a large sample and not the whole internet.

Why the silence, and why the scramble

Our first version complained that nobody had said why. The answer turns out to be that the people who knew were holding the one fact that mattered, because the moment it was public the keys would be too. They were right. The bug became readable on 20 October and the keys were on the internet within hours. Go’s release notes, Mozilla’s downstream disclosure and the CRL reason code were all written to say “revoked, act now” without saying “and anyone can do this with a for loop”. We think that was the correct call, and it explains the odd shape of the weekend.

The scramble is the long tail of trust stores. Browsers blocked the keys within hours because they have push channels for exactly this. Everyone else needs a release. Mozilla is keeping a table of them; as of 21 October it includes:

SoftwareFixed in
Go1.27.3, 1.26.10
NSS3.131.1
Python certifi2026.10.19
pip26.2.2
uv0.13.4
Rust rustls-webpki0.103.16
Rust webpki-roots1.0.10
Electron44.9.1, 43.8.1, 42.11.16
curl CA bundle2026-10-20
Debian, Ubuntu, Alpine, Arch, Fedora ca-certificatesreleased 20 October
Node.js, Bun, FreeBSD ca_root_nsspending

Two traps from that page are worth repeating. macOS blocks the keys system-wide, but the built-in curl verifies against a bundled file that does not check revocation and has not been updated. And a Go binary is only fixed when it is rebuilt with the patched toolchain; updating Go on the build host does nothing for what is already deployed.

The rest of the picture

The compliance history is unchanged from our first version and reads differently now. Since mid September outside researchers have filed close to ten incident reports against eMudhra, covering key sizes its own policy forbids, bad OCSP responder certificates, validity periods one second over the limit, missing policy identifiers, and seven undisclosed subordinate CAs. At the same time ten new eMudhra roots were in Mozilla’s inclusion pipeline, with a notice of intent to approve published on 6 October. Chrome says it is now “thoroughly evaluating” whether eMudhra’s remaining root should stay in its store. Mozilla says it is not removing emSign Root CA - G1 at this time. The phrase “at this time” is doing some work.

What to do

Test first. From any host you care about:

curl https://dv-g3b-emudhra.we-have-a-problem.com/
curl https://dv-g3b-aaa-emudhra.we-have-a-problem.com/

A certificate error is the answer you want. A page is a client that still trusts the keys. The first host chains through the emSign root, the second through the Sectigo cross-sign; the site has twelve such hosts covering all eight CAs.

If you run Go services, rebuild and redeploy with 1.27.3 or 1.26.10. If you ship Python, Rust, Electron or anything that bundles its own CA list, pick up the versions above. Node.js and Bun have nothing yet, so a Node service making outbound TLS connections trusts these keys today unless the OS trust store has been fixed and Node is using it.

If you run TLS inspection at the edge, a UTM, a web proxy or a next-generation firewall that terminates and re-signs outbound connections, treat it like a Go binary. Most middleboxes validate against a vendor trust store, fetch CRLs late or never, and know nothing about OneCRL or CRLSets. Until the vendor ships an update, block the eight public keys by SPKI hash where the product supports it. One entry per key covers both the emSign-issued certificate and the Sectigo cross-sign:

ebed6475c2c2d80fcb199f3fe8dd6e6b3ce60b77eb15d4e42c3dec0c6f5b5105  EM DV TLS CA - G3B
43bffa19d6ef651451f6841e019931e96f6f2eaeff28ab4b6f1ce4576de2717b  EM OV TLS CA - G3B
e0254c7fcdc265e2f0f8a428dabb75ab4ae039b4872d62f5ee57f0877d5a8a41  EM EV TLS CA - G3B
ec4ffa1ad0ac88081314b7aaffef6a91f97cd57291bb5ba686c5415f5eb4f6b6  EM OV CS CA - G3B
49dd353dc2b919a3770645117d0e60c16115e7d1bc259eefe734b00ea434fe5f  EM DV TLS CA - G3C
63ecefee431d49523bc1136c4e72d0206a477086caf606cd5cf025686c109cf8  EM OV TLS CA - G3C
5c0660a2b164910d8ff589c18e14552e9e0ec237dcefe2cb736d41a4811f81a0  EM EV TLS CA - G3C
92c063d67e8f14db71d288e11266ffdaf69cbf115f7bab14f3bc2f68d25e0e30  EM OV CS CA - G3C

Those are SHA-256 hashes of each CA’s subject public key info, the same values Go ships. The calculus on the root has changed since our first version. Mozilla and Chrome are removing emSign ECC Root CA - G3 outright, so distrusting it on your own equipment now just gets you to where every browser will be by the end of the month:

86a1ecba089c4a8d3bbe2734c612ba341d813e043cf9e8a862cd5c57a36bbe6b  emSign ECC Root CA - G3 (certificate SHA-256)

Sectigo’s AAA Certificate Services root is a harder call. It is already out of Chrome and Firefox but still in Apple and Microsoft stores, and it signs a lot more than eMudhra. Block the eight keys rather than that root unless you have checked what else depends on it.

If you hold an emSign certificate, find out which root it chains to. Anything under emSign ECC Root CA - G3 stops working in Firefox now and in Chrome around 27 October. eMudhra says it is moving subscribers to its RSA hierarchy under emSign Root CA - G1; if yours came through ACME, a forced renewal should do it. Check it did.

If you run a CA, the lesson is the June 2025 CRL. A signature from your own key that fails to verify against your own certificate is not a configuration error to be re-signed away. It is the certificate telling you what key is really in it.

eMudhra’s full incident report is still to come. We’ll update this post again when it does.