# CVE-2026-102182: Unauthenticated root code execution via IKE certificate packets

A stack buffer overflow in the Junos kmd process lets an unauthenticated attacker run code as root with crafted certificate-based IKE packets. Juniper is not aware of exploitation, it is not in CISA KEV, and no public exploit code has been confirmed.

- Vendor: Juniper Networks, Junos OS kmd (IKE) on MX Series
- Severity: CRITICAL (CVSS 4.0 9.3)
- Exploited (CISA KEV): not listed
- EPSS: 0.4% on 2026-12-02
- Public exploit: none reported
- Patch available: yes
- Vendor advisory: JSA112196, https://supportportal.juniper.net/JSA112196
- Published: 2026-10-14; updated: 2026-10-21
- Page: https://patchtonight.com/cve/CVE-2026-102182/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| Junos OS on MX Series, 23.2 releases before 23.2R2-S7.7 | 23.2R2-S7.7 or later |
| Junos OS on MX Series, 23.4 releases before 23.4R2-S8.13 | 23.4R2-S8.13 or later |
| Junos OS on MX Series, 24.2 releases before 24.2R2-S5.5 | 24.2R2-S5.5 or later |
| Junos OS on MX Series, 24.4 releases before 24.4R2-S5 | 24.4R2-S5 or later |
| Junos OS on MX Series, 25.2 releases before 25.2R2-S2 | 25.2R2-S2 or later |
| Junos OS on MX Series, 25.4 releases before 25.4R1-S3 | 25.4R1-S3, 25.4R2 or later |
| Junos OS on MX Series, 26.2 releases before 26.2R1-S2 | 26.2R1-S2, 26.2R2 or later |
| Junos OS on MX Series, 21.2 to 22.4 (per the CVE description text) | 21.2R3-S11, 21.4R3-S12, 22.2R3-S8, 22.3R3-S5, 22.4R3-S9 or later |

## What it is

A stack-based buffer overflow (CWE-121) in `kmd`, the Junos IKE process. An unauthenticated attacker on the network sends specific certificate-based IKE packets and gets **code execution as root** on the device. Juniper rates it CVSS 4.0 9.3 (CVSS 3.1: 9.8).

Juniper's SIRT says it is not aware of malicious exploitation. CISA's SSVC data in the record rates exploitation as "none", but marks the bug as automatable with total technical impact. The CVE is not in the CISA KEV catalog as of the 2026.10.20 catalog. We found no public proof of concept.

## Am I affected?

The record covers **Junos OS on MX Series** below the fixed versions in the table above. Two conditions must both hold, per the updated record:

- IKE accepts connections on a gateway address.
- An IKE policy uses RSA signatures (certificate authentication) with a CA-signed local certificate, in aggressive mode.

Devices without that IKE configuration are not exposed. Review your IKE policies and gateways in the configuration; the advisory is the source for exact check commands.

**Version data conflicts.** The structured affected-products data lists the 23.2 to 26.2 branches. The description text instead lists releases before 21.2R3-S11, 21.4R3-S12, 22.2R3-S8, 22.3R3-S5 and 22.4R3-S9. Check the advisory for your train. Treat both lists as in scope until you have.

This page covers MX Series, as the record states. If you run SRX firewalls, confirm with Juniper whether your platform is affected before ruling it out.

## What to do

1. **Upgrade** to a fixed release for your train (see the table). Juniper notes that 23.2, 23.4 and 24.2 were respun and earlier published builds were rebuilt, so confirm you pull the current build.
2. Juniper lists **no workarounds**. If you cannot upgrade tonight, restrict who can reach IKE (UDP 500/4500) on the affected gateways using firewall filters or upstream ACLs, accepting that this breaks VPN peers outside the allowed list.
3. If a device with the vulnerable IKE setup faced untrusted networks, check it for signs of compromise (below) and involve your incident response team if anything looks wrong.

## Detection

No indicators of compromise have been published. Juniper has not reported exploitation. Practical checks:

- Look for `kmd` crashes or restarts, and core files from `kmd`, on devices with the vulnerable IKE setup.
- Review IKE logs for unexpected certificate-based negotiations from unknown peers.
- Watch for unexpected configuration changes, new users or processes on MX devices.

## Sources

- [Juniper advisory JSA112196](https://supportportal.juniper.net/JSA112196)
- [CVE record for CVE-2026-102182](https://cveawg.mitre.org/api/cve/CVE-2026-102182)
- [CISA Known Exploited Vulnerabilities catalog](https://www.cisa.gov/known-exploited-vulnerabilities-catalog)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
