CVE-2025-21602 Junos OS and Junos OS Evolved: Receipt of specially crafted BGP update packet causes RPD crash

High 7.1 Published Updated

An unauthenticated adjacent attacker can crash the routing daemon by sending a crafted BGP update packet, causing a denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-21602?

CVE-2025-21602 is a high-severity denial of service vulnerability in Juniper Junos, published on 9 Jan 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An Improper Handling of Exceptional Conditions vulnerability in the routing protocol daemon (rpd) of Juniper Networks Junos OS and Junos OS Evolved allows an unauthenticated adjacent attacker sending a specific BGP update packet to cause rpd to crash and restart, resulting in a Denial of Service (DoS).

Continuous receipt and processing of this packet will create a sustained Denial of Service (DoS) condition.

This issue affects iBGP and eBGP, and both IPv4 and IPv6 are affected by this vulnerability.

This issue affects Junos OS: 

* from 21.4 before 21.4R3-S9,  * from 22.2 before 22.2R3-S5,  * from 22.3 before 22.3R3-S4, * from 22.4 before 22.4R3-S5,  * from 23.2 before 23.2R2-S3,  * from 23.4 before 23.4R2-S3,  * from 24.2 before 24.2R1-S2, 24.2R2; 

This issue does not affect versions prior to 21.1R1.

Junos OS Evolved: 

* from 21.4 before 21.4R3-S9-EVO,  * from 22.2 before 22.2R3-S5-EVO,  * from 22.3 before 22.3R3-S4-EVO, * from 22.4 before 22.4R3-S5-EVO,  * from 23.2 before 23.2R2-S3-EVO,  * from 23.4 before 23.4R2-S3-EVO,  * from 24.2 before 24.2R1-S2-EVO, 24.2R2-EVO.

This issue does not affect versions prior to 21.1R1-EVO

Weakness: CWE-755

Which versions are affected by CVE-2025-21602?

It affects 2 products.

Products include Juniper Junos, Juniper Junos Os Evolved.

How do I fix CVE-2025-21602?

No fix has been published for CVE-2025-21602 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2025-21602 being exploited?

There is no known exploitation of CVE-2025-21602 in the wild and no public exploit code.

All Juniper Junos vulnerabilities

Sources

Also known as GHSA-v85m-7mw4-4363.

Is CVE-2025-21602 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free