When we first published on 21 October 2026, Java had no confirmed eMudhra fix and the community tracker listed it as pending. Azul and Oracle shipped fixes later that day (see the updates below), but every JVM you have not yet updated is still exposed. Any JVM, app server, Android app or container image with its own trust store may still accept certificates from the eight weak-key intermediates. Find every cacerts and custom trust store, check them with keytool, remove both trust paths with care, test, then rebuild.
Update, 23 October 2026: Java fixes have now shipped. Azul and Oracle released builds on 21 October that block the compromised eMudhra certificates, OpenJDK committed the same change, and Azul published a workaround for existing Zulu installs. See what has shipped for Java since this post for versions and verification steps. Foojay.io also covers the Azul releases in its write-up of the Zulu October 2026 update.
This is the Java follow-up to our eMudhra CA key compromise explainer, which covers what happened and how browsers reacted. Here we stay inside the JVM: where its trust lives, how to change it without breaking production, and how to prove the change worked.
Update, 17 November 2026: a second Java fix, and more roots removed
Four things have changed since our 25 October update. Each one comes from the vendor or project page linked here; check those pages again before you act.
1. Azul shipped a second release, and its workaround is no longer enough. Azul's workaround page now carries a warning that the workaround "no longer fully addresses the problem as a new, related vulnerability has been detected," and says "All customers must update to the latest release ASAP." Azul's October 24, 2026 Update Release Notes (revision 1.6) describe a second out-of-cycle update for Zulu 27, 25, 21, 17, 11, 8, 7 and 6. It lists CVE-2026-114820 (component JSSE, base score 9.1) as fixed, says the release "removes certain CA certificates from the cacerts truststore," and asks customers to update to it as soon as possible, including those who already installed the 21 October update. The Zulu build table and the five workaround steps in our 25 October section below describe the first release only. Use Azul's 24 October notes for current build numbers. Credit to Azul for flagging the change at the top of its own workaround page.
2. OpenJDK removed four roots from cacerts, including emSign Root CA - G1. On 23 October OpenJDK merged 8395690: CA certificate improvements, which deletes comodoaaaca, emsigneccrootcag3, emsignrootcag1 and emsignrootcag2 from the cacerts source. OpenJDK's guidance page, Compromised Certificates and OpenJDK Java Runtimes (last updated 24 October), asks users of standalone runtimes to act "even if you have updated your runtime in the past few days." The preferred action is a vendor runtime whose release note says it fixes JDK-8395690, CVE-2026-114820. Until one exists, back up the keystore and delete all four aliases. Earlier versions of this post said emSign Root CA - G1 is not part of the removal. That is still true of Mozilla's change, but not of OpenJDK's.
3. Newer Oracle builds are out. The community tracker Java row now lists Oracle JDK 27.0.1.0.3, 25.0.5.0.3, 21.0.13.0.3, 17.0.21.0.3, 11.0.33.0.3 and 8u511 b33, plus JetBrains Runtime builds for IDE users, and shows OpenJDK itself as pending. The 21 October Oracle builds in our table below are no longer the latest. Confirm the current build on Oracle's own pages before you deploy.
4. The Debian and Ubuntu keystore needs a full rebuild. OpenJDK's guidance and the tracker both say that, because of a long-standing bug in ca-certificates-java, updating ca-certificates and ca-certificates-java does not refresh /etc/ssl/certs/java/cacerts. Their fix, run as root, is to remove the keystore and recreate it:
sudo cp -p /etc/ssl/certs/java/cacerts /root/java-cacerts.bak-$(date +%F)
sudo rm -f /etc/ssl/certs/java/cacerts
sudo update-ca-certificates --fresh
This replaces the update-ca-certificates -f command we gave earlier. Steps 2, 6 and 8 below are updated to match.
Update, 25 October 2026: Azul workaround and respin builds
This section adds what Azul has published for its own Zulu builds. Everything in it comes from two Azul pages: the Out-of-Cycle, October 21, 2026 Update Release Notes (revision 1.4 when we checked on 25 October) and the workaround for the eMudhra CA certificate compromise. Check both pages for changes before you act. Azul has since shipped a second release and marked this workaround as no longer sufficient; see the 17 November update above.
What Azul says is affected. Azul's release notes say Zulu trusts the root certificates that the eight compromised eMudhra intermediates chain to, and Java does not check certificate revocation by default, so without a fix Zulu would accept certificates issued with the compromised keys. The notes list CVE-2026-91403 (component JSSE, base score 9.1) as fixed, with Zulu versions 27, 25, 21, 17, 11, 8, 7 and 6 affected.
What the respin builds change. The release adds the eight compromised intermediate certificates to the list of blocked certificates in lib/security: blocked.certs in JDK 11 and later, blacklisted.certs in older versions. Azul says no manual workaround is needed after upgrading to one of these builds:
| Zulu version | Update type | JDK version |
|---|---|---|
| 27.30.107 (CA), 27.30.108 (SA) | PSU | 27.0.1+9 |
| 25.38.107 (CA), 25.38.108 (SA) | PSU | 25.0.5+8 |
| 25.37.114 (SA) | CPU | 25.0.4.1.101+1 |
| 21.54.107 (CA), 21.54.108 (SA) | PSU | 21.0.13+9 |
| 21.53.112 (SA) | CPU | 21.0.12.1.101+1 |
| 17.70.111 (CA), 17.70.112 (SA) | PSU | 17.0.21+9 |
| 17.69.112 (SA) | CPU | 17.0.20.1.101+1 |
| 11.92.109 (CA), 11.92.110 (SA) | PSU | 11.0.33+9 |
| 11.91.112 (SA) | CPU | 11.0.32.1.101+1 |
| 8.98.0.107 (CA), 8.98.0.108 (SA) | PSU | 8u512-b08 |
| 8.97.0.110 (SA) | CPU | 8u511-b01 |
| 7.89.0.110 (SA) | CPU | 7u521-b01 |
| 6.83.0.108 (SA) | CPU | 6b191 |
In Azul's terms, CA builds are free to download and use, SA builds are its commercially supported subscriber builds, and CPU releases (security fixes only) are available in SA distributions.
The workaround for installs you cannot update yet. Azul's page sets out five steps for each Zulu installation:
- Download the file for your platform. Use
emudhra-block-unix.certsfor Linux, macOS and containers, oremudhra-block-windows.certsfor Windows, from Azul's page. Compare its SHA-256 with the value Azul publishes next to the link, and do not use a file that does not match. Azul also warns against opening or saving the file in a text editor, because some editors add an invisible marker that makes Java ignore the whole list. - Find the file to replace. It is
blocked.certsorblacklisted.certsin the installation'slib/securitydirectory; on a Zulu 8 JDK, addjre/beforelib/security. Azul lists the default paths per installer. For archives and other installs, run that installation'sjava -XshowSettings:properties -versionand use thejava.homevalue followed by/lib/security. If the directory holds neither file, Azul says to contact Azul Support. - Replace it. Back up the original as
<file>.bak-emudhra, copy the new file over it (copy rather than move, because a moved file can keep permissions Java cannot read), and restart every Java application that uses the installation, including Windows services such as application servers. Azul's page includes scripts for Linux and macOS and for Windows PowerShell. - Verify. The installed file's SHA-256 must match Azul's published value, and the applications must have restarted since the change. Use
sha256sumon Linux,shasum -a 256on macOS andcertutil -hashfile "<directory>\blocked.certs" SHA256on Windows. - Undo, and clean up after the fix. To undo, copy the backup back over the file and restart the applications. After upgrading to a fixed build, Azul says to delete the backups and remove the COPY lines, mounts and CI steps added for the workaround, because left in place they would hide future updates to the list. A Zulu update without the fix restores the original file, so apply the workaround again after such an update.
Azul's by-hand example for Linux, using Zulu 17 from its APT repository:
cd /usr/lib/jvm/zulu17-ca-amd64/lib/security
curl -fsSLo /tmp/blocked.certs https://docs.azul.com/assets/2026-10/emudhra-block-unix.certs
sha256sum /tmp/blocked.certs # must match Azul's published value; on macOS: shasum -a 256
sudo cp -p blocked.certs blocked.certs.bak-emudhra
sudo cp /tmp/blocked.certs blocked.certs && sudo chmod 644 blocked.certs
Containers, CI and bundled runtimes. Azul's page says to patch the image or the deployment, not a running container. Rebuild the image with a COPY --chmod=644 blocked.certs line to the path you find in the image, or mount the file read only, for example through a Kubernetes ConfigMap with subPath, or with -v and :ro on docker run (:ro,z on SELinux hosts). Windows containers cannot mount single files, so rebuild them. In CI jobs that download Zulu, such as actions/setup-java, run the script right after the JDK is set up. For runtimes built with jlink, copy the file into the runtime's lib/security after every build; patching the JDK does not help, because jlink takes the file from jmods. For applications that bundle Java, update runtime/lib/security in your own builds and re-sign them on macOS, and for vendor applications, ask the vendor. With CRaC, create new checkpoints after the change, because existing checkpoints keep the old list.
For other vendors' JDKs, and to confirm what your own applications accept, the steps below still apply.
Where Java stands on 21 October
Browsers were patched within hours. Java was not: a JDK trust store change usually ships with a JDK update, and every vendor builds its own.
| Item | Status as of 21 Oct 2026 | Source |
|---|---|---|
| Community tracker entry for Java | "Pending" | Tracking site run by Mozilla's Dennis Jackson |
| OpenJDK bug to remove or distrust emSign ECC Root CA - G3 | None found in our search | OpenJDK bug tracker, web search |
emsigneccrootcag3 in OpenJDK's cacerts source | Still present on the master branch | OpenJDK GitHub repository |
comodoaaaca (AAA Certificate Services) in OpenJDK's cacerts source | Still present on the master branch | OpenJDK GitHub repository |
| Azul | Out-of-cycle Zulu builds and a workaround published 21 Oct 2026: release notes, workaround | Azul |
| Oracle | Security Alert CVE-2026-91403 and JDK 27.0.1.0.2, 25.0.5.0.2, 21.0.13.0.2, 17.0.21.0.2, 11.0.33.0.2 and 8u511 b32 released 21 Oct 2026 | Oracle release notes, checked 23 Oct |
| Eclipse Temurin | No statement found on 23 Oct 2026 | Adoptium news and release notes, checked 23 Oct |
| Amazon Corretto | No statement found on 23 Oct 2026; October changelogs do not mention eMudhra | Corretto GitHub, checked 23 Oct |
| Red Hat | Bulletin RHSB-2026-012 open; no fixed ca-certificates errata listed at its 06:32 update on 21 Oct | Red Hat |
| Android devices | Block delivered through Google Play Services around 22:00 UTC on 19 Oct |
The tracker's Java entry links to a page at ops.java, which returned an access error when we tried to fetch it. Check it, and your JDK vendor's release notes: as of 23 October, Azul and Oracle have shipped fixes and OpenJDK has committed the change.
Red Hat says downstream projects assigned CVE-2026-111943 to track trust store updates; The Hacker News reports Go uses it for its fix. Red Hat lists three conditions for real risk: a trust store that still trusts the intermediates, an attacker holding a recovered key, and a position in the middle of the network path.
Why Java needs its own work
The JVM ignores the browser fixes
Chrome blocked the intermediates through CRLSet, Firefox through OneCRL, Android through Play Services. None of that reaches a JVM. Scott Helme lists Java with curl, Python, Node and Go as clients that, by default, trust a CA bundle on disk and do not check revocation or Certificate Transparency.
Oracle's JSSE reference guide confirms the revocation part. The com.sun.net.ssl.checkRevocation system property defaults to false, and the default trust manager disables revocation checking unless you turn it on. So eMudhra's revocation of all eight intermediates on 18 October, recorded on Mozilla's Bugzilla entry, and Sectigo's revocation of its cross-signs change nothing for a default JVM.
There are two trust paths, not one
Each of the eight weak-key intermediates exists twice, according to Mozilla's Bugzilla entry and the tracker's list of impacted certificates:
- An eMudhra-issued copy, with an issuer of emSign Root TLS CA - G3 or emSign Root CS CA - G3, which chains up to emSign ECC Root CA - G3. Google and Mozilla named that root as the one being removed.
- A Sectigo cross-signed copy, issued in May 2025 according to Helme, whose issuer is AAA Certificate Services, an old Comodo root.
A server holding a recovered key can send either chain. Removing emsigneccrootcag3 blocks only the first. If your trust store holds AAA Certificate Services, the second can still validate.
This matters for Java in particular. Sectigo says Mozilla and Chrome dropped TLS trust from AAA Certificate Services in releases after 15 April 2025, so many Mozilla-derived bundles no longer trust it for websites. The OpenJDK cacerts source still shipped it as comodoaaaca when we checked the master branch on 21 October. OpenJDK removed it on 23 October (see the 17 November update), but every JDK built before that change still carries it. The Red Hat bulletin and the tracker's Linux workarounds both name AAA Certificate Services alongside the eMudhra root for the same reason.
Older JDKs are not automatically safe
OpenJDK added three eMudhra roots (emSign Root CA - G1, emSign Root CA - G2 and emSign ECC Root CA - G3) in JDK 22, under JDK-8319187. The backports landed in 21.0.2, 17.0.10, 11.0.22, openjdk8u402 and Oracle's 8u401. An older JDK has no emsigneccrootcag3 entry, so the first path fails, but it very likely has comodoaaaca, so the second may work. Check.
A keystore cannot say "distrust"
A Java keystore used as a trust store is a list of trust anchors. It has no slot for "this intermediate is bad." A default JVM can stop trusting it in three ways: remove every anchor it chains to, turn on revocation checking, or move to a JDK build whose vendor adds its own block. Until vendors ship, the first two are the levers you hold.
Where Java trust stores live
Oracle's JSSE guide gives the lookup order the default trust manager uses:
- The file named by the
javax.net.ssl.trustStoresystem property, if set. If that file does not exist, the JVM uses an empty trust store. - Otherwise
lib/security/jssecacertsunder the Java home, if it exists. - Otherwise
lib/security/cacertsunder the Java home.
That second step catches people out. A jssecacerts file sitting next to cacerts silently wins, and fixing cacerts does nothing.
| Where Java runs | Trust store you are probably using | What updates it |
|---|---|---|
| Vendor JDK from a tarball or installer | JAVA_HOME/lib/security/cacerts | A new JDK build, or your own keytool edits |
Debian or Ubuntu openjdk packages | /etc/ssl/certs/java/cacerts, kept by ca-certificates-java | The ca-certificates package hooks; because of a ca-certificates-java bug, OpenJDK and the tracker say to delete the file and run update-ca-certificates --fresh (see the 17 November update) |
| RHEL, Fedora and relatives | Commonly /etc/pki/java/cacerts, generated by update-ca-trust | The ca-certificates package and blocklist entries; confirm the path with ls -l |
| Eclipse Temurin container images | /opt/java/openjdk/lib/security/cacerts; USE_SYSTEM_CA_CERTS can merge certificates mounted at /certificates | Rebuilding on a newer image |
jlink custom runtimes | A copy of cacerts frozen into the runtime image at build time | Rebuilding the runtime from a fixed JDK |
| App servers and clients with explicit settings | Whatever file the configuration names | You |
| Android apps | System store plus anything in the app's network security config or bundled keystores | Play Services for the system store; an app release for anything bundled |
On Debian, keystore aliases are file names with a debian: prefix, so do not grep only for the JDK-style alias. Temurin's USE_SYSTEM_CA_CERTS adds certificates and removes none, so it does not help here.
Step by step: find, check, fix, prove
1. Inventory every trust store on a host
# Every cacerts and jssecacerts file, with symlinks shown
find / -xdev \( -name cacerts -o -name jssecacerts \) 2>/dev/null | xargs -r ls -l
# Every running JVM, and any trust store it was told to use
jcmd -l
for pid in $(jcmd -l | awk '$2 !~ /JCmd/ {print $1}'); do
echo "== $pid"; jcmd "$pid" VM.system_properties 2>/dev/null \
| grep -E 'java.home|javax.net.ssl.trustStore'
done
# Trust stores named in configuration files
grep -rniE 'truststore|jssecacerts' /etc /opt /srv \
--include='*.xml' --include='*.properties' --include='*.yml' \
--include='*.yaml' --include='*.conf' 2>/dev/null
Write down each file, which JVMs read it and who owns its updates.
2. Check each store by name
The default keytool -list output shows aliases and fingerprints. The verbose form shows the owner of each entry, which works whatever the alias is.
# JDK-style aliases (for example "emsigneccrootcag3 [jdk]" and "comodoaaaca [jdk]")
keytool -list -cacerts -storepass changeit | grep -iE 'emsign|comodoaaa'
# Any store, any alias style: print the alias above each matching owner
keytool -list -v -keystore /etc/ssl/certs/java/cacerts -storepass changeit \
| grep -E '^(Alias name|Owner):' \
| grep -B1 -E 'emSign|AAA Certificate Services'
changeit is the initial cacerts password, per Oracle's keytool documentation; yours may differ. For your own stores, pass the password with -storepass:env VAR to keep it out of shell history.
Mozilla left emSign Root CA - G1 trusted, but OpenJDK did not: its 23 October change also removes emsignrootcag1 and emsignrootcag2, and OpenJDK's guidance deletes all four aliases. eMudhra says it is moving G3 customers to its G1 chain, so check in step 5 whether anything you need ends at G1 or G2 before you remove them. Match names exactly.
3. Check each store by fingerprint
Custom trust stores sometimes contain intermediates because someone imported a whole chain, and name checks can miss that. Compare fingerprints against the sixteen affected certificates. These values come from the tracker's list of impacted intermediates and match Mozilla's Bugzilla entry; check them against those pages before you rely on them.
cat > emudhra-bad.txt <<'EOF'
E7568FE6E12331F4FD7DE61DA4C7559D0F8EB192A218D4741A3BA75184333838
98B896625C0C230ADEEC3EB2CF6AAD5001ECF9156A68644E82374CE5833BC25B
42C4ACCD12C4F59597925E1A08A7A90102608543809308D50EC427E118BA1493
432EC25F0D28DE9006D97BF752F17BBB2CD41F669933FCB072D9A1148D0261F3
CB6E15165AC802E9B3F993F16C25D41F4E81C21EBDE71AE1B012AC00BF9C7C3F
0164D7CEAE5BB909C272AF151FF44B1177AE9B47D9424B94F1D9558C30934D19
9E39DE2881273ACC225A149C72BA3E0F51424963669AB633EE1DC7DF5DB067B4
4B2460A466F95FD40113BCDCCA2CEB29B3B093921DE45474DA7DF48874C630B1
579480AEA166290BD3C643589E795FC0D0E54E86505D180F1DFF99EFD3199512
5F1DED4DD590AF74631290CF073B122A2AAC6A1FA479778A0BD43579BD832699
45A883F349AEDFD5F3A649B5498FFB121712BA8B448F3F2A91DBC5A766FCDDBE
FD9D5C2DBBD4995AB69B8D50C439D9527B00529199C2FD01B2174EB58F07021F
7485B51C0ED192878FA1D2F948FB529AE1842CC5086C4B67F7BE5B2039DE9489
62B7F9868263F72F6911FC78CEAF72C1979158B7368BF648683BB2AA39B02E72
A496E23AC0CAB8155FC9B117B97EAE368EFCBB9041AEC8804D5A308D2D01C2D8
84112972B8E59D14560AE7E7119654474AAD119990CF3722BFC1E3B91615E1FD
EOF
keytool -list -keystore /path/to/truststore.p12 -storepass:env TRUSTSTORE_PASS \
| grep -o 'SHA-256): [0-9A-F:]*' | cut -d' ' -f2 | tr -d ':' \
| grep -F -f emudhra-bad.txt && echo "AFFECTED ENTRY FOUND"
The first eight are the eMudhra-issued intermediates; the last eight are the Sectigo cross-signs.
4. Test the real JVM before you change anything
The tracker runs two test hosts: dv-g3b-emudhra and dv-g3b-aaa-emudhra. The second is named for the AAA cross-signed path; the tracker's chains.zip holds the exact chains each one serves. A certificate error is the result you want from both. A small single-file program, run with the same JDK and trust settings as your service, gives a real answer:
// TlsCheck.java (run with: java TlsCheck.java URL)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class TlsCheck {
public static void main(String[] args) throws Exception {
var client = HttpClient.newHttpClient();
var req = HttpRequest.newBuilder(URI.create(args[0])).build();
var res = client.send(req, HttpResponse.BodyHandlers.discarding());
System.out.println("ACCEPTED (bad): HTTP " + res.statusCode());
}
}
java TlsCheck.java https://dv-g3b-emudhra.we-have-a-problem.com/
java TlsCheck.java https://dv-g3b-aaa-emudhra.we-have-a-problem.com/
# Same check against an app's own trust store
java -Djavax.net.ssl.trustStore=/path/to/truststore.p12 \
-Djavax.net.ssl.trustStorePassword="$TRUSTSTORE_PASS" \
TlsCheck.java https://dv-g3b-aaa-emudhra.we-have-a-problem.com/
You want an SSLHandshakeException with "PKIX path building failed." ACCEPTED (bad) means that trust store still trusts that path. Cloudflare's advice applies: a pass from curl or a browser says nothing about a JVM, and one JVM says nothing about another with a different trust store.
5. Check what your own endpoints depend on
Before removing an anchor, find out who you would cut off. Look at the chain of each host your Java services call and each partner that connects with client certificates:
openssl s_client -connect partner.example.com:443 -servername partner.example.com \
-showcerts </dev/null 2>/dev/null | grep -E ' s:| i:'
If anything ends at emSign ECC Root CA - G3, it breaks when you remove that root, and it breaks in Chrome after Google's root removal, expected on 27 October. Ask the owner to move to another hierarchy. If anything still ends at AAA Certificate Services, plan that removal more carefully or keep the anchor and use the revocation stopgap in step 7.
6. Remove the anchors safely
Back up first. Then pick the method that matches who owns the file.
A JDK's own cacerts (tarball, installer or image):
CACERTS="$JAVA_HOME/lib/security/cacerts"
sudo cp -p "$CACERTS" "$CACERTS.bak-$(date +%F)"
keytool -list -cacerts -storepass changeit | grep -iE 'emsign|comodoaaa' # copy exact aliases
sudo "$JAVA_HOME/bin/keytool" -delete -cacerts -storepass changeit -alias "emsigneccrootcag3 [jdk]"
# OpenJDK's 23 October guidance also removes the G1 and G2 roots:
sudo "$JAVA_HOME/bin/keytool" -delete -cacerts -storepass changeit -alias "emsignrootcag1 [jdk]"
sudo "$JAVA_HOME/bin/keytool" -delete -cacerts -storepass changeit -alias "emsignrootcag2 [jdk]"
# Only after step 5 says nothing you need chains to it:
sudo "$JAVA_HOME/bin/keytool" -delete -cacerts -storepass changeit -alias "comodoaaaca [jdk]"
OpenJDK's guidance says to ignore errors saying a certificate does not exist, which is what an older JDK without the emSign roots returns.
Oracle's keytool documentation describes -delete as the way to remove an untrusted CA from cacerts. Use the keytool from the same JDK, and note that -cacerts cannot be combined with -keystore.
Debian and Ubuntu system Java keystore: do not edit /etc/ssl/certs/java/cacerts by hand; the package hooks rewrite it. Install the fixed ca-certificates package from your distribution (the tracker lists versions such as 20260816ubuntu0.24.04.1 and 20250419+deb13u1), then rebuild the Java keystore from scratch, as OpenJDK and the tracker advise, and check it:
sudo apt-get update && sudo apt-get install --only-upgrade ca-certificates ca-certificates-java
sudo cp -p /etc/ssl/certs/java/cacerts /root/java-cacerts.bak-$(date +%F)
sudo rm -f /etc/ssl/certs/java/cacerts
sudo update-ca-certificates --fresh
keytool -list -v -keystore /etc/ssl/certs/java/cacerts -storepass changeit \
| grep -E '^Owner:' | grep -E 'emSign ECC Root CA - G3|AAA Certificate Services'
If the fixed package leaves a root you still want gone, the tracker's expert-only workaround is to mark the root with a ! in /etc/ca-certificates.conf and rerun update-ca-certificates. The tracker labels these workarounds as not recommended for ordinary users.
RHEL family: Red Hat's bulletin had no fixed package listed at its last update, and it points to knowledge base solution 7149312 for disabling the AAA roots. The standard mechanism is to place a PEM copy of the root you want distrusted in /etc/pki/ca-trust/source/blocklist/ and run update-ca-trust extract, which regenerates the extracted bundles, including the Java one. Follow Red Hat's article for the exact files, and recheck /etc/pki/java/cacerts afterwards.
Your own trust stores: the same keytool -delete -keystore FILE -alias ALIAS command works. For a store that holds only your partners' CAs, an affected entry is a red flag in itself: find out who added it and why.
7. Consider revocation checking as a stopgap
eMudhra revoked its eight intermediates on 18 October with the reason caCompromise, and Sectigo says on the same Bugzilla entry that it has revoked its cross-signs. A JVM that checks revocation can see that. Oracle documents the switches:
# Turn on revocation checking for the default trust manager, with CRL distribution points
export JAVA_TOOL_OPTIONS="-Dcom.sun.net.ssl.checkRevocation=true -Dcom.sun.security.enableCRLDP=true"
OCSP is controlled by the ocsp.enable security property, set in a java.security override file rather than as a plain system property. Oracle's PKI guide notes that OCSP only applies when revocation checking is on, and falls back to CRLs only if an OCSP problem occurs.
This stopgap has sharp edges. Handshakes may now need a network fetch, so locked-down egress can cause outages, and Oracle's default fetch timeouts are 15 seconds. Try it in staging, rerun step 4 and your integration tests, then decide.
8. Rebuild images and redeploy
A fixed host does nothing for a container. Each image froze its trust store when it was built.
# Pull fresh bases and rebuild without cache
docker build --pull --no-cache -t your-java-app:trustfix .
# Pull the trust store out of the image and check it with the host keytool
cid=$(docker create your-java-app:trustfix)
docker cp -L "$cid":/opt/java/openjdk/lib/security/cacerts ./cacerts-from-image
docker rm "$cid"
keytool -list -keystore ./cacerts-from-image -storepass changeit | grep -iE 'emsign|comodoaaa'
If the base image has no fixed JDK yet, delete the aliases inside your Dockerfile so the change is repeatable and reviewed, instead of patching running containers:
FROM eclipse-temurin:21-jre
# Temporary: remove eMudhra G3 trust until the JDK vendor ships a fix (see ticket SEC-1234)
RUN keytool -delete -cacerts -storepass changeit -alias "emsigneccrootcag3 [jdk]" \
&& ! keytool -list -cacerts -storepass changeit | grep -qi emsigneccrootcag3
OpenJDK's guidance also deletes emsignrootcag1 and emsignrootcag2; add them the same way. Add the comodoaaaca deletion only if step 5 cleared it. For jlink runtimes, apply the same change to the JDK you link from, or to the cacerts inside the output runtime, then rebuild. Restart every JVM after a change: trust stores load at startup. Then roll the new images out and rerun the step 4 check from inside a running container.
Our notes on container image supply chain incidents explain why base images need scheduled rebuilds.
App servers and frameworks
Java servers often keep two trust settings: one for outbound calls and one for client certificates (mTLS).
- Outbound calls from your code usually use the JVM default trust store, unless a client library was given its own. Search configuration for
truststoreas in step 1. - Inbound client certificates use a separate setting. Apache Tomcat's
truststoreFile, for example, is "the trust store file to use to validate client certificates," and it falls back to thejavax.net.ssl.trustStoresystem property when unset. If that property points at a full public bundle, any public CA, including a forged intermediate, could vouch for a client.
For mTLS, the fix is better than removing two roots: trust only the private CA that issues your clients' certificates. Cloudflare's guidance to mTLS users is to review and update the CAs they trust for client authentication.
Messaging, search and database clients often take their own trust store path too. Treat each as a separate store and run the same checks.
Android apps
The device side is mostly handled. Google says Android devices got the block through Google Play Services around 22:00 UTC on 19 October; a restart applies it at once. Google adds that apps targeting the latest SDK or opting in to Certificate Transparency enforcement were not exposed, since nothing from these intermediates was logged in CT before the block.
The app side is yours. Android's network security configuration lets an app add trust anchors from a raw resource, and the Android documentation notes that CT verification is turned off for a domain whose trust anchors include user or inline certificates. So an app that bundles its own CA file can skip both the Play Services block and CT. Check:
# Which configs add their own anchors?
grep -rn -A3 '<trust-anchors>' app/src/main/res/xml/
# What is in each bundled PEM?
for f in app/src/main/res/raw/*.pem; do
echo "== $f"
awk -v cmd='openssl x509 -noout -subject -fingerprint -sha256' \
'/BEGIN CERT/{close(cmd)};{print | cmd}' < "$f"
done
Also search the code for custom TrustManager classes and bundled keystores (.bks, .jks, .p12). Pins on your own servers' keys need no change. Ship an app update for any bundled store holding the affected roots or intermediates. Google's post does not cover devices without Play Services, so ask their vendors.
Common mistakes
- Deleting only
emsigneccrootcag3. The AAA cross-sign path survives. Test both test hosts. - Fixing
cacertswhilejssecacertsexists. The JVM readsjssecacertsfirst. - Editing the Debian keystore by hand. The next
ca-certificatesupdate rewrites it. Fix the source, then regenerate. - Assuming an old JDK is safe because it lacks the G3 root. It may still trust AAA Certificate Services.
- Forgetting the restart. A running JVM keeps the trust store it loaded at startup.
- Patching a live container. The next deploy brings the old store back. Change the Dockerfile.
- Clearing new errors by disabling verification. Cloudflare's line is clear: "It's important to not resolve these errors by disabling verification." A broken partner needs a new certificate.
What would have helped
Practices any team can use
Treat every trust store as a dependency with an owner. The step 1 inventory should exist before an incident: each cacerts, jssecacerts, custom store and Android bundle, which services read it and who updates it.
Keep trust stores small. A partner integration or an mTLS listener rarely needs the whole public web PKI. Trust one private CA or a few named roots, and a public CA incident often passes you by.
Rebuild on a schedule. Weekly base image rebuilds and JDK patch updates make "rebuild everything" routine.
Test the trust store you ship. A small check like TlsCheck.java in CI, pointed at known-bad hosts when an incident provides them, proves what a build really trusts.
Background: certificate authority compromise risks.
Zero-Day Discovery and Gold
This incident sits in JDK trust stores and in a certificate authority's key handling, outside the open-source package code that Zero-Day Discovery and Gold work on. The habit that helps here is pulling patched, signed base images from a curated source and rebuilding fast when upstream moves, which the Gold section below describes.
Where Safeguard fits
- Finding the images and services. SBOM and dependency scanning covers repos, container images and SBOM files:
safeguard scan --dir .,safeguard scan --image IMAGEorsafeguard scan --sbom FILE, with JSON results under./output. The platform shows which projects contain a given component and version, so "which images still carry an oldca-certificatesorca-certificates-javapackage" or "which services run on a given JDK base" becomes a lookup. - Matching advisories. Vulnerability matching against vulnerability databases can flag packages once a published identifier, such as CVE-2026-111943, appears in the sources it matches against. A trust store change with no advisory will not show as a vulnerability, so use the component and version view as well.
- Holding the line. Policies and gates evaluated in the platform can block builds that still carry an outdated trust store package.
- Making the change. The Safeguard CLI assistant can edit a Dockerfile, bump a base image tag, add the temporary
keytoolstep and run the rebuild and tests with your approval of each command.safeguard execruns one non-interactive turn for CI. Autonomous remediation can open fix PRs for dependency bumps; it ships off by default.
Where it does not help: a package scan reports packages and versions, not the entries inside a keystore file, so keep the keytool checks. A JDK unpacked from a tarball may not show up as a package at all. Safeguard cannot see a CA's key ceremony, cannot tell you whether anyone used a recovered key against you, and will not reach devices or hosts you never scan. No scanner would have prevented this incident; the keys were weak at the source. For the whole month in one place, see October 2026 security incidents and what would have helped.
FAQ
Has any JDK vendor shipped an eMudhra fix?
Yes, since 21 October. When we first published that day, the tracker listed Java as pending and we found no vendor statement. Later that day Azul released out-of-cycle Zulu builds for versions 27, 25, 21, 17, 11, 8, 7 and 6 (see the 25 October update above for the version numbers and Azul's workaround), and Oracle released the builds listed in the table above. A second round followed: Azul's 24 October release for CVE-2026-114820, OpenJDK's 23 October removal of four roots, and newer Oracle builds listed on the tracker (see the 17 November update). Update again even if you took the 21 October builds. For other vendors, look for an emSign entry in your vendor's release notes.
Is deleting emsigneccrootcag3 enough?
No. Each affected intermediate also has a Sectigo cross-signed copy that chains to AAA Certificate Services, which JDK builds made before OpenJDK's 23 October change still include as comodoaaaca. Check both, test against both tracker hosts, and remove comodoaaaca only after confirming nothing you need still chains to it.
Will removing these roots break anything?
Anything that chains to emSign ECC Root CA - G3 will fail, but Chrome is removing that root around 27 October anyway, and eMudhra is moving customers to its G1 chain. OpenJDK's 23 October change removes the G1 and G2 roots too, so check chains to those before you follow it. Removing AAA Certificate Services can break older Sectigo chains that still end there. Step 5 shows how to check first.
Should I just turn on revocation checking?
As a stopgap, yes, since eMudhra and Sectigo revoked the certificates. It adds network fetches to handshakes and can fail hard without egress to CRL or OCSP servers. Test in staging; removing anchors stays the main fix.
Does this affect Java code signing?
Two of the eight intermediates are for code signing. OpenJDK's bug for adding the eMudhra roots describes emSign ECC Root CA - G3 as covering both TLS and code signing, and a cacerts file does not separate the two. Treat any JAR signed under the two code-signing intermediates with suspicion, and remove the anchors as above.
Are Android users protected?
Devices with Google Play Services received a block around 22:00 UTC on 19 October, and a restart applies it. Apps that bundle their own CA files or keystores are not covered by that block. Developers need to check and ship updates.
Fix it without waiting for upstream
Whatever the vulnerability, most of the risk sits in two gaps. The first is the time between a fix being published and that fix actually running in your production builds. The second, and worse, is the time before any fix exists at all, while a maintainer works out a patch and a release schedule. Waiting through both gaps is a habit, not a requirement. Safeguard gives teams three ways to close them.
1. Autonomous remediation: pull requests, not tickets
When a fixed version exists, Griffin, Safeguard's security model, opens a policy gated pull request that moves the affected dependency to the safe version, and your own CI runs your tests on it before anyone merges. You can run it on one repository or in bulk across every project that carries the vulnerable version. Remediation categories include dependencies, licenses, security posture and findings, and each one is set separately. Reachability analysis ranks the vulnerable code paths your application actually calls first, so the first pull requests you merge are the ones that matter most. Auto-merge is a separate switch and stays off by default, so your team decides what merges on its own and what still needs a human approval.
2. Gold Open Source: the safe version in seconds, free
gold.safeguard.sh is free and needs no login. Search any CVE or package to see affected and fixed versions, CVSS, EPSS, CISA KEV status and a recommended safe version, or use the "Am I affected?" checker. The same data is available through a free read API, README status badges and RSS threat feeds.
3. Gold Registry: start from components that are already fixed
Safeguard Gold rebuilds patched versions of open-source packages and images from source, signs each build, attaches an SBOM, SLSA provenance and VEX, and serves them from registry.safeguard.sh to your organization. Every Gold artifact is held continuously to zero exploitable critical or high CVEs and a completed license check, with signed build provenance (signed with Safeguard's key and verifiable with cosign, SLSA Build Level 3 as the design target) and a public evidence page you can hand to an auditor. An artifact loses its Gold badge if it regresses. Teams can point their own package directory at the registry so hardened equivalents resolve without changing how developers install anything.
When upstream has no fix yet, or will not ship one, Safeguard first works to get the fix accepted upstream. If the issue is severe or upstream will not move, Safeguard builds a fork, fixes the vulnerability there and publishes a hardened Gold build, so you are not stuck on a maintainer's release schedule. You can also request a hardened build of a specific package. Ask which packages it covers before you plan around it.
| Your situation | What to use |
|---|---|
| A fixed version exists | Autonomous remediation opens the upgrade pull request; Gold Open Source confirms the safe version |
| You need to know today whether you are affected | Gold Open Source lookup and "Am I affected?" checker, free and without login |
| You want vulnerable versions to stop shipping | Safeguard policies and gates in CI |
| Upstream has no fix yet, or will not ship one | A custom Gold request; fork and patch |
| You want to start clean on new projects | Pull hardened components and images from Gold Registry |
One honest limit: when the vulnerable code lives in a vendor appliance, a hosted service or an operating system runtime you do not build yourself, the fix still has to come from that vendor or distribution. The steps above apply to the open source dependencies and container images you build and ship, which is where most teams carry the largest and least tracked share of their exposure.
See how Safeguard would have helped
The CLI demo shows the assistant fixing a lodash CVE: it reads the vulnerability and the advisory, asks before any command that changes something, edits package.json, then runs install and tests with your approval and pushes nothing. For eMudhra you would ask the same assistant to add the temporary keytool -delete step to your Java Dockerfile, rebuild with a fresh base, and rerun TlsCheck.java against both test hosts. It asks before every command.
Click through it at your own pace, or open it full screen.
The desktop app demo shows a real session: the CLI session appears in the conversation list, you ask for work on your computer, pick the folder, then approve or deny each command and file edit until the upgrade is done and tests pass. Here the same flow could take a Java service through a base image bump and a trust store test, one approval at a time.
Click through it at your own pace, or open it full screen.
The local runner demo shows setting up the runner on your own machine, approving it with its device code, then scanning from the terminal. After this incident you would scan each rebuilt Java image to confirm the ca-certificates packages and JDK base it now contains, then pair that with the keytool check.
Click through it at your own pace, or open it full screen.
To find every Java image that still ships an old trust store, download Safeguard and follow the CLI docs.
Quick check
You deleted emsigneccrootcag3 from cacerts and restarted the JVM. The aaa test host still connects. Why?
The cross-signed copy of the intermediate chains to AAA Certificate Services, which JDK builds made before OpenJDK's 23 October change still trust as comodoaaaca. Check whether anything you need chains to that root, then remove it or turn on revocation checking as a stopgap, and test again.
You fixed cacerts on the host, but the service in Kubernetes still accepts the test host. What did you miss?
The container carries its own JDK and trust store, frozen at build time. Change the Dockerfile, rebuild with a fresh base, redeploy, and rerun the check from inside a running pod. Also check for a jssecacerts file or a javax.net.ssl.trustStore setting.
Sources
- eMudhra incident tracking and test site (Dennis Jackson)
- Tracker list of impacted intermediates (JSON)
- Mozilla Bugzilla 2083449: eMudhra private key compromise of intermediate certificates
- Mozilla Security Blog: Protecting Firefox users following the compromise of eMudhra intermediate certificates
- Google: Protecting Chrome and Android users from compromised eMudhra intermediate CA certificates
- Red Hat RHSB-2026-012: Certificate compromise, eMudhra (CVE-2026-111943)
- Cloudflare: eMudhra certificate compromise
- Scott Helme: Eight Bits of Trust
- The Hacker News: Eight eMudhra CA keys compromised
- OpenJDK JDK-8319187: Add three eMudhra emSign roots
- OpenJDK JDK-8320105: Release note for the eMudhra roots
- OpenJDK source: cacerts directory
- Oracle: keytool reference (JDK 21)
- Oracle: JSSE Reference Guide (JDK 21)
- Oracle: Java PKI Programmer's Guide (JDK 21)
- Debian: ca-certificates-java README
- Eclipse Temurin image documentation (Docker Hub)
- Apache Tomcat 10.1: HTTP connector configuration
- Android Developers: Network security configuration
- Sectigo: Enhancements to Root CA and hierarchies
- Azul: Out-of-Cycle, October 21, 2026 Update Release Notes
- Azul: Workaround for the eMudhra CA certificate compromise
- Azul: October 24, 2026 Update Release Notes
- OpenJDK: Compromised Certificates and OpenJDK Java Runtimes
- OpenJDK commit 8395690: CA certificate improvements
Last reviewed: 17 November 2026. This is a developing story; check the linked advisories for the latest status.