A trusted certificate company made eight secret keys that were too weak. Anyone with a laptop can find these keys in less than one second.
With these keys, a person can make a fake "ID card" for any website. This page tells you what occurred, how it occurred, and what you must do.
This report uses some technical names. Read these definitions first.
Your browser does not know each website. It knows only about 150 roots. It follows a chain from the website up to a root.
A CA has a small number of roots. Each root signs some intermediates. Each intermediate signs many customer certificates.
| Root CA | Intermediate CA | Website certificate | |
|---|---|---|---|
| Who makes the key | The CA, in a key ceremony | The CA, in a key ceremony | The website owner, on the server |
| Who signs it | It signs itself | The root | An intermediate |
| Where the key is | Offline HSM in a vault | Online HSM in the CA data centre | The web server |
| How often used | A few times each year | Many times each second | Each connection |
| Life | Up to 25 years | Often 5–10 years | 200 days maximum |
| In your device | Yes, in the root list | No, the website sends it | No, the website sends it |
| Real example | ISRG Root X1GTS Root R1 | Let's Encrypt R11Google WR2 | example.org*.google.com |
| eMudhra example | emSign ECC Root CA – G3 | EM DV TLS CA – G3B | None issued |
If an intermediate key is lost, the CA revokes only that intermediate. The root continues to operate. If a root key is lost, all certificates below it fail, and each device must get an update.
Your browser does not keep a list of all certificates. It only checks the signatures up to a root. A certificate that a CA signs today works immediately.
Certificates are different in four ways: how much the CA checks, what the certificate is for, how many names it covers, and the type of key.
| Type | Use | Example | In this incident |
|---|---|---|---|
| TLS server | Proves the name of a website or API | https://bank.com | 6 weak intermediates |
| Code signing | Proves who made a program, and that nobody changed it | Windows apps and drivers | 2 weak intermediates |
| TLS client | Proves the name of a device or user to a server (mTLS) | Company VPN, IoT devices | Not affected |
| S/MIME email | Signs and encrypts email | Signed company email | Not affected |
| Document signing | Signs PDFs and forms | Indian Digital Signature Certificates for tax forms | Not affected |
A CA does not make its keys on a usual computer. The rules tell it to use special equipment, a secure room and a team of trusted persons.
The HSM makes a random private key. From the private key, it calculates the public key. The private key must never go out of the HSM.
eMudhra added an extra step to the script (the wrap and unwrap test). This step made a second, weak key with an almost identical label. In step 7, staff used the weak key. Nobody did step 8. A process audit checks that the team follows the script. It does not check the key itself.
Five groups make the parts of the system. Each group has one job. The drawing shows how the parts move between them.
| Item | Who makes it | Where it is kept | How it is used |
|---|---|---|---|
| Root key and certificate | The CA, in a key ceremony | Key: offline HSM. Certificate: in each device | Signs intermediates a few times each yearISRG Root X1 |
| Intermediate key and certificate | The CA, in a key ceremony. The root signs it | Key: online HSM at the CA | Signs customer certificates all dayLet's Encrypt R11 |
| Website key pair | The website owner, or a tool on the server | The web server | Proves in each connection that the server owns the certificatemade by Certbot |
| CSR | The website owner | Sent to the CA once | Asks the CA for a certificateopenssl req |
| Website certificate | The CA (the intermediate signs it) | The web server | Sent to each browser that connectsshop.example.com |
| CT log entry | The CA sends it. Log operators keep it | Public logs | All persons can see all certificates. Chrome and Safari require itsearch at crt.sh |
| CRL and OCSP | The CA | The CA's web servers | Tells software which certificates are revokedcrl.emsign.com |
| Root list (trust store) | The root programs | Browsers and operating systems | Decides which roots to trustMozilla NSS, Chrome Root Store |
| Fast block list | The browser makers | Pushed to browsers in hours | Blocks bad intermediates without a full updateOneCRL, CRLSet |
| Copied root lists | Package maintainers | Inside packages and programs | The root list for programs that are not browserscertifi, ca-certificates, webpki-roots |
# Step 2 and 3, made by hand with OpenSSL openssl ecparam -genkey -name prime256v1 -out shop.key # private key: keep it secret openssl req -new -key shop.key -subj "/CN=shop.example.com" -out shop.csr # CSR: send to the CA # Or let Certbot do all the steps sudo certbot --nginx -d shop.example.com
You can see the chain that any website sends. Run this command:
openssl s_client -connect www.google.com:443 -showcerts </dev/null | grep -E "^ *[0-9] s:|i:" 0 s:CN = www.google.com i:C = US, O = Google Trust Services, CN = WR2 # the intermediate signed it 1 s:C = US, O = Google Trust Services, CN = WR2 i:C = US, O = Google Trust Services LLC, CN = GTS Root R1 # the root signed WR2
"s" is the subject (who the certificate is for). "i" is the issuer (who signed it). The root is not in the output, because your device already has it. The names can change when Google changes its certificates.
The CA (eMudhra) made the intermediate keys in its key ceremony. The weak keys came from that step. The website owners, root programs and browsers did nothing wrong.
On 30 April 2025, eMudhra did a "key ceremony". In a key ceremony, staff use an HSM to make new CA keys. They made 24 intermediate certificates that day.
The 24 keys were in three series (A, B and C). Each series had RSA keys and ECC (P-384) keys. The eight weak keys are all the ECC keys in series B and C.
Some experts think that the HSM software wrote a "reference" key file to disk. This file only points to the real key inside the HSM. They think that a tool used this small reference number as a real private key. eMudhra has not yet given a full root-cause report.
In May 2025, the lists of revoked certificates (CRLs) from these six TLS intermediates had bad signatures (Mozilla bug 1970728). The real HSM key signed the lists, but the certificates had the weak public key. So the signatures did not agree. eMudhra then signed the lists again with the weak keys. It did not find the real problem.
A P-384 private key must be a random number between 1 and a very large number. That large number has 116 digits. Nobody can guess it.
Each of the eight weak keys was a number less than 256. In computer memory, the key was all zeros, with only the last byte different.
To find the key, a person makes the first 255 P-384 keys. Then the person compares each one with the public key in the certificate. One will agree. This takes less than one second.
The leaked key (easy to get), and control of your network connection. Examples are a fake Wi-Fi hotspot, a bad router, or DNS tricks.
eMudhra says that the eight intermediates did not issue certificates to customers. Chrome found no fake certificates in the public Certificate Transparency logs. No attack is known at this time.
All times are UTC.
Browsers get block lists in a few hours. Many other programs do not. They keep their own copy of the root list. They also do not check revocation. For them, only the removal of the root gives protection.
| Software | Status | Fixed version |
|---|---|---|
| Chrome, Firefox (desktop), Safari, Edge | Protected | Automatic block list |
| Firefox for Android | Protected after update | 158.0.2 |
| NSS (Mozilla root list) | Fixed | 3.131.1 |
| Python certifi | Update it | 2026.10.19 |
| Go | Update it | 1.27.3 / 1.26.10 |
| Rust webpki-roots | Update and rebuild | 1.0.10 |
| Debian ca-certificates | Update it | DSA-6572-1 |
| Containers, old phones, smart TVs, IoT | At risk | Rebuild or replace |
Go does not check revocation, and it has no root list of its own. So the Go team added a small block list to the standard library. The change has 42 new lines in three files. It removed no lines.
See the full change on GitHub: github.com/golang/go/commit/7f86f957
Note: the code and the release notes do not name eMudhra. They only say "a handful of intermediates".
Go has three ways to check a certificate chain. The fix had to go into all three.
// verify.go — Verify() picks the verifier (code before the fix, abridged) if runtime.GOOS == "windows" || runtime.GOOS == "darwin" || runtime.GOOS == "ios" { systemPool := systemRootsPool() if opts.Roots == nil && (systemPool == nil || systemPool.systemPool) { return c.systemVerify(&opts) // returns early: Go's own checks never run } ... } // Linux, and any custom Roots pool, continue to Go's own chain builder
This is why one check in verify.go was not sufficient. On macOS and Windows, systemVerify returns before Go's own checks.
+// distrustedSPKIHashes contains hashes of SPKIs from certificates which +// we don't consider to be trustworthy. We use these hashes to filter out +// chains returned by Verify +var distrustedSPKIHashes = map[string]struct{}{ + "ebed6475c2c2d80fcb199f3fe8dd6e6b3ce60b77eb15d4e42c3dec0c6f5b5105": {}, + "49dd353dc2b919a3770645117d0e60c16115e7d1bc259eefe734b00ea434fe5f": {}, + "e0254c7fcdc265e2f0f8a428dabb75ab4ae039b4872d62f5ee57f0877d5a8a41": {}, + "5c0660a2b164910d8ff589c18e14552e9e0ec237dcefe2cb736d41a4811f81a0": {}, + "43bffa19d6ef651451f6841e019931e96f6f2eaeff28ab4b6f1ce4576de2717b": {}, + "63ecefee431d49523bc1136c4e72d0206a477086caf606cd5cf025686c109cf8": {}, + "ec4ffa1ad0ac88081314b7aaffef6a91f97cd57291bb5ba686c5415f5eb4f6b6": {}, + "92c063d67e8f14db71d288e11266ffdaf69cbf115f7bab14f3bc2f68d25e0e30": {}, +}
+// containsDistrustedSPKIHash checks if any of the certificates in the chain +// have an SPKI whose hash is present in the distrustedSPKIHashes map. +func containsDistrustedSPKIHash(chain []*Certificate) bool { + for _, c := range chain { // each certificate: leaf, intermediates, root + h := sha256.Sum256(c.RawSubjectPublicKeyInfo) // hash the raw SPKI bytes + if _, ok := distrustedSPKIHashes[hex.EncodeToString(h[:])]; ok { // in the list? + return true // yes: this chain is bad + } + } + return false +}
The function looks at every certificate in the chain, not only the leaf. So a chain fails if it goes through one of the weak intermediates. The change also adds two imports, crypto/sha256 and encoding/hex.
candidateChains = slices.DeleteFunc(candidateChains, func(chain []*Certificate) bool {
if !policiesValid(chain, opts) { // existing check
invalidPoliciesChains++
return true
}
if !anyKeyUsage && !checkChainForKeyUsage(chain, opts.KeyUsages) { // existing
incompatibleKeyUsageChains++
return true
}
if err := checkChainConstraints(chain); err != nil { // existing
...
return true
}
+ if containsDistrustedSPKIHash(chain) {
+ return true
+ }
return false
})
if len(candidateChains) == 0 {
...
err = CertificateInvalidError{c, NoValidChains, strings.Join(details, ", ")}
return nil, err
}
if len(chain[0]) == 0 {
// This should _never_ happen, but to be safe
return nil, errors.New("x509: macos certificate verification internal error")
}
+ if containsDistrustedSPKIHash(chain[0]) {
+ return nil, CertificateInvalidError{c, NoValidChains, ""}
+ }
if opts.DNSName != "" {
// If we have a DNS name, apply our own name verification
import ( "bytes" "errors" + "slices" ... + chains = slices.DeleteFunc(chains, containsDistrustedSPKIHash) + if len(chains) == 0 { + if topErr == nil { + return nil, CertificateInvalidError{c, NoValidChains, ""} + } // Return the error from the highest quality context. return nil, topErr }
| Platform | Before Go 1.27.3 / 1.26.10 | After |
|---|---|---|
| Linux, containers | Accepted a fake certificate if the old emSign G3 root was still in /etc/ssl/certsAt risk | Rejected, also with an old ca-certificatesSafe |
| macOS, iOS | Safe only after Apple's block (19 Oct) | Rejected by Go itselfSafe |
| Windows | Safe only after Microsoft's block (20 Oct) | Rejected by Go itselfSafe |
| Own Roots pool | Accepted if your pool had the G3 rootAt risk | RejectedSafe |
go version # go1.27.3 or go1.26.10 or later go version -m ./myservice # Go version used to build a binary # SPKI hash of a certificate, same as Go openssl x509 -in cert.pem -pubkey -noout \ | openssl pkey -pubin -outform der \ | sha256sum
Open emudhra.we-have-a-problem.com. If your browser is safe, all the test connections fail.
The HSM had a FIPS 140-2 Level 3 certificate. But a human error in a script made the keys weak. A certified box does not stop a bad procedure.
The weak keys were in public certificates for 18 months. A free tool found them in a few minutes. Nobody had done that simple check before. Experts now ask CAs to test each new public key for this type of weakness.