# CVE-2025-21597: Junos OS and Junos OS Evolved: When BGP rib-sharding and update-threading are configured and a peer flaps, an rpd core is observed

- Priority: **Routine**
- Reason: Not severe (CVSS 6, adjacent network); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-04-09 · Modified: 2025-04-10
- Record: https://cvemate.com/vulnerability/CVE-2025-21597 · JSON: https://cvemate.com/vulnerability/CVE-2025-21597/json

## Description

```text
An Improper Check for Unusual or Exceptional Conditions vulnerability in routing protocol daemon (rpd) of Juniper Networks Junos OS and Junos OS Evolved allows an unauthenticated, logically adjacent BGP peer to cause Denial of Service (DoS).

On all Junos OS and Junos OS Evolved platforms, when BGP rib-sharding and update-threading are configured, and a BGP peer flap is done with specific timing, rpd crashes and restarts. Continuous peer flapping at specific time intervals will result in a sustained Denial of Service (DoS) condition.

This issue affects eBGP and iBGP, in both IPv4 and IPv6 implementations.  This issue requires a remote attacker to have at least one established BGP session. The issue can occur with or without logical-systems enabled.

This issue affects:
Junos OS:



  *  All versions before 20.4R3-S8,
  *  21.2 versions before 21.2R3-S6,

  *  21.3 versions before 21.3R3-S5,
  *  21.4 versions before 21.4R3-S4,
  *  22.1 versions before 22.1R3-S3,
  *  22.2 versions before 22.2R3-S1,
  *  22.3 versions before 22.3R3,
  *  22.4 versions before 22.4R3.


Junos OS Evolved:



  *  All versions before 21.2R3-S6-EVO,
  *  21.3-EVO versions before 21.3R3-S5-EVO,
  *  21.4-EVO versions before 21.4R3-S4-EVO,
  *  22.1-EVO versions before 22.1R3-S3-EVO,
  *  22.2-EVO versions before :22.2R3-S1-EVO,
  *  22.3-EVO versions before 22.3R3-EVO,
  *  22.4-EVO versions before 22.4R3-EVO.
```

## Signals

- CVSS: 6 medium (v4.0, CVE.org) CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L/R:A
- EPSS: 0.252%, percentile 17.742%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- juniper networks junos os: \< 20.4R3-S8 \| ≥ 21.2, \< 21.2R3-S6 \| ≥ 21.3, \< 21.3R3-S5 \| ≥ 21.4, \< 21.4R3-S4 \| ≥ 22.1, \< 22.1R3-S3 \| ≥ 22.2, \< 22.2R3-S1 \| ≥ 22.3, \< 22.3R3 \| ≥ 22.4, \< 22.4R3
- juniper networks junos os evolved: \< 21.2R3-S6-EVO \| ≥ 21.3-EVO, \< 21.3R3-S5-EVO \| ≥ 21.4-EVO, \< 21.4R3-S4-EVO \| ≥ 22.1-EVO, \< 22.1R3-S3-EVO \| ≥ 22.2-EVO, \< 22.2R3-S1-EVO \| ≥ 22.3-EVO, \< 22.3R3-EVO \| ≥ 22.4-EVO, \< 22.4R3-EVO
- juniper junos: \< 20.4 \| 20.4 \| 20.4:r1 \| 20.4:r1-s1 \| 20.4:r2 \| 20.4:r2-s1 \| 20.4:r2-s2 \| 20.4:r3 \| 20.4:r3-s1 \| 20.4:r3-s2 \| 20.4:r3-s3 \| 20.4:r3-s4 \| 20.4:r3-s5 \| 20.4:r3-s6 \| 20.4:r3-s7 \| 21.2 \| 21.2:r1 \| 21.2:r1-s1 \| 21.2:r1-s2 \| 21.2:r2 \| 21.2:r2-s1 \| 21.2:r2-s2 \| 21.2:r3 \| 21.2:r3-s1 \| 21.2:r3-s2 \| 21.2:r3-s3 \| 21.2:r3-s4 \| 21.2:r3-s5 \| 21.3 \| 21.3:r1 \| 21.3:r1-s1 \| 21.3:r1-s2 \| 21.3:r2 \| 21.3:r2-s1 \| 21.3:r2-s2 \| 21.3:r3 \| 21.3:r3-s1 \| 21.3:r3-s2 \| 21.3:r3-s3 \| 21.3:r3-s4 \| 21.4 \| 21.4:r1 \| 21.4:r1-s1 \| 21.4:r1-s2 \| 21.4:r2 \| 21.4:r2-s1 \| 21.4:r2-s2 \| 21.4:r3 \| 21.4:r3-s1 \| 21.4:r3-s2 \| 21.4:r3-s3 \| 22.1 \| 22.1:r1 \| 22.1:r1-s1 \| 22.1:r1-s2 \| 22.1:r2 \| 22.1:r2-s1 \| 22.1:r2-s2 \| 22.1:r3 \| 22.1:r3-s1 \| 22.1:r3-s2 \| 22.2 \| 22.2:r1 \| 22.2:r1-s1 \| 22.2:r1-s2 \| 22.2:r2 \| 22.2:r2-s1 \| 22.2:r2-s2 \| 22.2:r3 \| 22.3 \| 22.3:r1 \| 22.3:r1-s1 \| 22.3:r1-s2 \| 22.3:r2 \| 22.3:r2-s1 \| 22.3:r2-s2 \| 22.4 \| 22.4:r1 \| 22.4:r1-s1 \| 22.4:r1-s2 \| 22.4:r2 \| 22.4:r2-s1 \| 22.4:r2-s2
- juniper junos\_os\_evolved: \< 21.2 \| 21.2 \| 21.2:r1 \| 21.2:r1-s1 \| 21.2:r1-s2 \| 21.2:r2 \| 21.2:r2-s1 \| 21.2:r2-s2 \| 21.2:r3 \| 21.2:r3-s1 \| 21.2:r3-s2 \| 21.2:r3-s3 \| 21.2:r3-s4 \| 21.2:r3-s5 \| 21.3 \| 21.3:r1 \| 21.3:r1-s1 \| 21.3:r2 \| 21.3:r2-s1 \| 21.3:r2-s2 \| 21.3:r3 \| 21.3:r3-s1 \| 21.3:r3-s2 \| 21.3:r3-s3 \| 21.3:r3-s4 \| 21.4 \| 21.4:r1 \| 21.4:r1-s1 \| 21.4:r1-s2 \| 21.4:r2 \| 21.4:r2-s1 \| 21.4:r2-s2 \| 21.4:r3 \| 21.4:r3-s1 \| 21.4:r3-s2 \| 21.4:r3-s3 \| 22.1 \| 22.1:r1 \| 22.1:r1-s1 \| 22.1:r1-s2 \| 22.1:r2 \| 22.1:r2-s1 \| 22.1:r3 \| 22.1:r3-s1 \| 22.1:r3-s2 \| 22.2 \| 22.2:r1 \| 22.2:r1-s1 \| 22.2:r1-s2 \| 22.2:r2 \| 22.2:r2-s1 \| 22.2:r2-s2 \| 22.2:r3 \| 22.3 \| 22.3:r1 \| 22.3:r1-s1 \| 22.3:r1-s2 \| 22.3:r2 \| 22.3:r2-s1 \| 22.3:r2-s2 \| 22.4 \| 22.4:r1 \| 22.4:r1-s1 \| 22.4:r1-s2 \| 22.4:r2 \| 22.4:r2-s1 \| 22.4:r2-s2

## References

- <https://kb.juniper.net/JSA96451>

---

Data as of 2026-12-05T04:59:10.383Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
