Junos OS and Junos OS Evolved (BGP flowspec with update-threading)
CVE-2026-102178: Junos BGP flowspec buffer overflow can compromise the routing engine
A malformed BGP flowspec route can overflow a stack buffer in the routing daemon and take over the routing engine, but only with BGP update-threading on. Juniper knows of no exploitation, it is not on CISA's KEV list, and no public proof of concept is confirmed.
Published Updated Juniper Networks advisory JSA112187
Affected and fixed versions
| Product / branch | Fixed in |
|---|---|
| Junos OS before 23.2R2-S7.7 | 23.2R2-S7.7 or later |
| Junos OS 23.4 | 23.4R2-S8.13 or later |
| Junos OS 24.2 | 24.2R2-S5.5 or later |
| Junos OS 24.4 | 24.4R2-S5 or later |
| Junos OS 25.2 | 25.2R2-S2 or later |
| Junos OS 25.4 | 25.4R1-S3, 25.4R2 or later |
| Junos OS 26.2 | 26.2R1-S2, 26.2R2 or later |
| Junos OS Evolved before 23.2R2-S7.7-EVO | 23.2R2-S7.7-EVO or later |
| Junos OS Evolved 23.4 | 23.4R2-S8.11-EVO or later |
| Junos OS Evolved 24.2 | 24.2R2-S5.6-EVO or later |
| Junos OS Evolved 24.4 | 24.4R2-S5-EVO or later |
| Junos OS Evolved 25.2 | 25.2R2-S2-EVO or later |
| Junos OS Evolved 25.4 | 25.4R1-S3-EVO, 25.4R2-EVO or later |
| Junos OS Evolved 26.2 | 26.2R1-S2-EVO, 26.2R2-EVO or later |
| Junos OS Evolved 25.2X100 | 25.2X100-D35-EVO or later |
| Junos OS Evolved 25.4X300 | 25.4X300-D40-EVO or later |
| Junos OS Evolved 23.4X100 | Listed as affected; no fixed version given in the CVE record |
Always confirm against the vendor advisory, which lists every fixed hotfix.
What it is
The BGP routing daemon (rpd) on Junos OS and Junos OS Evolved has a stack-based buffer overflow (CWE-121) in how it handles flowspec routes. A BGP flowspec peer that your router is configured to talk to can send a malformed flowspec NLRI. When the router re-advertises that route, the overflow can compromise the routing engine or crash the routing daemon.
It only happens when BGP update-threading is enabled. Juniper rates it CVSS 4.0 9.3 (critical); the CVE record also gives CVSS 3.1 9.8. CISA’s SSVC data in the record says the bug is automatable with total technical impact.
This is not limited to SRX firewalls. Any Junos or Junos Evolved device with the configuration below is in scope, including routers.
Juniper found the bug internally. It says its SIRT is not aware of any malicious exploitation, and the CVE is not in CISA’s KEV catalog as of the 2026-10-20 catalog. We found no public proof of concept. The EPSS score is low (0.5%).
Am I affected?
You are exposed if both are true:
- You run a Junos OS or Junos OS Evolved release older than the fixed version for your branch (see the table above).
- BGP update-threading is on (
[system processes routing bgp update-threading]) and BGP runs with the flowspec address family (family inet floworfamily inet6 flowunder[protocols bgp]).
The attacker must be a configured BGP flowspec peer, or control one. A peer you trust but that gets compromised counts.
Check your version:
show version
Check the configuration. Look for update-threading under system processes routing bgp, and for flow under the inet or inet6 family in your BGP groups and neighbors. These are the configuration hierarchies named in the CVE record.
Devices without update-threading, or without flowspec, are outside the conditions Juniper lists. Keep upgrading them anyway, because the same releases also carry other fixes.
What to do
- Upgrade to a fixed release for your branch. Juniper’s fixed releases include 23.2R2-S7.7, 23.4R2-S8.13, 24.2R2-S5.5, 24.4R2-S5, 25.2R2-S2, 25.4R1-S3, 25.4R2, 26.2R1-S2, 26.2R2 and 26.4R1, and Evolved equivalents with the
-EVOsuffix. For 23.2, 23.4 and 24.2 (Junos OS and Evolved), Juniper rebuilt previously published versions as respins, so check the advisory for the exact build. - Juniper lists no workaround. If you can’t upgrade tonight, reducing exposure is your own call and not a vendor fix. Options to weigh: stop accepting flowspec routes from peers you don’t fully control, or turn off update-threading. Both change routing behavior, so test first.
- If you run Junos OS Evolved 23.4X100, the record lists it as affected with no fixed version. Ask Juniper support for guidance.
- After patching, review routing daemon health and BGP peers (see below). Because no exploitation is known, a rebuild is not called for unless you find signs of compromise.
Detection
No indicators of compromise are published. Look for signs of the bug being triggered:
rpdcrashes or restarts, and core files from the routing daemon. The record says the overflow can crash the routing daemon.- Unexpected BGP session resets with flowspec peers around the same time.
- Flowspec routes received from a peer that you don’t expect, or that look malformed.
- Unexplained configuration changes, new users or new processes on the routing engine, if you see rpd crashes.
Indicators of compromise
No indicators of compromise have been published, and Juniper reports no exploitation. Checked the Juniper CVE record and a general web search for indicators and exploit code.
No indicators of compromise have been published for this CVE yet. We'll add them here if the vendor or a researcher releases any. Until then, use the behaviour in Detection.
Sources
Spotted a mistake on this page? Tell us, and we'll fix it.
Page changelog
- Full analysis published.
KEV status, EPSS score and vendor data refreshed automatically, last on 3 Dec 2026.