# CVE-2025-59962: Junos OS and Junos OS Evolved: With BGP sharding enabled, change in indirect next-hop can cause RPD crash

- Vendor: Juniper Networks, Junos OS, Junos OS Evolved
- Severity: MEDIUM (CVSS 4.0 6)
- Exploited (CISA KEV): not listed
- EPSS: 0.2% on 2026-12-02
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: JSA103151, https://supportportal.juniper.net/JSA103151
- Published: 2025-10-08; updated: 2025-10-09
- Page: https://patchtonight.com/cve/CVE-2025-59962/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| Junos OS 21.4 | 21.4R3-S6 or later |
| Junos OS 22.1 | 22.1R3-S6 or later |
| Junos OS 22.2 | 22.2R3-S3 or later |
| Junos OS 22.3 | 22.3R3-S3 or later |
| Junos OS 22.4 | 22.4R3 or later |
| Junos OS 23.2 | 23.2R2 or later |
| Junos OS 0 | Not affected |
| Junos OS Evolved 22.3 | 22.3R3-S3-EVO or later |
| Junos OS Evolved 22.4 | 22.4R3-EVO or later |
| Junos OS Evolved 23.2 | 23.2R2-EVO or later |
| Junos OS Evolved 0 | Not affected |

## The vendor's description

An Access of Uninitialized Pointer vulnerability in the routing protocol daemon (rpd) of Juniper Networks Junos OS and Junos OS Evolved with BGP sharding configured allows an attacker triggering indirect next-hop updates, along with timing outside the attacker's control, to cause rpd to crash and restart, leading to a Denial of Service (DoS).

With BGP sharding enabled, triggering route resolution of an indirect next-hop (e.g., an IGP route change over which a BGP route gets resolved), may cause rpd to crash and restart. An attacker causing continuous IGP route churn, resulting in repeated route re-resolution, will increase the likelihood of triggering this issue, leading to a potentially extended DoS condition.

This issue affects:

Junos OS:



  *  all versions before 21.4R3-S6, 
  *  from 22.1 before 22.1R3-S6, 
  *  from 22.2 before 22.2R3-S3, 
  *  from 22.3 before 22.3R3-S3, 
  *  from 22.4 before 22.4R3, 
  *  from 23.2 before 23.2R2; 




Junos OS Evolved: 



  *  all versions before 22.3R3-S3-EVO, 
  *  from 22.4 before 22.4R3-EVO, 
  *  from 23.2 before 23.2R2-EVO.




Versions before Junos OS 21.3R1 and Junos OS Evolved 21.3R1-EVO are unaffected by this issue.

## Workarounds

Temporarily disabling BGP sharding will mitigate this issue.

## Sources

- [Juniper Networks advisory](https://supportportal.juniper.net/JSA103151)

---

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.
