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-30647 Overview
CVE-2025-30647 is a memory leak vulnerability [CWE-401] in the Packet Forwarding Engine (PFE) of Juniper Networks Junos OS running on MX Series routers. An unauthenticated adjacent attacker can trigger the flaw through subscriber management login and logout activity. Each session cycle leaks a small amount of memory, which accumulates until the PFE exhausts available resources and crashes. The resulting outage disrupts packet forwarding on affected line cards and causes a Denial-of-Service (DoS) condition on carrier-grade routing infrastructure.
Critical Impact
Repeated subscriber login/logout activity on MX Series routers gradually exhausts PFE memory, leading to a line card crash and loss of forwarding capability for connected subscribers.
Affected Products
- Juniper Junos OS on MX Series (MX204, MX240, MX304, MX480, MX960)
- Juniper Junos OS on MX Series (MX10004, MX10008)
- Juniper Junos OS on MX Series (MX2008, MX2010, MX2020)
Discovery Timeline
- 2025-04-09 - CVE-2025-30647 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-30647
Vulnerability Analysis
The vulnerability resides in the Packet Forwarding Engine (PFE), the component of Junos OS responsible for hardware-accelerated packet processing on MX Series line cards. The flaw is categorized as a Missing Release of Memory after Effective Lifetime, meaning the PFE allocates memory structures tied to subscriber sessions but fails to free them when sessions terminate.
In deployments running broadcast network gateway (BNG) subscriber management, each login and logout event allocates per-subscriber state in the PFE. The unreleased memory accumulates over time. Operators can observe the leak using show chassis fpc, where the Heap utilization column grows steadily without recovering.
Once heap exhaustion occurs, the FPC (Flexible PIC Concentrator) crashes and restarts, interrupting traffic forwarding for all subscribers served by that line card.
Root Cause
The root cause is improper lifecycle management of memory objects within the PFE subscriber management path. Session teardown routines do not invoke the required free operation on allocated structures, leaving orphaned allocations that persist until the FPC runs out of heap memory.
Attack Vector
The vulnerability requires adjacent network access and no authentication. An attacker on the same broadcast or routed segment as the subscriber-facing interface can repeatedly initiate and terminate subscriber sessions to accelerate the leak. In production environments, legitimate subscriber churn can also trigger the condition without malicious intent, depending on the deployment scale.
No public proof-of-concept exploit is available for CVE-2025-30647, and the issue is not listed in the CISA Known Exploited Vulnerabilities catalog.
See the Juniper Security Advisory JSA96457 for vendor-provided technical details.
Detection Methods for CVE-2025-30647
Indicators of Compromise
- Steadily increasing Heap utilization reported by show chassis fpc on MX Series routers without corresponding growth in subscriber count
- FPC restart events in system logs correlated with memory exhaustion messages from the PFE
- Repeated PPPoE, DHCP, or L2TP subscriber login/logout sequences from the same adjacent source
Detection Strategies
- Baseline PFE heap usage per FPC slot and alert on sustained upward trends that do not correlate with subscriber session growth
- Correlate subscriber session churn metrics with memory utilization to identify abnormal login/logout patterns
- Monitor syslog for FPC crash, memory allocation failure, and PFE restart messages indicative of resource exhaustion
Monitoring Recommendations
- Ingest Junos SNMP and syslog telemetry into a centralized logging platform for trend analysis across chassis
- Configure threshold-based alerts on FPC heap utilization exceeding operational baselines
- Track subscriber management AAA logs for anomalous session-establishment rates from adjacent segments
How to Mitigate CVE-2025-30647
Immediate Actions Required
- Inventory all MX Series routers and identify Junos OS versions exposed to CVE-2025-30647
- Schedule maintenance windows to upgrade affected FPCs to fixed Junos OS releases
- Restrict subscriber-facing interfaces to trusted broadcast domains and apply rate limits on session establishment where feasible
Patch Information
Juniper has released fixed versions of Junos OS. Upgrade to one of the following releases or later: 21.2R3-S9, 21.4R3-S10, 22.2R3-S6, 22.4R3-S5, 23.2R2-S3, 23.4R2-S3, or 24.2R2. Refer to Juniper Security Advisory JSA96457 for the complete fixed-version matrix and upgrade guidance.
Workarounds
- No vendor-supplied workaround eliminates the leak; proactive FPC restarts during maintenance windows can temporarily reclaim heap memory
- Limit exposure by segregating subscriber management interfaces and controlling which adjacent devices can initiate sessions
- Monitor PFE heap trends and preemptively restart affected FPCs before memory exhaustion causes an unplanned outage
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

