Junos OS and Junos OS Evolved (rpd, BMP route monitoring)
CVE-2026-33796: Junos rpd stack overflow gives a BGP neighbor root when BMP is on
A stack buffer overflow in the Junos routing daemon lets a configured external BGP neighbor run commands as root when BMP route monitoring is enabled. Juniper knows of no exploitation, it is not on CISA's KEV list, and no public exploit code 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.2X100 | 25.2X100-D35-EVO or later |
| Junos OS Evolved 25.4 | 25.4R1-S3-EVO, 25.4R2-EVO or later |
| Junos OS Evolved 25.4X300 | 25.4X300-D40-EVO or later |
| Junos OS Evolved 26.2 | 26.2R1-S2-EVO, 26.2R2-EVO or later |
| Junos OS Evolved 23.4X100 | Listed as affected; the CVE record names no fixed version |
Always confirm against the vendor advisory, which lists every fixed hotfix.
What it is
The routing protocol daemon (rpd) on Junos OS and Junos OS Evolved has a stack-based buffer overflow (CWE-121). When the BGP Monitoring Protocol (BMP) route monitoring feature is on, an external BGP neighbor that is already configured on the device can trigger the overflow and run commands as root.
The attacker needs no credentials and no user interaction. The CVSS 4.0 score is 9.3 (critical); the CVSS 3.1 score in the record is 9.8. Juniper found the bug itself.
The attacker has to be a BGP neighbor your device already accepts. That limits who can reach it, but a compromised or malicious peer is enough. Juniper’s record says there is no known exploitation. The CISA SSVC data in the record rates the bug “automatable” with “total” technical impact.
Am I affected?
You are exposed if both are true:
- You run a Junos OS or Junos OS Evolved version below the fixed versions in the table above.
- BMP route monitoring is enabled and an external BGP neighbor is configured on the device.
Releases 23.2, 23.4 and 24.2 (and their Evolved equivalents) were rebuilt as respins. Earlier builds of those releases are replaced, so check the exact build number, not only the train.
Check the version with show version. To check BMP, look for a BMP configuration under routing-options in your configuration. If BMP is not configured, the vulnerable condition is not met, but upgrade anyway.
The CVE record names Junos OS and Junos OS Evolved in general and does not single out SRX firewalls. The bug involves BGP and BMP, so it matters most on routers.
What to do
- Upgrade to a fixed release for your train (see the table). Releases 25.4R2, 26.2R2, 26.4R1 and all later releases also include the fix.
- Workarounds: Juniper lists none. Do not rely on one.
- If you can’t upgrade tonight, review whether you need BMP route monitoring and which BGP neighbors you trust. Turning BMP off removes the stated precondition, but Juniper does not list this as a workaround, so check with Juniper support first.
- If a router with BMP enabled peered with a neighbor you don’t fully trust, treat it as possibly compromised. Review the router for unexpected configuration changes, accounts and processes.
Detection
No exploitation has been reported, and no indicators of compromise or exploit signatures have been published. Practical checks:
- Look for unexpected rpd crashes or restarts and core files. A failed overflow attempt may crash the daemon.
- Review BGP neighbors with BMP enabled for peers or sessions you don’t recognise.
- Look for unexpected commits, new local users or new processes on the device.
Indicators of compromise
Checked the CVE record and Juniper's advisory reference. No exploitation is reported, so no indicators have been published.
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.