Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-30653 Overview
CVE-2025-30653 is an Expired Pointer Dereference vulnerability [CWE-825] in the Routing Protocol Daemon (rpd) of Juniper Networks Junos OS and Junos OS Evolved. An unauthenticated, adjacent network attacker can trigger a Denial of Service (DoS) condition by causing a specifically configured MPLS Label-Switched Path (LSP) to flap. The flaw manifests when an LSP is configured with both node-link-protection and transport-class. When the LSP transitions state, rpd crashes and restarts. Continuous flapping sustains the DoS condition and disrupts routing on the affected device.
Critical Impact
Sustained rpd crashes disable routing protocol processing on affected Juniper devices, breaking MPLS forwarding and causing network-wide service disruption.
Affected Products
- Juniper Junos OS: all versions before 22.2R3-S4, 22.4 before 22.4R3-S2, 23.2 before 23.2R2, and 23.4 before 23.4R2
- Juniper Junos OS Evolved: all versions before 22.2R3-S4-EVO, 22.4-EVO before 22.4R3-S2-EVO, 23.2-EVO before 23.2R2-EVO, and 23.4-EVO before 23.4R2-EVO
- Platforms with MPLS LSPs configured using node-link-protection and transport-class
Discovery Timeline
- 2025-04-09 - CVE-2025-30653 published to NVD by Juniper Networks
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-30653
Vulnerability Analysis
The vulnerability resides in the Routing Protocol Daemon (rpd), the core user-space process on Junos that handles routing protocols including MPLS, OSPF, BGP, and RSVP-TE signaling. When an operator configures an MPLS LSP with node-link-protection combined with transport-class, rpd maintains internal state that references protection-path objects and transport-class bindings.
When the LSP flaps, rpd accesses a pointer to an object whose lifetime has already ended. This expired pointer dereference causes the daemon to crash. Junos automatically restarts rpd, but repeated LSP flaps re-trigger the crash loop. The result is a sustained DoS impacting all routing protocols that depend on rpd.
Root Cause
The root cause is classified under CWE-825 (Expired Pointer Dereference). The daemon releases a protection-path or transport-class data structure during LSP teardown without correctly invalidating or reference-counting the pointers that still reference it. The subsequent re-signaling or protection switch dereferences the freed memory, producing an unrecoverable fault in rpd.
Attack Vector
Exploitation requires adjacent-network positioning. An attacker in the routing adjacency, or an upstream event that causes repeated link state changes, is sufficient to trigger the condition. No authentication or user interaction is required. The attacker does not need to send crafted packets; naturally occurring or induced link flaps on an LSP configured with the vulnerable options are enough. Only availability is impacted — confidentiality and integrity are not affected.
No public proof-of-concept or verified exploit code is available. See the Juniper Security Advisory JSA96463 for vendor technical detail.
Detection Methods for CVE-2025-30653
Indicators of Compromise
- Repeated rpd crash and restart events logged in /var/log/messages or chassisd logs, often accompanied by core files under /var/crash/.
- Frequent MPLS LSP state transitions visible via show mpls lsp extensive on LSPs configured with node-link-protection and transport-class.
- Loss of BGP, OSPF, or IS-IS adjacencies coincident with rpd restart timestamps.
Detection Strategies
- Audit Junos configurations for the specific combination of protection node-link-protection and transport-class within protocols mpls label-switched-path stanzas.
- Monitor syslog for RPD_START, RPD_SCHED_SLIP, and rpd core events to identify crash loops caused by LSP flaps.
- Correlate interface flap counters with rpd restart events to isolate the vulnerable code path from unrelated routing instability.
Monitoring Recommendations
- Forward Junos syslog and SNMP traps to a centralized SIEM and alert on recurring rpd restarts within short time windows.
- Track MPLS LSP flap counts per device with streaming telemetry (JTI/gNMI) to surface degraded transport-class LSPs before they produce sustained outages.
- Baseline rpd memory and CPU utilization so anomalous restart cycles are detected quickly by network operations teams.
How to Mitigate CVE-2025-30653
Immediate Actions Required
- Identify every Junos OS and Junos OS Evolved device running an affected release and inventory LSPs that combine node-link-protection with transport-class.
- Schedule upgrade to a fixed Junos release: 22.2R3-S4, 22.4R3-S2, 23.2R2, 23.4R2, or later, and the equivalent -EVO builds for Junos OS Evolved.
- Where immediate patching is not possible, remove the offending configuration combination on affected LSPs until the upgrade is deployed.
Patch Information
Juniper has released fixed software addressing CVE-2025-30653. Upgrade Junos OS to 22.2R3-S4, 22.4R3-S2, 23.2R2, 23.4R2, or later. Upgrade Junos OS Evolved to 22.2R3-S4-EVO, 22.4R3-S2-EVO, 23.2R2-EVO, 23.4R2-EVO, or later. Refer to Juniper Security Advisory JSA96463 for complete fixed-release information and SIRT guidance.
Workarounds
- Disable node-link-protection on MPLS LSPs that also reference a transport-class until the device is upgraded to a fixed release.
- Remove or reconfigure transport-class bindings on protected LSPs to eliminate the vulnerable code path.
- Stabilize underlying links to reduce LSP flaps, which lowers the probability of triggering the rpd crash while patching is scheduled.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

